Unable to ping from vm1 to vm2 over GRE with the following settings. I
confirmed that ping between host1(172.16.40.40) and host2(172.16.50.41) was
successfully done without problems. Any help is welcome.




host1# ovs-vsctl show
1313da2c-30b3-4241-a55d-6b846f2db386
    Bridge "br0"
        Port "eth2"
            Interface "eth2"
        Port "vm1"
            Interface "vm1"
        Port "br0"
            Interface "br0"
                type: internal
        Port "t-gre1"
            Interface "t-gre1"
                type: gre
                options: {in_key=flow, out_key=flow,
remote_ip="172.16.50.41"}
        Port "eth0"
            Interface "eth0"
    ovs_version: "1.10.0"


host1# ovs-ofctl show br0 | grep addr
 1(eth0): addr:52:54:00:20:02:57
 2(eth2): addr:52:54:00:20:02:59
 34(t-gre1): addr:fa:57:e2:0c:36:ea
 35(vm1): addr:d2:90:bc:f6:84:2e
 LOCAL(br0): addr:fa:5d:05:e0:bd:49

host1# ovs-ofctl dump-flows br0
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=202.317s, table=0, n_packets=6, n_bytes=252,
idle_age=11, priority=2,in_port=35 actions=output:34
 cookie=0x0, duration=209.664s, table=0, n_packets=0, n_bytes=0,
idle_age=209, priority=2,in_port=34 actions=output:35
 cookie=0x0, duration=2291.943s, table=0, n_packets=69, n_bytes=3186,
idle_age=22, priority=0 actions=NORMAL



vm1# ifconfig
eth0      Link encap:Ethernet  HWaddr 52:54:00:AA:0A:7B
          inet addr:10.102.0.10  Bcast:10.102.0.255  Mask:255.255.255.0
          inet6 addr: fe80::5054:ff:feaa:a7b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:45 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2106 (2.0 KiB)  TX bytes:650 (650.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vm1# ping 10.102.0.12
PING 10.102.0.12 (10.102.0.12) 56(84) bytes of data.
>From 10.102.0.10 icmp_seq=2 Destination Host Unreachable
>From 10.102.0.10 icmp_seq=3 Destination Host Unreachable
>From 10.102.0.10 icmp_seq=4 Destination Host Unreachable
>From 10.102.0.10 icmp_seq=6 Destination Host Unreachable
>From 10.102.0.10 icmp_seq=7 Destination Host Unreachable


host2# ovs-vsctl show
1313da2c-30b3-4241-a55d-6b846f2db386
    Bridge "br0"
        Port "eth0"
            Interface "eth0"
        Port "br0"
            Interface "br0"
                type: internal
        Port "t-gre2"
            Interface "t-gre2"
                type: gre
                options: {in_key=flow, out_key=flow,
remote_ip="172.16.40.40"}
    ovs_version: "1.10.0"

host2# ovs-ofctl show br0 | grep addr
 1(eth0): addr:52:54:00:20:82:24
 129(t-gre2): addr:c2:91:4e:5f:59:78
 131(vm2): addr:8e:8f:2b:a3:6c:42
 LOCAL(br0): addr:1e:c0:a2:b7:b1:4d

host2# ovs-ofctl dump-flows br0
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=89.498s, table=0, n_packets=0, n_bytes=0,
idle_age=89, priority=2,in_port=131 actions=output:129
 cookie=0x0, duration=98.709s, table=0, n_packets=0, n_bytes=0,
idle_age=98, priority=2,in_port=129 actions=output:131
 cookie=0x0, duration=2161.026s, table=0, n_packets=81, n_bytes=12348,
idle_age=183, priority=0 actions=NORMAL



vm2# ifconfig
eth0      Link encap:Ethernet  HWaddr 52:54:00:D2:60:4E
          inet addr:10.102.0.12  Bcast:10.102.0.255  Mask:255.255.255.0
          inet6 addr: fe80::5054:ff:fed2:604e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:510 (510.0 b)  TX bytes:630 (630.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to