All of lore.kernel.org
 help / color / mirror / Atom feed
* netns+qdisc+veth
@ 2009-09-09  7:03 Mathieu Lacage
       [not found] ` <1252479809.3029.5.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Lacage @ 2009-09-09  7:03 UTC (permalink / raw)
  To: containers-qjLDD68F18O7TbgM5vRIOg

hi,

I am trying to create a network namespace with a vethX device in it and
a special qdisc but without much luck. I wonder if this is something
which is unsupported or is just a bug.

[mathieu@mathieu-laptop netns]$ uname -a
Linux mathieu-laptop 2.6.30.5-43.fc11.x86_64 #1 SMP Thu Aug 27 21:39:52
EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

shell in default namespace:

[mathieu@mathieu-laptop netns]$ sudo ip link add type veth
[mathieu@mathieu-laptop netns]$ sudo tc qdisc add dev veth0 root netem
delay 100ms
[mathieu@mathieu-laptop netns]$ sudo ip link set dev veth0 netns 3104
[mathieu@mathieu-laptop netns]$ 


shell in other network namespace:

[mathieu@mathieu-laptop netns]$ sudo ./netunshare /bin/bash
[sudo] password for mathieu: 
[root@mathieu-laptop netns]# echo $$
3104
[root@mathieu-laptop netns]# sudo ip link show veth0
11: veth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000
    link/ether 9a:bb:18:b6:1b:06 brd ff:ff:ff:ff:ff:ff
[root@mathieu-laptop netns]# sudo tc qdisc add dev veth0 root netem
delay 100ms
RTNETLINK answers: Invalid argument
[root@mathieu-laptop netns]# 

any kind of idea would be welcome.

Mathieu

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: netns+qdisc+veth
       [not found] ` <1252479809.3029.5.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2009-09-09  8:12   ` Daniel Lezcano
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lezcano @ 2009-09-09  8:12 UTC (permalink / raw)
  To: Mathieu Lacage; +Cc: containers-qjLDD68F18O7TbgM5vRIOg

Mathieu Lacage wrote:
> hi,
>
> I am trying to create a network namespace with a vethX device in it and
> a special qdisc but without much luck. I wonder if this is something
> which is unsupported or is just a bug.
>
> [mathieu@mathieu-laptop netns]$ uname -a
> Linux mathieu-laptop 2.6.30.5-43.fc11.x86_64 #1 SMP Thu Aug 27 21:39:52
> EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
>
> shell in default namespace:
>
> [mathieu@mathieu-laptop netns]$ sudo ip link add type veth
> [mathieu@mathieu-laptop netns]$ sudo tc qdisc add dev veth0 root netem
> delay 100ms
> [mathieu@mathieu-laptop netns]$ sudo ip link set dev veth0 netns 3104
> [mathieu@mathieu-laptop netns]$ 
>
>
> shell in other network namespace:
>
> [mathieu@mathieu-laptop netns]$ sudo ./netunshare /bin/bash
> [sudo] password for mathieu: 
> [root@mathieu-laptop netns]# echo $$
> 3104
> [root@mathieu-laptop netns]# sudo ip link show veth0
> 11: veth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
> 1000
>     link/ether 9a:bb:18:b6:1b:06 brd ff:ff:ff:ff:ff:ff
> [root@mathieu-laptop netns]# sudo tc qdisc add dev veth0 root netem
> delay 100ms
> RTNETLINK answers: Invalid argument
> [root@mathieu-laptop netns]# 
>
> any kind of idea would be welcome
>   
It is not yet supported.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-09  8:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-09  7:03 netns+qdisc+veth Mathieu Lacage
     [not found] ` <1252479809.3029.5.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-09-09  8:12   ` netns+qdisc+veth Daniel Lezcano

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.