Hi All
I have just spent the good part of a day trying to install a second ethernet card on my system. I tried searching several forums and read a how-to or three and have still not been able to find a solution to this one. I am surprised by the lack of information available on this issue (maybe I will write a quick how-to after I solve this one
OK here is the problem. I have a RH8 server which I set up and everything has been going fine for weeks until today. Our company wants to install ADSL so I went out and bought a second NIC. the card I bought was a D-Link DFE-530TX (this is the same model as the NIC already installed in the server). I inserted the new card, booted the computer and the new card is detected. It asks if I want to configure it? - I say yes. Do I want to tranfer existing configuration? - I say no. Do I want to enable networking? - I say Yes. I then configure the card using the new IP address, etc, etc.
I enter the system. I find that all the settings that I have just applied have been applied to eth0. I have to edit ifcfg-eth0 back to its original settings. There is no ifcfg-eth1 file present. If I run 'ifconfig -a' eth1 is there , hardware address is correct, etc, but IP address has not been assigned. So I use "ifconfig eth1 XXX.XXX.XXX.XXX netmask......". Run ifconfig again. everythings appears correct and both eth0 and eth1 are confirmed as running. Still no ifcfg-eth1 script though.
Time to try everything out. From another computer (not the server) I ping eth0's IP address and sure enough it works. I then ping eth1's IP address which also works...well sort off. I can ping eth1 using IP address only if eth 0 is connected to the network. If I pull the cable on eth0, then the pings no longer make it to eth1. Any explanations?
Finally I manually make ifcfg-eth1 by copying ifcfg-eth0 and then making the necessary changes to the file. I then 'ifup eth1'. I ping eth1's IP address which works fine. However, if I now ping eth0's ip address it will work but only if eth1 is connected to the network. This is the complete opposite of what was happening above.
I just can't work out what is going on here. I hope someone out there could shed some light on this mystery.
Regards,
Ben
Here is the ouput when I run 'ifconfig':
eth0 Link encap:Ethernet HWaddr 00:05:5D:A0:81:AB
inet addr:192.168.XXX.AAA Bcast:192.168.XXX.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:124 errors:0 dropped:0 overruns:0 frame:0
TX packets:178 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:13621 (13.3 Kb) TX bytes:21080 (20.5 Kb)
Interrupt:9 Base address:0xd800
eth1 Link encap:Ethernet HWaddr 00:05:5D:A0:85:9C
inet addr:192.168.XXX.BBB Bcast:192.168.XXX.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:151 errors:0 dropped:0 overruns:0 frame:0
TX packets:166 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:17876 (17.4 Kb) TX bytes:15596 (15.2 Kb)
Interrupt:5 Base address:0xd400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2774 (2.7 Kb) TX bytes:2774 (2.7 Kb)