[Lxc-users] making bridge in container

matthew byers faintstlsaint at gmail.com
Sun Jan 16 22:27:41 UTC 2011


The container kernel is 2.6.32-27-server

On Sat, Jan 15, 2011 at 6:51 AM, Daniel Lezcano <daniel.lezcano at free.fr>wrote:

> On 01/15/2011 08:56 AM, matthew byers wrote:
>
>> 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.
>>
>
> What is the kernel version ?
>
>> ############
>> 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
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Protect Your Site and Customers from Malware Attacks
>> Learn about various malware tactics and how to avoid them. Understand
>> malware threats, the impact they can have on your business, and how you
>> can protect your company and customers by using code signing.
>> http://p.sf.net/sfu/oracle-sfdevnl
>>
>>
>> _______________________________________________
>> Lxc-users mailing list
>> Lxc-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lxc-users
>>
>
>


-- 
God Bless
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20110116/34b6b08c/attachment.html>


More information about the lxc-users mailing list