I have a VM spawned in Openstack. I want in this VM to reach Internet via an 
OVS switch.

The problem seems easy, many tutorials have talked about it, but I am stucked 
in some uncanny problems.

My VM has 2 eth interfaces: eth0 (used for ssh) and eth1 (this is where I want 
to plug the OVS bridge)

Here are the steps followed:

before tapping the commands I can ping my router connected to eth1 in 
192.166.1.1

sudo ovs-vsctl add-br br0 sudo ovs-vsctl add-port br0 eth1 sudo ifconfig eth1 
0.0.0.0 sudo ifconfig br0 192.166.1.165 netmask 255.255.255.0 broadcast 
192.166.1.255

: note here that the following command 'dhclient br0' doesn't work : unable to 
get an address.

I tried to change the IP table

route add -net 192.166.1.165/24 dev br0

After these commands I can no longer ping my router 192.166.1.1

route del -net 192.166.1.165/24 dev eth1

I thank you for you help and suggestions !


Jaafar

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to