Linux Network namespaces

Source: Internet
Author: User

Introduced
OpenStack Neutron uses a Linux network namespace to avoid collisions between physical and virtual networks, or between different virtual networks.

The network namespace is a stand-alone network protocol stack that has its own network interface, routing, and Firewall rules.

The network namespace is typically a file descriptor located under directory/var/run/netns/.

For example, use the IP netns add command to create a namespace:

IP netns Add bule

View Catalog/var/run/netns/:

$ ls/var/run/netns/blue

Network namespaces are often used in virtualization. Therefore, you cannot specify a namespace for a physical network interface, only the virtual Ethernet (Veth) interface.

More detailed information can be found in the following two blog posts:
Introducing Linux Network Namespaces
Linux Network namespaces

MORE:
Neutron Network Namespaces and IPtables

Linux Network namespaces

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.