Hi there, I have a problem to setup a gateway at home. On the gateway machine, the 2 network cards (192.168.0.1 for the LAN and 192.168.2.22 for the Internet connection) are properly configured. I can ping them both and surf the web. On the client machine, the network card is also properly configured. I can ping the gateway and the gateway can ping the client. However, altough I specified the 192.168.0.1 for routing, I cannot access the web fron the client machine. I'm sure I just forgot the last step but I don't know what to do, as I'm no network expert. Any help with that would be greatly appreciated ;-> Thanks and cheers Xavier _____________________________________________________________________ GRAND JEU SMS : Pour gagner un NOKIA 7650, envoyez le mot IF au 61321 (prix d'un SMS + 0.35 euro). Un SMS vous dira si vous avez gagné. Règlement : http://www.ifrance.com/_reloc/sign.sms
How about this suggestion ? Configure the network cards in the gateway as 192.168.1.254 for the internet connection (I assume you are using DSL ??), and eth1 as 192.168.1.250 for the LAN. You then specify 192.168.1.250 as the default gateway. And disable SuSEfirewall2 and use www.shorewall.net Jon => -----Original Message----- => From: Xavier Sosnowska [mailto:xso@ifrance.com] => Sent: Friday, 3 January 2003 17:14 => To: suse-linux-e@suse.com => Subject: [SLE] problem to setup a gateway => => => Hi there, => => I have a problem to setup a gateway at home. => On the gateway machine, the 2 network cards (192.168.0.1 => for the LAN and => => 192.168.2.22 for the Internet connection) are properly => configured. I can => => ping them both and surf the web. => => On the client machine, the network card is also properly => configured. I can => ping the gateway and the gateway can ping the client. => => However, altough I specified the 192.168.0.1 for routing, I => cannot access => the web fron the client machine. I'm sure I just forgot the => last step but I => don't know what to do, as I'm no network expert. => => Any help with that would be greatly appreciated ;-> => => Thanks and cheers => => Xavier => => ____________________________________________________________ => _________ => GRAND JEU SMS : Pour gagner un NOKIA 7650, envoyez le mot => IF au 61321 (prix d'un SMS + 0.35 euro). Un SMS vous dira => si vous avez gagné. Règlement : => http://www.ifrance.com/_reloc/sign.sms => => => => -- => Check the => headers for your unsubscription address => For additional commands send e-mail to => suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Friday 03 January 2003 12:32 am, Jon Biddell wrote:
=> configured. I can => ping the gateway and the gateway can ping the client. => => However, altough I specified the 192.168.0.1 for routing, I => cannot access => the web fron the client machine. I'm sure I just forgot the => last step but I => don't know what to do, as I'm no network expert. => => Any help with that would be greatly appreciated ;->
Xavier, have you set up the DNS on your subnet hosts? Check it by going into Yast2, Basic Network setup, Networkaddress setup, and look at host name and name server. Under Nameservers and domain search list enter at least one DNS IP in Name server 1 and the host name in Domain search 1. Mine has 207.69.168.185 and earthlink.net in the respecitve places. If you dont know your ISP's DNS, you can use Any DNS server such as the earthlink ones, but it will probably be faster to use one near you. I'm not real sure about that as I;m simply using logic here. Few will tell you that you gotta set up a DNS on EACH of your subnet hosts. Then if you have the proper gateway set in the Routing configuration page of Yast2, and that is the ip of your Gateway machine's local net nic (in your example that will be 192.168.0.1), you should be able to ping the net from all your hosts. Also be sure the IP Forwarding/masquerading is enabled on the Gateway machine. If you use Shorewall, the two interface example will set that for you. Luck, Richard
participants (3)
-
Jon Biddell
-
Richard
-
Xavier Sosnowska