I am following this tutorial: http://networkstatic.net/wp-content/uploads/2012/04/openvswitch.openflow.gre_.tutorial1.pdf
In brief: br0 is connected to the actual net, br1 is an isolated bridge to whom I attach multiple vms. Now I want to greate a gre tunnel between the two br1s as shown in the picture
Now, br0 is fine: I add my ethernet port and I am actually connected in my 192.168.1.x/24 LAN. For br1 I want a 192.168.100.x/24 family address, so to start I set:
ifconfig br1 192.168.100.1 netmask 255.255.255.0
Problem is that when I start my linux vm it just keep trying to connect to the eth0 without actually succeding! The interface is correctly configured as, if I ask for a
ovs-vsctl show
I get a "vnet0" port under br1 meaning that the vm is actually connected! But inside the guest operating system this connection does not take place. Any ideas?
edit: an ifconfig in the guest system tells me that the eth0 has no ip address associated. I tried to manually set it with:
ifconfig br1 192.168.100.1 netmask 255.255.255.0
but it still doesn't do the job.