On Thursday 19 August 2004 14:12, Jerry Feldman wrote:
On Thu, 19 Aug 2004 10:45:35 +0200
Martin Love
wrote: SuSe:/home/lovem # netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 81.83.48.0 0.0.0.0 255.255.248.0 U 0 0 0 eth1 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 81.83.48.1 0.0.0.0 UG 0 0 0 eth1
What this routing table is telling you: Traffic to destinations, 192.168.* and 169.254.* go through eth1, which is apparently your local LAN.
Traffic to 127.*.*.* is localhost.
Traffic to 81.83.48.* goes through eth1
All other traffic uses 81.83.48.1 (eth1) as a gateway. If eth1 is attached to your cable modem, then it will route all traffic other than the above subnets to the external network.
Hi Jerry, Sorry when I replied I some how cut off the original message. Here is it :- Hi I'm new to Linux and would really appreciate any help or direction. Here is the problem I'm having :- I have SuSe Pro 9.1 installed on a PC with 2 nic. One of the nics is built into the system board and the other is a 3Com 3C905B-TX. The Build in nic is attached to a cable modem supplied by Telenet (Belgium) and has DHCP enabed. The 3Com is connected to a second PC with a fixed IP address assigned. Eth0 3Com Fixed IP Address LAN Eth1 Built-in DHCP WAN (Cable Modem) When I boot the Linux PC I can't access the internet or email. I checked the config using "ifconfig" but it did not show the built in nic with DHCP enabled. I then ran YaST Control Center, Network Devices and disabled DHCP and then re-enabled DHCP on the built in nic. I then checked "ifconfig" again and this time everything seemed ok and when I tried to connect to the internet everything was working fine. So now everytime I reboot I have to disable and then re-enable the DHCP setting for the built in nic before I can use the internet or email. As I said I'm very new to Linux and I hope that the above make sense. You very kindly replied saying that you think I needed to update YaST2 and the routing tables so that the default route is eth1. I'm not sure on how to do this. Again, thanks for your help. Martin