Welcome to the Linux Foundation Forum!

Lab 19.1.1 Further explanation of `ip netns`

This exercise contains the first reference to network namespaces that I can remember in this course. I'm surprised because it seems really useful for testing, for example in earlier networking sections of this course.

Could someone please clarify the ip netns command for me. My understanding is it's a mock of being on a different network, is that correct?


  • lee42xlee42x Posts: 259

    Namespaces have been around a while and are heavily used in containers. They add a level of abstraction to some key resources in the system appearing as separate entities. We used the network namespace to emulate two distinct network environments in our lab. As for the command "ip netns " the "ip " command is the normal network manipulation command and the option "netns" says it is running in a namespace.

    More information on namespaces is found here: https://lwn.net/Articles/531114/


Sign In or Register to comment.