About this list Date view Thread view Subject view Author view Attachment view

From: Helmut Wollmersdorfer (helmut.wollmersdorfer_at_gmx.at)
Date: Mon 22 Aug 2005 - 13:06:26 BST


Guenther Fuchs wrote:

> Doesn't look kind of "designed that way" to me - should it? In 1.2.10
> ifconfig showed alias names within the guests and all active inter-
> faces on the host, here at 2.0 there does not seem to exist alias
> names like ethX:guest[N] anymore.
>
> Any ideas where this could source / and maybe fixed?

Did you create a /etc/vservers/<vserver-name>/interfaces/<nr>/name?
You should do so. If not, this can lead to instability - see my other
posting.

cel600:~# cat /etc/vservers/vs27/interfaces/0/name
vs27

cel600:~# ifconfig
eth0 Link encap:Ethernet [...]

eth1 Link encap:Ethernet [...]

eth0:vs27 Link encap:Ethernet HWaddr 00:30:BD:24:39:D8
           inet addr:192.168.0.27 Bcast:192.168.0.255 Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
           Interrupt:10 Base address:0xdc00

[...]

cel600:~# vserver vs27 enter
vs27:/# ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:BD:24:39:D8
           UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
           RX packets:494159 errors:1 dropped:1 overruns:1 frame:0
           TX packets:858775 errors:0 dropped:0 overruns:7 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:49885372 (47.5 MiB) TX bytes:1142180521 (1.0 GiB)
           Interrupt:10 Base address:0xdc00

eth0:vs27 Link encap:Ethernet HWaddr 00:30:BD:24:39:D8
           inet addr:192.168.0.27 Bcast:192.168.0.255 Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
           Interrupt:10 Base address:0xdc00

HTH

Helmut Wollmersdorfer
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 22 Aug 2005 - 13:06:54 BST by hypermail 2.1.3