From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Wed 13 Oct 2004 - 11:16:58 BST
On Wed, Oct 13, 2004 at 02:35:19PM +1000, David MacKinnon wrote:
> Gregory (Grisha) Trubetskoy wrote:
>
> >
> >I had something similar happen, but then it turned out the problem was
> >with my config. I figured it out by inserting an occasional echo
> >statement into /usr/local/lib/util-vserver/vserver.functions
> >(disableInterfaces() is the func you'd probably be most interested in)
> >to see what 'ip' commands are issued, e.g.:
>
> Thanks for the tip... I get
> /sbin/ip addr del 172.16.4.170/32 broadcast + label eth0:ast dev eth0
>
> Which looks right, and works fine from commandline.
>
> Looking further, after bringing down the vserver
>
> ip addr show
could you attach the output here please?
> Still shows all the apropriate ip's configured, however the interfaces
> aren't up (they don't show up if I do ifconfig). So it's not deleting
> all the addresses, just bringing down the interfaces.
ifconfig is outdated, it doesn't show IP addresses
it just shows aliases, if you want an alias, please
add the relevant config option ...
HTH,
Herbert
> -David
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver