Changes

Manually adding a new bridge

139 bytes added, 09:03, 21 February 2014
/* Create a new bridging device */
<pre>
71: vlan141@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT
link/ether XX38:XX60:XX77:XX9c:XX98:XX 40 brd ff:ff:ff:ff:ff:ff
</pre>
In order to bring the newly configured VLAN up after a system reboot, the network configuration needs to be extended. Edit <code>/etc/conf.d/net</code> and add the following entryentries:
$EDITOR /etc/conf.d/net
#-----------------------------------------------------------------------------
# VLAN (802.1q support)
### Add the new vlan to the bond device
vlans_bond0="130 120 110 140 141"
bridge_vmbr4="vlan141"
bridge_add_vlan141="vmbr4"
config_vmbr4="192.168.141.13/24 brd 192.168.141.255" # 192.168.141.13 is the ip address of the vm-node.(only required on primary- and secondary master node for the dhcp server, on all others use: null)
rc_net_vmbr4_provide="!net" # Otherwise stopping or restarting the bridge, will bring all net-services down.
</source>
16
edits