On Fri, Jul 26, 2013 at 04:13:47AM +0200, Gianluigi Tiesi wrote:
> try using a non existent interface as bridge_port
> 
> something like bridge_ports none

It does not work. Here is an example:

iface lxc0 inet manual
    address 10.42.42.1
    netmask 255.255.255.0
    bridge_ports none
    bridge_stp off
    bridge_fd 0
    bridge_maxwait 0

root@hal:~# ifup lxc0
root@hal:~# ifconfig lxc0
lxc0      Link encap:Ethernet  HWaddr f6:97:98:0f:58:fe  
          adr inet6: fe80::f497:98ff:fe0f:58fe/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:0 (0.0 B)  TX bytes:508 (508.0 B)


The only way to get an IP assigned to the bridge is to add the following
directive in the iface declaration:

    post-up /sbin/ip addr add 10.42.42.1/24 dev lxc0

This is a really annoying bug I come across very often.

Antoine


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to