Hi all

i'm doing some experiments with the GRE capability
of Openvswitch.

I've setup two virtual machines with IP:

VM 1 (eth0): 192.168.122.119
VM 2 (eth0): 192.168.110.142

each connected to its own bridge:

VM 1 -> virbr0 (192.168.122.1)
VM 2 -> virbr1 (192.168.110.1)

I've setup the host in a way that from
one VM i can ping the other.

Then i configured two bridges in the VMs with a
GRE port and i've set their IP to:

VM 1 (br0): 10.1.22.1
VM 2 (br0): 10.1.22.2

Unfortunately, i'm not able to ping the
other VM using one of the above IP.

This is the tcpdump output of VM 1 if i try to
execute from the VM 2:

ping 10.1.22.1

------
11:38:04.985766 IP 192.168.122.1 > 192.168.122.119: GREv0, length 46: ARP, 
Request who-has 10.1.22.1 tell 10.1.22.2, length 28
11:38:04.985826 IP 192.168.122.119 > 192.168.122.1: ICMP 192.168.122.119 
protocol 47 port 25944 unreachable, length 74
------


route -n (VM 1)
------
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 br0
0.0.0.0         192.168.122.1   0.0.0.0         UG    0      0        0 eth0
------


route -n (VM 2)
------
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.110.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 br0
0.0.0.0         192.168.110.1   0.0.0.0         UG    0      0        0 eth0
------

What is wrong with this configuration?

Thanks in advance for replies

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

Reply via email to