Hello!

I trying to bridge two rdomain with vether device, but it doesnt works
for me. Is it a bug, or i something misunderstand?

I use a snapshot from 2009.12.21.

Configuration:

Interfaces:

vether0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST>
rdomain 1 mtu 1500
        lladdr 00:bd:2d:cb:d9:01
        priority: 0
        groups: vether
        media: Ethernet autoselect
        status: active
        inet 192.0.2.1 netmask 0xffffff00 broadcast 192.0.2.255
vether1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST>
rdomain 2 mtu 1500
        lladdr 00:bd:80:0b:20:02
        priority: 0
        groups: vether
        media: Ethernet autoselect
        status: active
        inet 192.0.2.2 netmask 0xffffff00 broadcast 192.0.2.255
bridge0: flags=41<UP,RUNNING>
        groups: bridge
        priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
        vether1 flags=3<LEARNING,DISCOVER>
                port 7 ifpriority 0 ifcost 0
        vether0 flags=3<LEARNING,DISCOVER>
                port 6 ifpriority 0 ifcost 0

I ping vether1 ip from vether0

# ping -V1 192.0.2.2
PING 192.0.2.2 (192.0.2.2): 56 data bytes
--- 192.0.2.2 ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss

Or vice versa

# ping -V2 192.0.2.1
PING 192.0.2.1 (192.0.2.1): 56 data bytes
--- 192.0.2.1 ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss


Arp tables:

# arp -V1 -an
? (192.0.2.1) at 00:bd:2d:cb:d9:01 on vether0 static
? (192.0.2.2) at (incomplete) on vether0

# arp -V2 -an
? (192.0.2.1) at (incomplete) on vether1
? (192.0.2.2) at 00:bd:80:0b:20:02 on vether1 static

Routing tables:

# route -T1 -n show
Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
192.0.2/24         link#6             UC         2        0     -     4 vether0
192.0.2.1          00:bd:2d:cb:d9:01  UHLc       0        4     -     4 lo0
192.0.2.2          link#6             UHLc       0        2     -     4 vether0

# route -T2 -n show
Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
192.0.2/24         link#7             UC         2        0     -     4 vether1
192.0.2.1          link#7             UHLc       0        2     -     4 vether1
192.0.2.2          00:bd:80:0b:20:02  UHLc       0        6     -     4 lo0


I sniffing on bridge0 interface and i only see arp request packets.
# tcpdump -ni bridge0
tcpdump: listening on bridge0, link-type EN10MB
21:56:17.503668 arp who-has 192.0.2.2 tell 192.0.2.1
21:56:18.510956 arp who-has 192.0.2.2 tell 192.0.2.1
21:56:19.519647 arp who-has 192.0.2.2 tell 192.0.2.1
21:56:20.530857 arp who-has 192.0.2.2 tell 192.0.2.1
21:56:21.542214 arp who-has 192.0.2.2 tell 192.0.2.1


So what is the problem? Any help would be greatly appreciated.

Thx
Csszep

Reply via email to