Lxc how to set the container ip host ip the same network segment (static ip)?
Lxc set up when the nat network, a variety of normal performance. If you want to set the lxc ip host host with the same network segment (that is, static ip), although the bridge can be created normally, host can also ping bridge, but the container can not ping the bridge, but can not ping 通 host and Other host.
For example, my host ip is 10.0.0.50, veth mode, lxcbr0 ip 10.0.0.51, container ip is 10.0.0.52. At this point I can ping 通 10.0.0.51 in the container can not ping 通 10.0.0.51 , Can not ping any network with any network. If lxcbr0 and its dhcp network segment, the container ip are changed to 10.0.3.x, you can ping each other.
There are many experts here, specifically this neighborhood!
One Solution collect form web for “Lxc how to set the container ip host ip the same network segment (static ip)?”
This is written with pipework, I also get.