Okay, I have some problem with setting up 2 NIC now.
I have changed my mind about using Intel NIC, I am using two 3C905C NIC.
I am using 2.6.3 kernel.
when I lspci I get
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:09.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
00:0a.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)
00:0c.0 Unknown mass storage controller: CMD Technology Inc PCI0680 (rev 01)
00:0d.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 460] (rev a3)
which shows two NIC detected. But my problem is
the second nic eth1 hardware address is invalid
ifconfig -a returns:
dummy0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0 Link encap:Ethernet HWaddr 00:04:75:AD:6F:3E
inet addr:10.5.0.4 Bcast:10.5.0.255 Mask:255.255.255.0
inet6 addr: fe80::204:75ff:fead:6f3e/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29184 errors:0 dropped:0 overruns:2 frame:0
TX packets:1063 errors:0 dropped:0 overruns:0 carrier:0
collisions:37 txqueuelen:1000
RX bytes:8215818 (7.8 Mb) TX bytes:154883 (151.2 Kb)
Interrupt:9 Base address:0xcc00
eth1 Link encap:Ethernet HWaddr FF:FF:FF:FF:FF:FF
inet addr:77.7.7.1 Bcast:77.7.7.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:21420 frame:0
TX packets:85932 errors:0 dropped:0 overruns:0 carrier:64260
collisions:21420 txqueuelen:1000
RX bytes:88080300 (83.9 Mb) TX bytes:88080300 (83.9 Mb)
Interrupt:9 Base address:0xe800
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:134 errors:0 dropped:0 overruns:0 frame:0
TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7196 (7.0 Kb) TX bytes:7196 (7.0 Kb)
sit0 Link encap:UNSPEC HWaddr 00-00-00-00-31-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
A snipet of dmesg:
PCI: Found IRQ 9 for device 0000:00:09.0
PCI: Sharing IRQ 9 with 0000:00:0d.0
3c59x: Donald Becker and others.
www.scyld.com/network/vortex.html
0000:00:09.0: 3Com PCI 3c905C Tornado at 0xcc00. Vers LK1.1.19
PCI: Found IRQ 9 for device 0000:00:0d.0
PCI: Sharing IRQ 9 with 0000:00:09.0
0000:00:0d.0: 3Com PCI 3c905C Tornado at 0xe800. Vers LK1.1.19
***WARNING*** No MII transceivers found!
And it also complain of :
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
eth1: no IPv6 routers present
I know I turn on IPv6 module and there is no IPv6 implemented in the network. Add this in, incase it is the cause.
How can I make use of my second NIC in 2.6.* kernel. I have checked Ethernet-Howto and it says 2.6 automatically detect second or more NIC which has been done.