FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 11-26-2007, 10:33 AM
Bill
 
Default Networking - multiple nics not setting up

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:CC6: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




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-27-2007, 01:50 AM
Bill
 
Default Networking - multiple nics not setting up

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:CC6: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




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-27-2007, 10:10 PM
Nils Kassube
 
Default Networking - multiple nics not setting up

Bill wrote:
> The thing is there should be an eth1 interface set up.

In the file /etc/udev/rules.d/70-persistent-net.rules you can setup the
association of interface name an MAC address.

> 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.

The 169.254.0.0 network is the socalled link-local network. It is used for
automatic generation of IP addresses so clients can connect without DHCP.
See <http://en.wikipedia.org/wiki/Zeroconf> for a bit more information.
The Adresses of this network are not routed on the internet. Therefore it
usually doesn't hurt to have the virtual interface eth3:avah. If you
really want to get rid of it, uninstall package avahi-daemon (i think,
maybe other packages with avahi in the name).

BTW: I think it is a bit strange that all 3 interfaces are on the same
network and have the same gateway. I'm not sure if that could work.


Nils

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-28-2007, 11:53 AM
Bill
 
Default Networking - multiple nics not setting up

On Wed, 2007-28-11 at 00:10 +0100, Nils Kassube wrote:

> In the file /etc/udev/rules.d/70-persistent-net.rules you can setup the
> association of interface name an MAC address.

Yes. There was a rule with the address ff:ff:ff:ff:ff:ff
assigned to eth1 and the same mac assigned to eth3.
That was one problem. I just edited the file removing
eth3 and assigning the mac to eth1. I believe it was
set up originally and continued to be set up at boot.
It should have been deleted when that connection was.
Thanks for that.

> 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.

> The Adresses of this network are not routed on the internet. Therefore it
> usually doesn't hurt to have the virtual interface eth3:avah. If you
> really want to get rid of it, uninstall package avahi-daemon (i think,
> maybe other packages with avahi in the name).
> BTW: I think it is a bit strange that all 3 interfaces are on the same
> network and have the same gateway. I'm not sure if that could work.


Getting rid of avahi-daemon got rid of eth3:avah. I also removed
avahi-autoipd. The remaining packages are libraries and
uninstalling them will cause dependancy problems for dozens of
non-related packages. Strange. But then I usually don't
uninstall much.

I also unchecked Multi-cast DNS discovery daemon
(avahi-daemon) in System/Administration/Services

But route is still showing the 169.254.0.0 network as set up
now on eth0. Something else is hanging around to set this up.
route del -net 169.254.0.0 doesn't delete the network. It's
probably in the startup scripts somewhere.
Any idea where?

Many thanks for your help,

b.

BTW, three nics on the one switch is indeed redundant.
Eventually, three subnets. But first proper set up and
security.

b.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 11:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org