Subject: Re: [vserver] Unable to add Interface / RTNETLINK answers: Numerical result out of range
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Thu, 12 Feb 2009 01:40:51 +0100

On Wed, Feb 11, 2009 at 11:58:46AM +0100, Oliver Welter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> 
> KwangErn Liew schrieb:
> > 
> > 
> > Oliver Welter wrote:
> >> I am running a hostbox with two vlan interfaces, everything is doing
> >> fine so far. Today I tried to add another interface to one of my guests.
> >>
> >> The current config has 3 interfaces all in the same vlan - works.
> >> I added one new interface from the other vlan - when I now startup the
> >> guest I get "RTNETLINK answers: Numerical result out of range".
> >>
> >> The IP Adress is not set on the host and so not avail inside the geust -
> >> adding the IP to the host by hand and launching the guest still results
> >> in the error message shown, but the new interface is operational
> >> afterwards.
> > 
> > Knowing how you added the interface would be helpful to pinpoint what
> > went wrong.
> > 
> Simply using the "ip" command:  ip addr add <IP>/<Maskbits> dev vlan3

guest config (specifically the interfaces section)
and a description of the network setup on the host

TIA,
Herbert

> - --
> Protect your environment -  close windows and adopt a penguin!
> PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF  8168 CAB7 B0DD 3985 1721
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkmSr2YACgkQyrew3TmFFyHnzQCbBOnDPl0R7y5/CNax2VYGLApp
> Q6UAnR9SRM/wNw/IqbhKibvOgvma6wvc
> =M2YN
> -----END PGP SIGNATURE-----