Hello to all I 'm trying to set a home Network where I have my SuSE box connected to the Internt via a Dial-up connection but I would like to set up my other Linux box to use the same connection to get online for ftp,telnet,www etc... but i can't ping any address on the Internet I did read the Ip-fowarding How-to and Isill cant get it to work... I can only ping my SuSE box with my other linux box.... my route table look like this when connected to the Internet... Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface tnt1.dial.mtl1. * 255.255.255.255 UH 0 0 0 ppp0 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo default tnt1.dial.mtl1. 0.0.0.0 UG 0 0 0 ppp0 Any help will be nice since I need to Updante my other Linux box via ftp... Thanks ===== \\|// - ? (o o) /======================oOOO=(_)OOo=====================\ email : ephlodur@rocketmail.com Inertia is a property of matter, the MindBender never rest... __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
It's hard to tell from what you have here what might be the problem. When you're connected, can you do a "netstat -rn" on both boxes and post the results? That would help. MindBender said:
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
MindBender said:
I'm attempting to setup a masq box and here's my progress. Hopefully you can use some of this info to debug your setup. Keep in mind that I'm new to networking so I probably, actually I KNOW, I have some things wrong so use w/care! ------------------------------- Here's some files I edited: /etc/networks IP Address netmask broadcast Address 127.0.0.0 255.0.0.0 127.0.0.255 192.168.100.0 255.255.255.0 192.168.100.255 /etc/resolv.conf This file is automatically created by ISP's dhcp. I had to activate DHCLIENT first. When you connect to ISP (via ppp) the ISP will write their nameserver addresses here and this is what is used for name/ip resolution. /etc/hosts 127.0.0.1 localhost loopback 192.168.100.1 guardian #My linux masq box 192.168.100.2 win95 #My windows95 pc 192.168.100.3 winNTpc #pc01319 /etc/route.conf 192.168.100.0 0.0.0.0 255.255.255.0 eth0 192.168.100.0 0.0.0.0 255.255.255.0 ppp0 Tested ppp connection to ISP ------------------------------- I mainly connected to ISP (ppp via wvdial) and tested pinging out to both IP addresses and to hostnames. At first I couldn't ping host names but I fixed that by verifying my ISP's nameserver IP addresses were being written to /etc/resolv.conf I ran 'route' (I re-established my ppp connection first) DESTINATION GATEWAY GENMASK IFACE default myhost.mydomain 255.255.255.255 eth0 ISPhost.ISPdomain * 255.255.255.255 ppp0 mydomain * 255.255.255.0 eth0 loopback * 255.0.0.0 lo default ISPhost.ISPdomain 0.0.0.0 ppp0 default myhost.mydomain 0.0.0.0 eth0 Setup win95 pc networking ------------------------------- Gave the win95 pc a static IP address (192.168.100.2) Set the gateway address to (192.168.100.1) Checked win95 connection ------------------------------- I initiated a ppp connection from guardian and then tried ping, telnet, etc. from win95 pc. That worked ok! So I tried accessing www from IE. It said "website found" for all the IP addresses, hostnames I tried but just sat there. I think the ipchains (firewall rules) are not letting anything thru. This is what I am now working on. I also tried email (Outlook from win95pc) and I received my mail but sending mail didn't work. Hope some of this is helpful. Thanks! jrh -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
It's hard to tell from what you have here what might be the problem. When you're connected, can you do a "netstat -rn" on both boxes and post the results? That would help. MindBender said:
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
MindBender said:
I'm attempting to setup a masq box and here's my progress. Hopefully you can use some of this info to debug your setup. Keep in mind that I'm new to networking so I probably, actually I KNOW, I have some things wrong so use w/care! ------------------------------- Here's some files I edited: /etc/networks IP Address netmask broadcast Address 127.0.0.0 255.0.0.0 127.0.0.255 192.168.100.0 255.255.255.0 192.168.100.255 /etc/resolv.conf This file is automatically created by ISP's dhcp. I had to activate DHCLIENT first. When you connect to ISP (via ppp) the ISP will write their nameserver addresses here and this is what is used for name/ip resolution. /etc/hosts 127.0.0.1 localhost loopback 192.168.100.1 guardian #My linux masq box 192.168.100.2 win95 #My windows95 pc 192.168.100.3 winNTpc #pc01319 /etc/route.conf 192.168.100.0 0.0.0.0 255.255.255.0 eth0 192.168.100.0 0.0.0.0 255.255.255.0 ppp0 Tested ppp connection to ISP ------------------------------- I mainly connected to ISP (ppp via wvdial) and tested pinging out to both IP addresses and to hostnames. At first I couldn't ping host names but I fixed that by verifying my ISP's nameserver IP addresses were being written to /etc/resolv.conf I ran 'route' (I re-established my ppp connection first) DESTINATION GATEWAY GENMASK IFACE default myhost.mydomain 255.255.255.255 eth0 ISPhost.ISPdomain * 255.255.255.255 ppp0 mydomain * 255.255.255.0 eth0 loopback * 255.0.0.0 lo default ISPhost.ISPdomain 0.0.0.0 ppp0 default myhost.mydomain 0.0.0.0 eth0 Setup win95 pc networking ------------------------------- Gave the win95 pc a static IP address (192.168.100.2) Set the gateway address to (192.168.100.1) Checked win95 connection ------------------------------- I initiated a ppp connection from guardian and then tried ping, telnet, etc. from win95 pc. That worked ok! So I tried accessing www from IE. It said "website found" for all the IP addresses, hostnames I tried but just sat there. I think the ipchains (firewall rules) are not letting anything thru. This is what I am now working on. I also tried email (Outlook from win95pc) and I received my mail but sending mail didn't work. Hope some of this is helpful. Thanks! jrh -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
ephlodur@rocketmail.com
-
jhoepner@tvsw.org
-
jmgrant@primenet.com