Networking - multiple nics not setting up
Bill
bill3 at uniserve.com
Mon Nov 26 11:33:06 UTC 2007
Hi folks,
I have a networking problem with a fresh install/upgrade of
feisty to gutsy.
The box in question has three nics but they aren't setting up
correctly. All are correctly connected to a switch and the
leds on the card are lit. I'm using static IPs and there is no
wireless connection either. There seems to be some sort of auto
configuration mechanism at work that is creating interfaces
I don't want/need and overriding the one I do want even
creating a fictitious network.
At first I could only get one card detected - the one I set
up manually - IP, netmask, GW, static address. The other cards
didn't even show up. Later I began playing with
/etc/network/interfaces and one of the cards kept being
assigned an incorrect FF:FF:FF:FF:FF:FF mac address while the
other seemed ok.
The thing is there should be an eth1 interface set up.
Instead I get two virtual interfaces eth3 and eth3:avah.
The basic information for eth3 is correct but I don't
want the eth3:avah interface or the 169.x.x.x network.
It's the first time I've seen it. Is it dhcp, wireless,
or IPv6? More importantly, how do I get rid of it. You
can see what I want from the /etc/network/interfaces file
below and the output from ifconfig -a and route -n.
All advice appreciated.
b.
=======================================
=======================================
cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.1
auto eth1
iface eth1 inet static
address 192.168.1.6
netmask 255.255.255.0
gateway 192.168.1.1
auto eth2
iface eth2 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
===================================================
===================================================
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:40:04:82:EA:65
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:4ff:fe82:ea66/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:142 errors:0 dropped:0 overruns:0 frame:0
TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17484 (17.0 KB) TX bytes:6310 (6.1 KB)
Interrupt:5 Base address:0xe000
eth2 Link encap:Ethernet HWaddr 00:A1:CC:D6:34:CF
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2a0:ccff:fed6:34ce/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:97 errors:1 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13988 (13.6 KB) TX bytes:5142 (5.0 KB)
Interrupt:11 Base address:0xe400
eth3 Link encap:Ethernet HWaddr 00:54:BA:51:5D:F5
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3602 (3.5 KB) TX bytes:9114 (8.9 KB)
Interrupt:9 Base address:0x2000
eth3:avah Link encap:Ethernet HWaddr 00:54:BA:51:5D:F5
inet addr:169.254.8.220 Bcast:169.254.255.25 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0x2000
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: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)
===========================================================
===========================================================
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
eth2
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth3
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0
eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0
eth2
0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0
eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 1000 0 0
eth3
More information about the ubuntu-users
mailing list