Multiple Network Cards

Jonathan Allen jonathan at barumtrading.co.uk
Tue Oct 26 16:28:26 UTC 2004


All,

I have started a new thread for this part of my problem, the bridging part
having been solved - thanks, Paul !

To restate:

   eth0 - NC100 Network Everywhere Fast Ethernet 10/100 - PCI Card
          Manf: Linksys, Driver tulip
   eth1 - NC100 Network Everywhere Fast Ethernet 10/100 - PCI Card
          Manf: Linksys, Driver tulip
   eth2 - NC100 Network Everywhere Fast Ethernet 10/100 - PCI Card
          Manf: Linksys, Driver tulip
   eth3 - 3c940 10/100/1000Base-T [Marvell] - Motherboard
          Manf: 3Com, Driver sk98lin

All appear in the Hardware Browser; all appear in the Network Configuration
tool.  Giving all the cards unique IPs, and activating them, ifconfig
reports:

   eth0      Link encap:Ethernet  HWaddr 00:50:22:20:2F:67  
             inet addr:192.168.1.64  Bcast:192.168.1.255  Mask:255.255.255.0
             inet6 addr: fe80::250:22ff:fe20:2f67/64 Scope:Link
             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
             RX packets:24044 errors:0 dropped:0 overruns:0 frame:0
             TX packets:0 errors:208 dropped:0 overruns:0 carrier:413
             collisions:0 txqueuelen:1000 
             RX bytes:19426437 (18.5 Mb)  TX bytes:0 (0.0 b)
             Interrupt:11 Base address:0x8c00 
   
   eth1      Link encap:Ethernet  HWaddr 00:50:22:20:22:03  
             inet addr:192.168.1.74  Bcast:192.168.1.255  Mask:255.255.255.0
             inet6 addr: fe80::250:22ff:fe20:2203/64 Scope:Link
             UP BROADCAST MULTICAST  MTU:1500  Metric:1
             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
             TX packets:0 errors:27 dropped:0 overruns:0 carrier:54
             collisions:0 txqueuelen:1000 
             RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
             Interrupt:10 Base address:0xa000 
   
   eth2      Link encap:Ethernet  HWaddr 00:50:22:28:04:59  
             inet addr:192.168.1.84  Bcast:192.168.1.255  Mask:255.255.255.0
             inet6 addr: fe80::250:22ff:fe28:459/64 Scope:Link
             UP BROADCAST MULTICAST  MTU:1500  Metric:1
             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
             TX packets:0 errors:27 dropped:0 overruns:0 carrier:54
             collisions:0 txqueuelen:1000 
             RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
             Interrupt:5 Base address:0xfc00 
   
   eth3      Link encap:Ethernet  HWaddr 00:0E:A6:1A:B3:99  
             inet addr:192.168.1.94  Bcast:192.168.1.255  Mask:255.255.255.0
             inet6 addr: fe80::20e:a6ff:fe1a:b399/64 Scope:Link
             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
             RX packets:22898 errors:0 dropped:0 overruns:0 frame:0
             TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:1000 
             RX bytes:18526297 (17.6 Mb)  TX bytes:624 (624.0 b)
             Interrupt:5 Memory:feafc000-0 
   
   lo        Link encap:Local Loopback  
             inet addr:127.0.0.1  Mask:255.0.0.0
             inet6 addr: ::1/128 Scope:Host
             UP LOOPBACK RUNNING  MTU:16436  Metric:1
             RX packets:2001 errors:0 dropped:0 overruns:0 frame:0
             TX packets:2001 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:0 
             RX bytes:1982257 (1.8 Mb)  TX bytes:1982257 (1.8 Mb)
   
/etc/modprobe.conf contains:

   alias tulip eth0
   alias tulip eth1
   alias tulip eth2
   alias sk98lin eth3

Doing a 'service network restart' says:

   Shutting down interface eth0:              [  OK  ]
   Shutting down interface eth1:              [  OK  ]
   Shutting down interface eth2:              [  OK  ]
   Shutting down interface eth3:              [  OK  ]
   Shutting down loopback interface:          [  OK  ]
   Setting network parameters:                [  OK  ]
   Bringing up loopback interface:            [  OK  ]
   Bringing up interface eth0:                [  OK  ]
   Bringing up interface eth3:                [  OK  ]

and then ifconfig reports:

   eth0      Link encap:Ethernet  HWaddr 00:50:22:20:2F:67  
             inet addr:192.168.1.64  Bcast:192.168.1.255  Mask:255.255.255.0
             inet6 addr: fe80::250:22ff:fe20:2f67/64 Scope:Link
             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
             RX packets:24106 errors:0 dropped:0 overruns:0 frame:0
             TX packets:0 errors:240 dropped:0 overruns:0 carrier:473
             collisions:0 txqueuelen:1000 
             RX bytes:19433184 (18.5 Mb)  TX bytes:0 (0.0 b)
             Interrupt:11 Base address:0x8c00 
   
   eth3      Link encap:Ethernet  HWaddr 00:0E:A6:1A:B3:99  
             inet addr:192.168.1.94  Bcast:192.168.1.255  Mask:255.255.255.0
             inet6 addr: fe80::20e:a6ff:fe1a:b399/64 Scope:Link
             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
             RX packets:22938 errors:0 dropped:0 overruns:0 frame:0
             TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:1000 
             RX bytes:18531501 (17.6 Mb)  TX bytes:624 (624.0 b)
             Interrupt:5 Memory:feafc000-0 
   
   lo        Link encap:Local Loopback  
             inet addr:127.0.0.1  Mask:255.0.0.0
             inet6 addr: ::1/128 Scope:Host
             UP LOOPBACK RUNNING  MTU:16436  Metric:1
             RX packets:2001 errors:0 dropped:0 overruns:0 frame:0
             TX packets:2001 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:0 
             RX bytes:1982257 (1.8 Mb)  TX bytes:1982257 (1.8 Mb)

/var/spool/messages for the 'service network restart' said:

   Oct 26 17:23:33 turner network: Shutting down interface eth0:  succeeded
   Oct 26 17:23:33 turner network: Shutting down interface eth1:  succeeded
   Oct 26 17:23:33 turner network: Shutting down interface eth2:  succeeded
   Oct 26 17:23:33 turner kernel: eth3: network connection down
   Oct 26 17:23:33 turner network: Shutting down interface eth3:  succeeded
   Oct 26 17:23:33 turner network: Shutting down loopback interface:  succeeded
   Oct 26 17:23:33 turner sysctl: net.ipv4.ip_forward = 0
   Oct 26 17:23:33 turner sysctl: net.ipv4.conf.default.rp_filter = 1
   Oct 26 17:23:33 turner sysctl: kernel.sysrq = 0
   Oct 26 17:23:33 turner sysctl: kernel.core_uses_pid = 1
   Oct 26 17:23:33 turner network: Setting network parameters:  succeeded
   Oct 26 17:23:33 turner kernel: ip_tables: (C) 2000-2002 Netfilter core team
   Oct 26 17:23:33 turner kernel: Disabled Privacy Extensions on device 0235c2a0(lo)
   Oct 26 17:23:34 turner network: Bringing up loopback interface:  succeeded
   Oct 26 17:23:34 turner kernel: ip_tables: (C) 2000-2002 Netfilter core team
   Oct 26 17:23:36 turner network: Bringing up interface eth0:  succeeded
   Oct 26 17:23:36 turner kernel: ip_tables: (C) 2000-2002 Netfilter core team
   Oct 26 17:23:37 turner kernel: eth0: Setting half-duplex based on MII#1 link partner capability of 0021.
   Oct 26 17:23:38 turner network: Bringing up interface eth3:  succeeded
   Oct 26 17:23:38 turner kernel: eth3: network connection up using port A
   Oct 26 17:23:38 turner kernel:     speed:           10
   Oct 26 17:23:38 turner kernel:     autonegotiation: yes
   Oct 26 17:23:38 turner kernel:     duplex mode:     half
   Oct 26 17:23:38 turner kernel:     flowctrl:        none
   Oct 26 17:23:38 turner kernel:     irq moderation:  disabled
   Oct 26 17:23:38 turner kernel:     scatter-gather:  enabled

Any ideas why eth1 and eth2 don't come back up after a 'service network restart'
or what I can do to get them into operation ?

Jonathan




More information about the users mailing list