我有很多我的LXC容器的接口。 例如:
1.1.1.1 – 我的外部ip的例子
cat /etc/network/interfaces.d/1.1.1.1
allow-hotplug im1 iface im1 inet static address 192.168.0.1/32 scope link pointopoint 1.1.1.1
我的ip route show
1.1.1.1 dev im1 proto kernel scope link src 192.168.0.1
它在LXC容器中工作,但如果我想从接口做些事情:
ping -I im1 8.8.8.8
我收到了
PING 8.8.8.8 (8.8.8.8) from 192.168.0.1 im1: 56(84) bytes of data.
没事了 …
我怎样才能以并行模式与客户端使用这些接口? 可能吗 ? 如果是,我该怎么做? 感谢您的关注。