Hi, I don't know too much about lxc and networks.
I've got some questions to
https://lists.linuxcontainers.org/pipermail/lxc-users/2015-February/008553.html
There is a host with a few public IPs.
sysctl.conf:
net.ipv4.ip_forward=1
net.ipv4.conf.eth0.proxy_arp=1
For every IP something like this:
/etc/network/interfaces.d/$IP
auto vc1
iface vc1 inet static
address 172.16.0.1/32
scope link
pointopoint $IP
post-down vcdown vc1
post-up vcup vc1
vc2,and so on
vcdown and vcup do exit 0
The problem is that after lxc-stop and lxc-start sometimes there are errors
like this:
lxc-start 20160403180712.290 ERROR lxc_conf - conf.c:instantiate_veth:2677 -
failed to create veth pair (vc1 and vethQJ3XAQ): File exists
How to speedup "closing" and "opening" vc1 and ensure that lxc-stop/lxc-start
will succeed?
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users