No subject


Fri Jun 29 21:31:54 UTC 2012


the configurations except for the bridge name, is that true?  I
suspect that you have formed some sort of loop.  Does your monitoring
cause any additional packets to be generated (i.e. are you trying to
do it over the network)?

On Mon, Jan 21, 2013 at 5:21 AM, =E6=98=A5=E7=A5=A5 =E7=8E=8B <wchunx416 at ya=
hoo.cn> wrote:
> I have two hosts
> HOST1:192.168.0.224
> with VM1:192.168.0.33(VLAN=3D1)
> HOST2:192.168.0.25
> with VM2:192.168.0.44(VLAN=3D1)
>
> on HOST1
> ovs-vsctl add-port br0 gre0 -- set interface gre0 type=3Dgre
> options:remote_ip=3D192.168.0.25
>
> ovs-vsctl show
> 044f6b32-f6c0-4ce7-9d8b-41c9891d4aa7
> Bridge "br0"
>   Port "gre0"
>    Interface "gre0"
>     type: gre
>      options: {remote_ip=3D"192.168.0.25"}
>   Port "tap1"
>    tag: 1
>     Interface "tap1"
>   Port "eth1"
>     Interface "eth1"
>   Port "br0"
>    Interface "br0"
>     type: internal
> ovs_version: "1.7.1"
>
> on HOST2
> ovs-vsctl add-port br0 gre0 -- set interface gre0 type=3Dgre
> options:remote_ip=3D192.168.0.224
>
> I can ping from vm1 to vm2
>
> root at localhost:~# ping 192.168.0.44
>
> PING 192.168.0.44 (192.168.0.44) 56(84) bytes of data.
>
> 64 bytes from 192.168.0.44: icmp_seq=3D1 ttl=3D64 time=3D2.62 ms
>
> 64 bytes from 192.168.0.44: icmp_seq=3D2 ttl=3D64 time=3D3.74 ms
>
> 64 bytes from 192.168.0.44: icmp_seq=3D3 ttl=3D64 time=3D3.33 ms
>
> 64 bytes from 192.168.0.44: icmp_seq=3D4 ttl=3D64 time=3D2.10 ms
>
> 64 bytes from 192.168.0.44: icmp_seq=3D5 ttl=3D64 time=3D6.45 ms
>
> 64 bytes from 192.168.0.44: icmp_seq=3D6 ttl=3D64 time=3D3.97 ms
>
> 64 bytes from 192.168.0.44: icmp_seq=3D7 ttl=3D64 time=3D17.1 ms
>
> ^C
>
> --- 192.168.0.44 ping statistics ---
>
> 7 packets transmitted, 7 received, 0% packet loss, time 6009ms
>
> but when I used wireshark,I found too many packages on eth1,and HOST2
> crashed soon.
>
>
> Then I followed
> http://networkstatic.net/open-vswitch-gre-tunnel-configuration/
> add gre0 and tap1 to br1(a new bridge)instead of br0.
>
> on HOST1
> ovs-vsctl show
> 044f6b32-f6c0-4ce7-9d8b-41c9891d4aa7
> Bridge "br0"
>   Port "br0"
>    Interface "br0"
>     type: internal
>   Port "eth1"
>    Interface "eth1"
> Bridge "br1"
>   Port "br1"
>    Interface "br1"
>     type: internal
>   Port "tap1"
>    tag: 1
>     Interface "tap1"
>   Port "gre0"
>    Interface "gre0"
>     type: gre
>      options: {remote_ip=3D"192.168.0.25"}
> ovs_version: "1.7.1"
>
> I can ping from vm1 to vm2
> root at localhost:~# ping 192.168.0.44
>
> PING 192.168.0.44 (192.168.0.44) 56(84) bytes of data.
> 64 bytes from 192.168.0.44: icmp_seq=3D1 ttl=3D64 time=3D1.24 ms
> 64 bytes from 192.168.0.44: icmp_seq=3D2 ttl=3D64 time=3D0.859 ms
> 64 bytes from 192.168.0.44: icmp_seq=3D3 ttl=3D64 time=3D0.775 ms
> 64 bytes from 192.168.0.44: icmp_seq=3D4 ttl=3D64 time=3D0.838 ms
> 64 bytes from 192.168.0.44: icmp_seq=3D5 ttl=3D64 time=3D0.844 ms
> 64 bytes from 192.168.0.44: icmp_seq=3D6 ttl=3D64 time=3D0.856 ms
> 64 bytes from 192.168.0.44: icmp_seq=3D7 ttl=3D64 time=3D0.757 ms
> 64 bytes from 192.168.0.44: icmp_seq=3D8 ttl=3D64 time=3D0.824 ms
> 64 bytes from 192.168.0.44: icmp_seq=3D9 ttl=3D64 time=3D0.816 ms
> ^C
> --- 192.168.0.22 ping statistics ---
> 9 packets transmitted, 9 received, 0% packet loss, time 8012ms
> rtt min/avg/max/mdev =3D 0.757/0.868/1.249/0.142 ms
>
> And everything is ok.
>
> I want to know the reasons for the first case.Is there any mistakes?
> Thanks.
>
>
>
>
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>


More information about the discuss mailing list