[Devel] Re: Net containers config and usage
chris at versecorp.net
chris at versecorp.net
Tue Jan 13 13:47:47 PST 2009
On Tue, Jan 13, 2009 at 08:52:58PM +0100, Daniel Lezcano wrote:
> >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?
> >
> Is eth4 a physical network device or a virtual device (like a tunnel)
> renamed eth4 ?
>
> Can you send the output of the "ip link" command and the value of
> /sys/class/net/eth4/features to check if the network device is not
> flagged as a non-movable.
>
> thanks.
> -- Daniel
It's a physical device - uses the e1000e driver.
Here's the output of both commands.
[root at C100273 iproute2-2.6.26]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:1c:c4:dc:44:b2 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:1c:c4:48:35:f5 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:1c:c4:dc:44:b0 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:1c:c4:48:35:f4 brd ff:ff:ff:ff:ff:ff
6: eth4: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:1c:c4:48:35:f7 brd ff:ff:ff:ff:ff:ff
7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:1c:c4:48:35:f6 brd ff:ff:ff:ff:ff:ff
8: br1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/ether 66:f4:32:9f:12:df brd ff:ff:ff:ff:ff:ff
[root at C100273 iproute2-2.6.26]# cat /sys/class/net/eth4/features
0x111ba9
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