[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Networking Q concerning /etc/network/interfaces

On Sat, Feb 11, 2012 at 2:13 PM, Harry Putnam <reader@newsguy.com> wrote:
> I'm getting confused by what I see in /etc/network/interfaces,
> compared to what I see with ifconfig -a.
> What I see in /etc/network/interfaces:
>  auto lo
>  iface lo inet loopback
>  allow-hotplug eth0
>  iface eth0 inet dhcp
> Does not match what I see with ifconfig -a
>    eth0  Link encap:Ethernet  HWaddr 00:40:f4:b5:29:41
>          inet addr:  Bcast:  Mask:
>          BROADCAST MULTICAST  MTU:1500  Metric:1
>    eth1  Link encap:Ethernet  HWaddr 00:11:09:ee:6c:04
>          inet addr:  Bcast:  Mask:
>          inet6 addr: fe80::211:9ff:feee:6c04/64 Scope:Link
> What shows as eth1 in ifconfig is the working IP (...42) of this host.
> Nothing is plugged into device seen as eth0 (...54).  That is,
> although there is a second network adapter, nothing is plugged into
> it, and all traffic comes and goes on [...]42.
> It can be seen in the output of netstat -r
>  Kernel IP routing table
>  Destination Gateway     Genmask         Flags   MSS Window  irtt Iface
>  default     fw.local.lan         UG        0 0          0 eth1
> *     U         0 0          0 eth1
> So it appears at a superficial reckoning that dhcp has assigned an
> address to eth0, but that address appears to be attached to eth1 in
> ifconfig and netstat output.
> What explains this apparent anomaly?

I can't explain why eth0 has an Ip address but it isn't "UP".

Is eth1 being brought up by Network Manager?

Reply to: