[Devel] Re: Net containers config and usage
chris at versecorp.net
chris at versecorp.net
Tue Jan 13 11:18:37 PST 2009
> >>
> >> [root at C100273 iproute2-2.6.25]# ps aux | grep tcsh
> >> root 21918 0.0 0.0 71036 2084 pts/1 S+ 16:47 0:00 -bin/tcsh
> >> root 22008 0.0 0.0 61144 716 pts/2 R+ 16:57 0:00 grep tcsh
> >> [root at C100273 iproute2-2.6.25]# ip/ip link set eth4 netns 21918
> >> RTNETLINK answers: Invalid argument
> >>
> >> Any idea what could cause that error?
> >>
> > Assuming your prompt is showing the right version, try a version of
> > iproute2 >= 2.6.26
>
> Right, this was a bit of a pain for me - when you install iproute,
> by default it goes into another location, so you probably have to
> specify /usr/local/sbin/ip or something. Just a guess, but that
> may be your problem here :)
>
> -serge
I was running 2.6.25 plus the patch from here:
http://marc.info/?l=linux-netdev&m=120905226611742&q=raw
But I tried getting 2.6.26 and I have the same problem:
[root at C100273 iproute2-2.6.26]# ip/ip link set eth4 netns 24755
RTNETLINK answers: Invalid argument
I'm pretty certain I'm running the right "version" of the command. It
does install it to /usr/sbin/ip, but if I run the version that came with the
distribution (in /sbin/ip), I get a different error reporting netns as garbage.
So.. since it at least parses the netns argument and sends the netlink request,
it at least seems to be making it to the kernel.
Does the kernel.org version of 2.6.29-rc1 have everything I need?
Any other ideas?
Thanks,
Chris
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list