这是一个创建于 3520 天前的主题,其中的信息可能已经有所发展或是发生改变。
我有个多网卡的服务器,想创建一个双卡的容器,用这个容器做nat网关和负载均衡,然后其他容器与这个容器的lan网卡连接。这么做可行吗?
7 条回复 • 2014-11-09 19:01:52 +08:00
![bearice](https://cdn.v2ex.com/avatar/1a09/a1f0/10215_normal.png?m=1615830756) |
|
1
bearice 2014-11-07 22:38:23 +08:00
可以 ip link 可以设置网卡属于哪个namespace 不同ns间网络栈相互独立
|
![webjin](https://cdn.v2ex.com/gravatar/dfc5de672417b893e532c98f0cfbca6d?s=48&d=retro) |
|
2
webjin 2014-11-07 22:40:08 +08:00
docker吗?
|
![yanest](https://cdn.v2ex.com/avatar/d2bd/7e3b/67824_normal.png?m=1655173728) |
|
3
yanest 2014-11-07 22:51:16 +08:00 via iPhone
|
![guxuan](https://cdn.v2ex.com/avatar/9e49/7905/75739_normal.png?m=1415438704) |
|
4
guxuan 2014-11-08 21:29:43 +08:00
搜狐的那个paas搜狐云景就是基于LXC的,你可以去他们技术群里交流,他们应该吃的挺透的了
|
![yanest](https://cdn.v2ex.com/avatar/d2bd/7e3b/67824_normal.png?m=1655173728) |
|
5
yanest 2014-11-08 22:39:55 +08:00 via iPhone
|
![yanest](https://cdn.v2ex.com/avatar/d2bd/7e3b/67824_normal.png?m=1655173728) |
|
6
yanest 2014-11-08 22:42:18 +08:00 via iPhone
|
![guxuan](https://cdn.v2ex.com/avatar/9e49/7905/75739_normal.png?m=1415438704) |
|
7
guxuan 2014-11-09 19:01:52 +08:00
@ yanest ,搜狐云景官网上有,技术讨论群:372311759
|