On Sunday 22 June 2003 12:50 pm, Bruce E. Harris wrote:
You need two NICs on your gateway and run NAT. One for your ISP connection and one for your internal LAN.
No he should not. He said he was dialup... so his external interface would be his modem and ppp. It would appear that his problem is that his gateway is wrong. It should not be 192.168.0.1 on his modem connect machine but it should point to the 'far end' of his ppp connection. And this would be set up by pppd or whatever. All of his other machines on his network, those connected only on his LAN would have 192.168.0.1 as a gateway... and then he needs to run a firewall, part of which would be masquerading of the machines on his local LAN. I run exactly the setup that he is trying to do.
My setup is like this. I have one host (a NAT/firewall) with two NICs, one connetct to my ISP and one(the gateway) to a switch with connections to my internal hosts. My intenal hosts use my firewalls internal IP as their gateway IP. My firewall is an old 133P desktop with 32MB of RAM running smoothwall firewall package, and it runs like a champ.
On Sunday 22 June 2003 2:14 am, Constant Brouerius van Nidek wrote:
Since days I am struggling to setup my simple network. I have read TFM. I have looked at the info and man pages but does not seem to get it right. I have two computers connected with a twisted cable. I am still running 8.1 but would like to get the basics right before I install 8.2.
Situation: ISP pop3 dialup 202.195.32.2 and 202.195.33.2 home net: name) constant.net. 192.168.0.0 computer 1. PII, name ) bigone, 192.168.0.1 computer 2. P100. name) p100. 192.168.0.2 Computer 2 should send emails and connect to the net via computer 1. On Computer 1 postfix and fetchmail are running and they seem to work.
Yast2: network address setup
eth0.) IP Address 192.168.0.1. Subnet mask) 255.255.255.0. Think above input is correct.
Yast2, Host name and name server setup Hostname) bigone, Domain name) constant.net Name server 1) 202.159.33.2 Name server 2) 202.195.32.2 Domain search 1) constant.net No check boxes are crossed here. Less sure if I am right here.
Yast2, Routing configuration: Default gateway) 192.168.0.1 Quite sure that this is not correct or? Checkbox Enable IP forwarding checked. else no other input. Is it right that computer 1 is a server and computer 2 client? What and who is the gateway? Is there some peace of information which describes in simple words my situation. The manuals and man and info pages always seem to think that the Yast2 setup is self understood and if they give samples it always differ from information source to information source.
-- Best Regards, Bruce
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety". Benjamin Franklin
-- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 06/22/03 13:32 + +----------------------------------------------------------------------------+ "Tag line thievery...Comin' up next on Geraldo."