[Vserver] Re: host - guest network interface interaction oddity

From: Attila Csipa <plists_at_prometheus.org.yu>
Date: Fri 24 Mar 2006 - 10:18:23 GMT
Message-Id: <200603241118.23435.plists@prometheus.org.yu>

On Thursday 23 March 2006 18:26, vserver-request@list.linux-vserver.org wrote:
> > and from this point I no longer have eth0:0 on the host OR the default
> > route which was going through eth0. Any ideas why this is happening (and
> > where is the host digging up eth1/eth0:0 when the guest supposedly has
> > nothing to do with them) ?
>
> it is very likely that, for whatever reason
> the guest has the one and only primary IP assigned
> and bringing that down will take all secondaries
> with it ...

What I don't understand is how and why does the stopping of a vserver
influence a network interface of the host ? As the networking is (by default)
the responsibility of the host and the guest has no reconfiguration
capability I presumed it had no influence on it. The biggest problem is that
it brings down the default route with it, cutting off the host from machines
reachable through the gw.

> (read: I need more details about your config)
> helpful information would be:
>
> - the interfaces config
> - output of 'ip addr ls' on the host and guest

the interface file of the guest is empty, the host has:

auto lo
iface lo inet loopback

# This entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0 eth1
iface eth0 inet static
        address 94.152.112.53
        netmask 255.255.255.0
        gateway 94.152.112.1

iface eth1 inet static
        address 10.10.10.53
        netmask 255.255.255.0

The eth0:0 gets added in dynamically (as it is from a failover address pool on
the same subnet) - ifconfig eth0:0 94.152.112.55 up.

host

1: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:e0:81:27:c6:a6 brd ff:ff:ff:ff:ff:ff
    inet 94.152.112.53/24 brd 94.152.112.255 scope global eth0
    inet 94.152.112.55/24 brd 94.152.112.255 scope global secondary eth0:0
2: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:e0:81:27:c6:a7 brd ff:ff:ff:ff:ff:ff
    inet 10.10.10.53/8 brd 10.255.255.255 scope global eth1
3: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo

guest

1: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:e0:81:27:c6:a6 brd ff:ff:ff:ff:ff:ff
    inet 94.152.112.53/24 brd 94.152.112.255 scope global eth0

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Mar 24 10:19:17 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 24 Mar 2006 - 10:19:24 GMT by hypermail 2.1.8