Results 1 to 2 of 2
Thread: Network namespace
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2013
interface and static-routes and everything looks fine.
connected 2 namespaces - OK. Connected namespace to
the 'outside' network - OK. All these are OK when I configure the namespace and network from linux shell with iproute2 commands.
But when I doing this programticaly from my C program - I fail when I refer to eth0 (which is in the globall namespace) - I receive a message "Cannot find device "eth0""
I need to 'revert' to the default namespace before referring to eth0 - how to revert to the default namespace ?
All is done in a single process - I understand that I can manage multiple namespaces in a single process - correct ?