[Lxc-users] making bridge in container
matthew byers
faintstlsaint at gmail.com
Sat Jan 15 07:56:42 UTC 2011
Im trying to setup openvpn on container. Guides say to setup bridge in
container for vpn. When i first configured bridge i got the "segment
fault..." error. Now i just get a the "Trying to reconfigure interfaces..."
and it just stays there. It doesnt say the usual "ok" confirmation. Here is
my current container interfaces conf: (based off the guide)
basically i need a guide on setting up a bridge in a lxc container.
############
container conf
############
auto br0
iface br0 inet static
address 192.168.1.109
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
###############
Here is my host conf:
###############
auto br0
iface br0 inet static
address 192.168.1.106
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
broadcast 192.168.1.255
bridge_ports eth0
bridge_stp off
bridge_maxwait 5
post-up /usr/sbin/brctl setfd br0 0
--
God Bless
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20110115/fa4827a3/attachment.html>
More information about the lxc-users
mailing list