免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2740 | 回复: 0
打印 上一主题 下一主题

Linux Containers - Network Namespace [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-27 13:01 |只看该作者 |倒序浏览

Linux
Containers - Network NamespaceDescription
The network namespace is a private set of network resources assignedto one or several processes. These have their own set of networkdevices, IP addresses, routes, sockets and so on ... Other processesoutside of the namespace cannot access these network resources,neither know they exist.
That allows:
  • virtualization : the processes inside the network namespaces do notknow anything about the network resources outside the namespace and usethe resources without conflicting with other network namespaces.
      For examples:
    • several network namespaces can have eth0 and lo network devices.
    • several apache servers listening on *:80 can be launched into differents network namespaces.
  • isolation : the processes cannot access to the network resources which are outside the namespace.
                                             For examples:
    • a process cannot sniff traffic related to another network namespace.
    • a process cannot shutdown an interface belonging to another network namespace.
The virtualization/isolation allows to implement different interestingfeatures:
  • security : a server can be ran into a network namespace and thisone will ensure, if the server is hacked, the rest of network systemwill not be compromised
  • resource management : the resources management acting at thenetwork device can be easily implemented because the network resourcescan be assigned to a specific set of processes
  • traffic control : is more flexible because it can be set by network devices and obviously by network namespaces
  • consolidation : a powerful host can aggregate several serversin different network namespaces without impacting the servers' networkconfigurations
  • mobility : it is easy to find and checkpoint the networkresources because they are by namespace. The virtualization allows tomove IP accross the network and avoid conflicts at restart

   
   
Some other details can be found
here
.
               
               
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/110948/showart_2162038.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP