Configure openVswitch in openVswitch in PC1
PC1 eth0.10 interface IP is 192.168.10.100
#We attach PC1 eth0.10 interface to the bridge connection between openVswitch in PC1 and controller
$sudo ovs-vsctl add-br br0
$sudo ovs-vsctl add-port br0 eth0.10
$sudo ifconfig br0 192.168.10.100 netmask 255.255.255.0
#Attach OpenvSwitch to the Controller which is in 192.168.100.30
$ovs-vsctl set-controller br0 tcp:192.168.100.30:6633
To remove openVswitch bridge connection
$sudo ovs-vsctl del-br br-0
$sudo ovs-vsctl del-port br-0 eth0.10
To remove the Controller
$sudo ovs-vsctl del-controller br-0
PC1 eth0.10 interface IP is 192.168.10.100
#We attach PC1 eth0.10 interface to the bridge connection between openVswitch in PC1 and controller
$sudo ovs-vsctl add-br br0
$sudo ovs-vsctl add-port br0 eth0.10
$sudo ifconfig br0 192.168.10.100 netmask 255.255.255.0
#Attach OpenvSwitch to the Controller which is in 192.168.100.30
$ovs-vsctl set-controller br0 tcp:192.168.100.30:6633
To remove openVswitch bridge connection
$sudo ovs-vsctl del-br br-0
$sudo ovs-vsctl del-port br-0 eth0.10
To remove the Controller
$sudo ovs-vsctl del-controller br-0
This comment has been removed by the author.
ReplyDelete