All of lore.kernel.org
 help / color / mirror / Atom feed
From: chris-SqNQQPNds68nxqbYAscKCQ@public.gmane.org
To: Daniel Lezcano <daniel.lezcano-GANU6spQydw@public.gmane.org>
Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org
Subject: Re: Net containers config and usage
Date: Tue, 13 Jan 2009 13:47:47 -0800	[thread overview]
Message-ID: <20090113214747.GA23742@versecorp.net> (raw)
In-Reply-To: <496CF11A.7090908-GANU6spQydw@public.gmane.org>

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@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@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@C100273 iproute2-2.6.26]# cat /sys/class/net/eth4/features
0x111ba9

Thanks,
Chris

  parent reply	other threads:[~2009-01-13 21:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-12 22:35 Net containers config and usage chris-SqNQQPNds68nxqbYAscKCQ
     [not found] ` <20090112223545.GA15781-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-12 22:51   ` Serge E. Hallyn
     [not found]     ` <20090112225140.GA29834-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-01-13  0:54       ` chris-SqNQQPNds68nxqbYAscKCQ
     [not found]         ` <20090113005436.GA26167-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-13  8:20           ` Daniel Lezcano
     [not found]             ` <496C4EB0.30203-GANU6spQydw@public.gmane.org>
2009-01-13 14:29               ` Serge E. Hallyn
     [not found]                 ` <20090113142925.GA11767-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-01-13 19:18                   ` chris-SqNQQPNds68nxqbYAscKCQ
     [not found]                     ` <20090113191837.GA29900-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-13 19:37                       ` Guenter Roeck
2009-01-13 19:49                         ` chris-SqNQQPNds68nxqbYAscKCQ
2009-01-13 19:52                       ` Daniel Lezcano
     [not found]                         ` <496CF11A.7090908-GANU6spQydw@public.gmane.org>
2009-01-13 21:47                           ` chris-SqNQQPNds68nxqbYAscKCQ [this message]
     [not found]                             ` <20090113214747.GA23742-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-13 22:53                               ` Guenter Roeck
2009-01-14  8:50                                 ` Daniel Lezcano
     [not found]                                   ` <496DA755.1040001-GANU6spQydw@public.gmane.org>
2009-01-14 17:27                                     ` chris-SqNQQPNds68nxqbYAscKCQ
     [not found]                                       ` <20090114172739.GA13581-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-14 17:41                                         ` Daniel Lezcano
     [not found]                                           ` <496E23DA.9080402-GANU6spQydw@public.gmane.org>
2009-01-14 19:26                                             ` Serge E. Hallyn
     [not found]                                               ` <20090114192633.GA8572-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-01-14 19:39                                                 ` chris-SqNQQPNds68nxqbYAscKCQ
     [not found]                                                   ` <20090114193944.GA14129-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-14 19:53                                                     ` Daniel Lezcano
     [not found]                                                       ` <496E42D6.2080306-GANU6spQydw@public.gmane.org>
2009-01-15 21:59                                                         ` chris-SqNQQPNds68nxqbYAscKCQ
     [not found]                                                           ` <20090115215900.GA30607-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-15 22:21                                                             ` Daniel Lezcano
     [not found]                                                               ` <496FB6F7.9080906-GANU6spQydw@public.gmane.org>
2009-01-15 23:20                                                                 ` Chris R. Jones
     [not found]                                                                   ` <20090115232013.GA9722-SqNQQPNds68nxqbYAscKCQ@public.gmane.org>
2009-01-16  4:38                                                                     ` Eric W. Biederman
2009-01-14 22:10                                             ` Eric W. Biederman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090113214747.GA23742@versecorp.net \
    --to=chris-sqnqqpnds68nxqbyasckcq@public.gmane.org \
    --cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
    --cc=daniel.lezcano-GANU6spQydw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.