I have just tried adding a second network card to my linux machine, and am having a few problems.
I am running all hamm software, although I think some modules have been updated since I installed it some weeks ago. The original card in the machine was a basic NE2000 clone. I have added a Racal Interlan NI6510ES. I have had both cards working individually in the system without problems. On boot up, both cards were recognised automatically, I did not need to change the con figuration. The Lance drivers see the Racal card some time before the ne drivers see the NE2000 clone, and they are given names eth0 and eth1 respectivly. Originally, with the NE2000 only in the system, this was eth0. I adjusted /etc/init.d/network manually to move the eth0 code to eth1, for the internal network, and added the code for eth0 for my internet link. I had to do this because only the NI6510 has the utp connection I need for the external link. Now, the internal network still works, on eth1, but I can't get any life out of the internet link. I know the link itself is OK, as it's currently in use from an NT machine that I anm trying to replace here. I'm just plugging it in when I want to test it. Pinging any external address, including same-subnet stuff, doesn't get any responses, and it seems from ifconfig that the packets are going out the wrong interface. I know it must be something simple I have done wrong, but I can't for the life of me see what. I'm sure it will be obvious to someone there.. Thanks Rob. blue# ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 RX packets:294 error:0 dropped:0 over:0 frame:0 TX packets:294 error:0 dropped:0 over:0 carrier:0 coll:0 eth0 Link encap:Ethernet HWaddr 02:07:01:16:2D:C1 inet addr:195.44.34.215 Bcast:195.44.34.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 error:0 dropped:0 over:0 frame:0 TX packets:5 error:8 dropped:0 over:0 carrier:8 coll:0 Interrupt:5 Base address:0x320 DMA chan:5 eth1 Link encap:Ethernet HWaddr 00:80:AD:10:C0:9C inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3530 error:0 dropped:0 over:0 frame:0 TX packets:865 error:0 dropped:0 over:0 carrier:0 coll:0 Interrupt:3 Base address:0x300 blue# cat /etc/init.d/network #! /bin/sh ifconfig lo 127.0.0.1 route add -net 127.0.0.0 IPADDR=195.44.34.215 NETMASK=255.255.255.0 NETWORK=195.44.34.0 BROADCAST=195.44.34.255 GATEWAY=195.44.34.1 ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} route add -net ${NETWORK} [ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1 IPADDR=192.168.0.5 NETMASK=255.255.255.0 NETWORK=192.168.0.0 BROADCAST=192.168.0.255 ifconfig eth1 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} route add -net ${NETWORK} blue# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 195.44.34.0 * 255.255.255.0 U 0 0 1 eth0 192.168.0.0 * 255.255.255.0 U 0 0 2 eth1 127.0.0.0 * 255.0.0.0 U 0 0 2 lo default 195.44.34.1 0.0.0.0 UG 1 0 1 eth0 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .