[ovs-discuss] gre interface not shown in ovs-dpctl command
Kanika Saklani
kanika.saklani11 at gmail.com
Fri Jan 3 12:36:03 UTC 2014
Hi All,
I have been working on the gre tunnelling with openvswitch, in which i am
using kernel version 3.2 with openvswitch 1.9 on my x86 machine.But i am
facing the following issue that the gre interface is showing in *ovs-vsctl
show* command but not showing in the *ovs-dpctl show* command.
For this i successfully applied the following fix i.e. i took the LTS
version of openvswitch on x86 machine and installed the openvswitch-ipsec
package which helps in encapsulation of packets passing through the gre
tunnel. After that the gre interface gets shown in the ovs-dpctl command
and i am able to ping from one virtual machine to another with the icmp
packets getting encapsulated in the gre header.
But now my problem is that i want gre tunneling enabled with kernel version
3.8 for which i did the same fix but the gre interface is not visible
in *ovs-dpctl
show* command.
My set up is as follows:
Hypervisor1
ovs-vsctl add-br br0
ifconfig br0 up
ovs-vsctl add-port br0 eth0
ovs-vsctl add-br br1
ifconfig br1 up
ovs-vsctl add-port br1 tap0
ovs-vsctl add-port br1 gre0 -- set interface gre0 type=gre
options:remote_ip=10.10.10.2
ifconfig br0 10.10.10.1 netmask 255.255.255.0 up
ifconfig br1 192.168..10.1 netmask 255.255.255.0 up
ip route add 192.168.20.0/24 via 10.10.10.2 dev br0
VM1 configuration
ifconfig eth0 192.168.10.10 up
gateway-192.168.10.1
Hypervisor2
ovs-vsctl add-br br0
ifconfig br0 up
ovs-vsctl add-port br0 eth0
ovs-vsctl add-br br1
ifconfig br1 up
ovs-vsctl add-port br1 tap0
ovs-vsctl add-port br1 gre0 -- set interface gre0 type=gre
options:remote_ip=10.10.10.1
ifconfig br0 10.10.10.2 netmask 255.255.255.0 up
ifconfig br1 192.168..20.1 netmask 255.255.255.0 up
ip route add 192.168.10.0/24 via 10.10.10.1 dev br0
VM2 configuration
ifconfig eth0 192.168.20.10 up
gateway-192.168.20.1
I have also tried this on kernel version 3.12 and 3.5 but the same problem
also persists there.
Please help me regarding this issue. Hoping for a positive reply from your
side.
Thanks
Kanika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140103/80d54977/attachment.html>
More information about the discuss
mailing list