[vserver] adding guest interface: isn't it hotplug?

From: Marc Chantreux <marc.chantreux_at_biblibre.com>
Date: Thu 26 Nov 2009 - 20:37:40 GMT
Message-ID: <20091126203739.GB29482@auckland.lan>

hello,

i follow this tutorial:

http://linux-vserver.org/Networking_vserver_guests

there is nothing written about the guest so i hope it's hotplug and i don't
need to reboot. unfortunatly: i see no new interface in foo. do i have to
reboot foo?

on the host machine, i can see:

> ip link show dummy0
4: dummy0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether da:af:48:aa:25:95 brd ff:ff:ff:ff:ff:ff
> sysctl net/ipv4/ip_forward
net.ipv4.ip_forward = 1
> iptables-save | grep SNAT
-A POSTROUTING -s 10.0.0.0/8 -d ! 10.0.0.0/8 -j SNAT --to-source 212.85.154.29
> grep -R . /etc/vservers/descartes/interfaces/1
/etc/vservers/foo/interfaces/1/ip:10.0.0.2
/etc/vservers/foo/interfaces/1/prefix:8
/etc/vservers/foo/interfaces/1/dev:dummy0
/etc/vservers/foo/interfaces/1/name:virt0

regards

-- 
Marc Chantreux
BibLibre, expert en logiciels libres pour l'info-doc
http://biblibre.com
Received on Thu Nov 26 20:38:02 2009
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 26 Nov 2009 - 20:38:04 GMT by hypermail 2.1.8