I am now facing some problem about vlan settings over patch port with which
multiple datapaths are connected (here 2 datapaths). Before I ask my
questions, let me dump my current settings.

# ovs-vsctl show
55861161-6670-45cc-850e-aca38a9aab33
    Bridge br0
        Port patch_tun
            trunks: [100]
            Interface patch_tun
                type: patch
                options: {peer=patch_int}
        Port "tap0"
            tag: 100
            Interface "tap0"
        Port br0
            Interface br0
                type: internal
    Bridge br1
        Port br1
            Interface br1
                type: internal
        Port "tap1"
            tag: 100
            Interface "tap1"
        Port patch_int
            trunks: [100]
            Interface patch_int
                type: patch
                options: {peer=patch_tun}


# ovs-ofctl dump-flows br0
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=490.292s, table=0, n_packets=8033106,
n_bytes=840743327, idle_age=0,priority=0 actions=NORMAL
# ovs-ofctl dump-flows br1
NXST_FLOW reply (xid=0x4):

# ovs-vsctl list port patch_int
tag                 : []
trunks              : [100]

# ovs-vsctl list port patch_tun
tag                 : []
trunks              : [100]

# ovs-vsctl list port br0
tag                 : []
trunks              : []

# ovs-vsctl list port tap0
tag                 : 100
trunks              : []

# ovs-vsctl list port tap1
tag                 : 100
trunks              : []

IP address:
br0 -> 10.0.1.1
tap0 -> 10.0.1.2
br1 -> 10.0.0.1
tap1 -> 10.0.0.2

My ultimate goal is ping from tap0(10.0.1.2) to tap1(10.0.0.2), and my
question is the following:

1. Do I really need to tag 100 on br0? If I omit tag=100 from br0, arp
request/reply will not succeed somehow. The arp request is then propagated
to br1 (I don't know why) which is totally useless.

2. In case I put tag=100 on br0, arp request somehow succeeds, but
subsequent icmp packets are not transferred to br1 from br0 through patch
port. Why does this happen?

I know I cannot achieve my ultimate goal even if the above 2 problems are
solved. (I still need to configure br1) But at least I need to figure out
why they happen, so if you all know something, please let me know.

Thanks,
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to