[Lxc-users] Failed to setup networking within container
Vedran Furač
vedran.furac at gmail.com
Tue Jan 3 22:58:31 UTC 2012
Hi all,
I'm unable to reach anything from inside of container nor to reach its
interface from outside. I've followed multiple howto's and documentation
but without success.
Host (Debian testing, lxc 0.7.5)
=====
iface br0 inet dhcp
bridge_ports eth0
bridge_fd 0
br0 Link encap:Ethernet HWaddr 00:24:1d:2f:d6:5f
inet addr:192.168.0.59 Bcast:192.168.0.255 Mask:255.255.255.0
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0
lxc.network.hwaddr = 00:24:1d:2f:d6:5f
lxc.network.ipv4 = 192.168.0.66/24
Container (Debian stable)
=====
auto eth0
iface eth0 inet static
address 192.168.0.66
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
eth0 Link encap:Ethernet HWaddr 00:24:1d:2f:d6:5f
inet addr:192.168.0.66 Bcast:192.168.0.255 Mask:255.255.255.0
Default route:
Destination Gateway Genmask Flags Iface
default 192.168.0.1 0.0.0.0 UG eth0
Am I doing something wrong?
TIA,
Vedran
More information about the lxc-users
mailing list