Hi Jerry, Thanks for your help. I'm sorry but I'm a real novice at Linux and I'm not sure how and what I should put in the Routing section of YaST2. Here is a copy of what "netstat -nr" showed after I got the internet etc working. 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 Again any help very much appreciated. Thanks in advance for your help. Martin On Wednesday 18 August 2004 17:29, Jerry Feldman wrote:
On Wed, 18 Aug 2004 11:21:31 +0200
Martin Love
wrote: 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.
The issue is a routing issue. Your routing table probably has the default route going to eth0. From the command line, run the netstat command: netstat -nr
By reenabling DHCP, the routing table is reset. You can go into YaST2, and set up the routing such that the default route always goes to eth1 since eth0 is strictly the LAN.
-------------------------------------------------------