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.
You need two NICs on your gateway and run NAT. One for your ISP connection and one for your internal LAN. 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
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."
On Sunday 22 June 2003 07:14, 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.
Is there a hub or switch in your network? Is the cable a 'crossover' or straight cable? From what you say below, computer 1 is the gateway for computer 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.
-- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg
On Sun, 2003-06-22 at 08:14, Constant Brouerius van Nidek wrote:
Yast2, Routing configuration: Default gateway) 192.168.0.1
Is this on the machine whose IP is 192.168.0.1? If so, this is wrong. The default gateway will be set when you dial up.
Checkbox Enable IP forwarding checked. else no other input.
You also need to set up masquerading in the firewall configuration, and set the firewall to run when you dial up.
Is it right that computer 1 is a server and computer 2 client?
The usage of those words is very muddled. No computer is (technically) a server or a client, those words refer to the programs running on them. sendmail is a server, kmail is a client. mysql is a server, knoda is a client. apache is a server, mozilla is a client, etc etc etc computer 1 in your scenario is (or should be) a router (among other things)
What and who is the gateway?
For computer 2, computer 1 is the gateway. For computer 1, a machine at your ISP is the gateway. A gateway is the machine that acts as a link between two networks, a default gateway is a machine that takes care of all packets that no other gateway wants to know about
participants (5)
-
Anders Johansson
-
Bruce E. Harris
-
Bruce Marshall
-
Constant Brouerius van Nidek
-
Dylan