Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Network namespace

    I've done some namespace configurations with router
    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 ?
    Thanks Avi

  2. #2
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Woodshed, CA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts