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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20080625/8a0cacc3/attachment.htm
The Bridge changes the MAC if you add/del something. I already suggested to change that behaviour. - Dietmar> Am I doing something wrong?? I wouldnt think a bridge would > die if only a single interface.
John Cavanaugh
2008-Jun-28 20:55 UTC
[Bridge] [Bulk] AW: A bridge with a single interface???
FWIW, Im on a 64-bit system. So I might be falling under the wierdness others have observed on 64-bit... -- John Cavanaugh On Fri, Jun 27, 2008 at 10:18 AM, Dietmar Maurer <dietmar at proxmox.com> wrote:> The Bridge changes the MAC if you add/del something. > > I already suggested to change that behaviour. > > - Dietmar > > > Am I doing something wrong?? I wouldnt think a bridge would > > die if only a single interface. > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20080628/9f0b0fb2/attachment.htm