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