I need some guidance setting up an OVS node in my lab. I've been using linux 
bridging and decided to give OVS a shot. I am having some issues getting the 
network to work properly (cannot ping other nodes on network).

The environment is CentOS 6.4 with OVS 1.9

I have 2 interfaces eth2 and eth4 setup for a bond, and that bond goes to a 
real OVS switch, and from there I have 3 fake switches. Everything is done 
through /etc/sysconfig/network-scripts/ifcfg-* 

bond0 = eth2 eth4
br0 = real bridge
mgmtbr0 = fake bridge for management network, VLAN 100
sanbr0 = fake bridge for SAN network, VLAN 1000
cloudbr0 = fake bridge for VM guest networks, VLAN 0 (Utilizing CloudStack, it 
will automatically talk to OVS to create guest networks off of this network. 
Correct me if I am wrong, but I think this is the best way to do that. I don't 
want this bridge to have a VLAN because CloudStack will use this bridge to 
place it's networks (it creates ports off of the bridge iirc), if it had a VLAN 
such as 101, I would be afraid I would end up getting Q in Q, and I do not want 
that)

Here are my configuration scripts:

bond0

DEVICE="bond0"
BOOTPROTO="none"
ONBOOT="yes"
NM_CONTROLLED="no"
HOTPLUG="no"
MTU="9000"
DEVICETYPE="ovs"
TYPE="OVSBond"
OVS_BRIDGE="br0"
BOND_IFACES="eth2 eth4"
OVS_OPTIONS="bond_mode=active-backup lacp=off vlan_mode=trunk
other_config:bond-detect-mode=miimon
other_config:bond-miimon-interval=100"

br0

DEVICE="br0"
ONBOOT="yes"
NM_CONTROLLED="no"
HOTPLUG="no"
DEVICETYPE="ovs"
TYPE="OVSBridge"
BOOTPROTO="static"
STP="off"
MTU="9000"
OVS_EXTRA="br-set-external-id $DEVICE bridge-id $DEVICE"

mgmtbr0

DEVICE="mgmtbr0"
ONBOOT="yes"
NM_CONTROLLED="no"
BOOTPROTO="static"
TYPE="OVSBridge"
DEVICETYPE="ovs"
HOTPLUG="no"
MTU="9000"
STP="off"
OVS_EXTRA="br-set-external-id $DEVICE bridge-id $DEVICE"
OVS_OPTIONS="br0 100"
IPADDR="X.X.X.X"
NETMASK="255.255.255.0"

sanbr0

DEVICE="sanbr0"
ONBOOT="yes"
NM_CONTROLLED="no"
BOOTPROTO="static"
TYPE="OVSBridge"
DEVICETYPE="ovs"
HOTPLUG="no"
MTU="9000"
STP="off"
OVS_EXTRA="br-set-external-id $DEVICE bridge-id $DEVICE"
OVS_OPTIONS="br0 1000"
IPADDR="X.X.X.X"
NETMASK="255.255.255.0"

cloudbr0

DEVICE="cloudbr0"
ONBOOT="yes"
NM_CONTROLLED="no"
BOOTPROTO="static"
TYPE="OVSBridge"
DEVICETYPE="ovs"
HOTPLUG="no"
MTU="9000"
STP="off"
OVS_EXTRA="br-set-external-id $DEVICE bridge-id $DEVICE"
OVS_OPTIONS="br0 0"

Thanks for taking a look!

John
----------------------------------------------------------------------
The information in this message is intended for the named recipients only. It 
may contain information that is privileged, confidential or otherwise protected 
from disclosure. If you are not the intended recipient, you are hereby notified 
that any disclosure, copying, distribution, or the taking of any action in 
reliance on the contents of this message is strictly prohibited. If you have 
received this e-mail in error, do not print it or disseminate it or its 
contents. In such event, please notify the sender by return e-mail and delete 
the e-mail file immediately thereafter. Thank you.



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

Reply via email to