A bridge with a single interface???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry if this is a stupid question.

Im trying to create a bridge that will dynamically add interfaces as needed (actually openvz veth interfaces).   Im having some problems when I create a bridge with only one interface.  When I do that all my networking on my localhost stops.

Here is a cmd history as an example

  547  ifconfig eth0 0.0.0.0
  548  ifconfig
  549  brctl addbr vbr0
  550  brctl setfd vbr0 0
  551  ifconfig eth0 up
  552  brctl addif vbr0 eth0
  553  brctl addif vbr0 veth105.0
  554  ifconfig
  555  ifconfig vbr0 up
  556  ifup vbr0

At this point the bridge is up and has an ip address

  557  ping 192.168.1.1      [This is my router]

The ping succeeds...

  558  brctl delif vbr0 veth105.0
  559  ping 192.168.1.1

This fails.

  560  brctl addif vbr0 veth105.0
  561  ping 192.168.1.1

This works...


Am I doing something wrong??  I wouldnt think a bridge would die if only a single interface.

--
John cavanaugh
_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux