Re: Bridge blocking network traffic

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

>>On Fri, Apr 23, 2010 at 1:39 AM, Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> wrote:
>>You are supposed to assign IP address to bridge not the member of the bridge

Why is it so ?

I have a linux   machine with interfaces eth0 ( ) and
eth1 ( )  .   . I can connect  both eth0 an eth1  to a
hardware  HUB . How could i do this in linux machine itself using
brctl ?


> On Thu, 22 Apr 2010 10:48:09 +1000
> benno joy <bennojoy@xxxxxxxxx> wrote:
>> Dear Team,
>> I have a strange problem...... This is my problem i have a linux box running
>> Xen kernel (2.2). and i have the a bonding interface called bond0.497(eth0
>> and eth1 and also des Vlan tagging).
>> the bond0.497 is part of the bridge "xenbrv497", the issue is as soon as i
>> make the bond a part of the bridge my network traffic stops to work.
>> I did some prelimanary tests and found the following:
>> 1) if i assighn an ip to the bond and do a ping to the gateway it works
>> (provided it is not part of bridge xenbrv497)
>> 2) if i add the bondig interface to the brodge xenbrv497 (brclt addif
>> xenbrv497 bond0.497) the ping tests fails.
>> 3) i did a tcpdump and found that arp requests are going out of the
>> interface and we are getting response also. but soemhow
>> the arp entries are not gettign registered. i did some googling and found it
>> may be because of filtering so i disabled it by
>> echo 0 > in /proc/sys/net/bridge/bridge-nf-*.
>> But even this did not help still the arp entries are not getting registered
>> due to which my network traffic is gettign dropped.
>> This problem can be resolved by a reboot. but i would like to troubleshoot
>> it.
>> Could you please let me know how i can get more debugging message from the
>> bridge calls so i can figure out what exactly is happening.
>> # uname -a
>> Linux 2.6.18-
>> #1 SMP Mon Dec 7 14:34:40 EST 2009 i686 i686 i386 GNU/Linux
>> [root@vmclkxstgh04 ~]# brctl show
>> bridge name     bridge id               STP enabled     interfaces
>> vlan441         8000.0017a4770470       no              bond0.441
>> xenbrv205               8000.0017a477046c       no              bond1.205
>> xenbrv208               8000.0017a477046c       no              bond1.208
>> xenbrv220               8000.000000000000       no
>> xenbrv221               8000.000000000000       no
>> xenbrv226               8000.0017a477046c       no              vif40.1
>>                                                         vif39.1
>>                                                         vif37.1
>>                                                         vif26.1
>>                                                         vif25.1
>>                                                         vif24.1
>>                                                         vif13.1
>>                                                         bond1.226
>> xenbrv227               8000.0017a4770470       no              vif40.0
>>                                                         vif39.0
>>                                                         vif37.0
>>                                                         vif26.0
>>                                                         vif25.0
>>                                                         vif24.0
>>                                                         vif13.0
>>                                                         bond0.227
>> xenbrv420               8000.0017a4770470       no              bond0.420
>> xenbrv422               8000.0017a4770470       no              vif35.0
>>                                                         vif7.0
>>                                                         vif6.0
>>                                                         vif4.0
>>                                                         vif3.0
>>                                                         vif2.0
>>                                                         tap2.0
>>                                                         bond0.422
>> xenbrv425               8000.0017a4770470       no              bond0.425
>> xenbrv450               8000.0017a4770470       no              bond0.450
>> xenbrv492               8000.0017a4770470       no              bond0.492
>> xenbrv493               8000.0017a4770470       no              bond0.493
>> xenbrv494               8000.0017a4770470       no              bond0.494
>> xenbrv495               8000.0017a4770470       no              bond0.495
>> xenbrv496               8000.0017a4770470       no              bond0.496
>> xenbrv497               8000.0017a4770470       no              bond0.497
>> xenbrv701               8000.0017a477046c       no              vif44.1
>>                                                         bond1.701
>> bond0.497 Link encap:Ethernet  HWaddr 00:17:A4:77:04:70
>>           inet addr:  Bcast:  Mask:
>>           RX packets:3807595 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:3304 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:0
>>           RX bytes:188847200 (180.0 MiB)  TX bytes:138768 (135.5 KiB)
> You are supposed to assign IP address to bridge not the member of the bridge.
> --
> _______________________________________________
> Bridge mailing list
> Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
Bridge mailing list

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

Add to Google Powered by Linux