Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Connecting to ODL disconnect internet and ping capability in ovs switch

In the host1, I have created a bridge called br1

ovs-vsctl add-br br1
ovs-vsctl add-port br1 enp3s0
ifconfig enp3s0 0
ifconfig br1 <ip1> netmask
route add default gw 1x.12x.x.x br1

Now at this stage I can ping to other hosts and to the internet

then I connected the br in host1 to the ODL controller running on <ip2> port 6633 using the following command

ovs-vsctl set-controller br1 tcp:<ip2>:6633

Now at this point I cannot ping from host1 and host1 doesn't have internet .

My intention is to add a virtual port to br1 and connect a VM on top of host1 . if host1 doesn't have network connection VM will not get the network, any suggestion to fix this ?