You are not logged in.

#1 2014-05-15 05:52:40

palani.rm
Member
Registered: 2014-05-15
Posts: 2

brctl - Pinging between the interfaces fails

Hello,
I created two interface and made it up with private ip address, try to ping between the interfaces attached to bridge br0. Removed the route entries from ip route table and added the static arp entries in the br0. When i try to send the packet between the interfaces it reaches, but it looks like it passes thru the socket layer and not thru L2.

RX counter remains zero for all there eth1.100, macvtap0 and br0.

eth1.100-----|
                  | BR0
macvtap0----|

How to ensure packets passed thru L2 bridge br0.

[root@sys-174-06 /]# brctl show br0
bridge name    bridge id        STP enabled    interfaces
br0        8000.000c290bcb11    no        eth1.100
                            macvtap0
                            tap0

[root@sys-174-06 /]# arp -a
? (192.168.10.30) at 00:0c:29:0b:cb:11 [ether] PERM on br0
? (192.168.10.20) at 1a:46:0b:ca:bc:bb [ether] PERM on br0

[root@sys-174-06 /]# ifconfig br0
br0       Link encap:Ethernet  HWaddr 00:0C:29:0B:CB:11 
          inet6 addr: fe80::1846:bff:feca:bc7b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8569 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:841330 (821.6 KiB)

[root@sys-174-06 /]# ifconfig eth1.100
eth1.100  Link encap:Ethernet  HWaddr 00:0C:29:0B:CB:11 
          inet addr:192.168.10.30  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe0b:cb11/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:320 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:31129 (30.3 KiB)

Regards
Palani

Offline

#2 2014-05-15 14:28:03

branch
Member
Registered: 2014-03-16
Posts: 209

Re: brctl - Pinging between the interfaces fails

br0 should have an IP address, eth1 should not.

Offline

#3 2014-05-15 15:00:19

palani.rm
Member
Registered: 2014-05-15
Posts: 2

Re: brctl - Pinging between the interfaces fails

How does it help
Do you mean eth1.100

Offline

Board footer

Powered by FluxBB