Hey i am trying to run lxc on my laptop but am having problem setting up bridge. My internet connection consist of a WAN that i have absolutely no control over. I connect my tablet to the network and then tether it to my laptop. I followed directions from this site: <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://s3hh.wordpress.com/2011/05/17/lxc-containers-on-a-host-with-wireless/">http://s3hh.wordpress.com/2011/05/17/lxc-containers-on-a-host-with-wireless/</a> up until the point of running: ifup br0 #in which i get the Ignoring Uknown Interface.....as shown below<br clear="all">
<br><div><div>stlsaint@stlsaint-devcore:~$ cat /etc/network/interfaces </div><div>auto lo</div><div>iface lo inet loopback</div><div><br></div><div>auto lxcbr0</div><div>iface lxcbr0 inet static</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>address 192.168.42.8</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>netmask 255.255.255.0</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>post-up /opt/bin/lxcbr0-up</div><div><br></div><div><br></div>
<div>stlsaint@stlsaint-devcore:~$ cat /opt/bin/lxcbr0-up </div><div>#!/bin/sh</div><div># This is the address we assigned to our bridge in /etc/network/interfaces</div><div>braddr=192.168.42.8</div><div># ip address range for containers</div>
<div>brrange=192.168.42.9,192.168.42.230</div><div>iptables -A FORWARD -i lxcbr0 -s /24 -m conntrack --ctstate NEW -j ACCEPT</div><div>iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT</div><div>iptables -A POSTROUTING -t nat -j MASQUERADE</div>
<div>dnsmasq --bind-interfaces --conf-file= --listen-address --except-interface lo --dhcp-range --dhcp-lease-max=253 --dhcp-no-override</div><div><br></div><div><br></div><div>stlsaint@stlsaint-devcore:~$ sudo ifup br0</div>
<div>Ignoring unknown interface br0=br0.</div><div>stlsaint@stlsaint-devcore:~$ </div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br>-- <br>God Bless<br>
</div>