Network namespace and tc?
Subsystems (2)
It looks like tc filter won't work on alternate namespaces:
/* Add/change/delete/get a filter node */
static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n, void *arg) {
...
if (net != &init_net) return -EINVAL;
Haven't played with namespace virtualization yet, but what else is not supported? Where is this documented?
Hello, Stephen!
Namespaces are not fully implemented yet :) Right now we we have only basic infrastructure in the mainstream and, currently, we can't even run TCP in different namespace :( We hope this will be changed very soon.
These marks (net != &init_net) are used to
- mark places we need to modify
- ensure that we do not break initial namespace.
Regards,
Den
Quoted 17 lines · Stephen Hemminger
It looks like tc filter won't work on alternate namespaces:
/* Add/change/delete/get a filter node */static int
tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n, void *arg){
...if (net != &init_net) return -EINVAL;Haven't played with namespace virtualization yet, but what else is not supported? Where is this documented?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 6 lines · Denis V. Lunev
Hello, Stephen!
Namespaces are not fully implemented yet :) Right now we we have only basic infrastructure in the mainstream and, currently, we can't even run TCP in different namespace :( We hope this will be changed very soon.
Quoted 21 lines
These marks (net !=
&init_net) are used to
- mark places we need to modify
- ensure that we do not break initial namespace.Regards,
DenQuoted 13 lines · Stephen Hemminger
It looks like tc filter won't work on alternate namespaces:
/* Add/change/delete/get a filter node */static int
tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n, void *arg){
...if (net != &init_net) return -EINVAL;Haven't played with namespace virtualization yet, but what else is not supported? Where is this documented?
I wrote some documentation here:
http://lxc.sourceforge.net/network.php
That talk about configuration, bench, etc ...
Your question make me feel I should add a matrix with the current state of the network namespace, what is in, what is done but not merged yet, what is planned and what is not planned.
Thanks for paying attention at this.
-- Daniel
Sauf indication contraire ci-dessus:
Compagnie IBM France
Siège Social : Tour Descartes, 2, avenue Gambetta, La Défense 5, 92400 Courbevoie
RCS Nanterre 552 118 465
Forme Sociale : S.A.S.
Capital Social : 542.737.118 ?
SIREN/SIRET : 552 118 465 02430