Difference between revisions of "Manually adding a new bridge"

From stoney cloud
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Prerequisites)
(Configuration)
Line 12: Line 12:
  
 
= Configuration =
 
= Configuration =
 +
Login to the first VM node and manually add the new VLAN to the existing bonding interface (<code>bond0</code>). In the following example VLAN <code>141</code> is added:
 +
<source lang="bash">
 +
ip link add link bond0 name vlan141 type vlan id 141
 +
ip link set vlan141 up
 +
ip link show vlan141
 +
</source>
 +
<pre>
 +
71: vlan141@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT
 +
    link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
 +
</pre>
  
 
= Links =
 
= Links =

Revision as of 12:39, 6 February 2014

Overview

The following page describes the steps to manually add a new bridge (vmbrX) to an existing stoney cloud installation.

Prerequisites

To be able to add and configure a new bridge, you need to have the following informations present:

  • VLAN ID, such as 141
  • IP prefix, such as 192.0.2.0/24
  • Default gateway address (if any), such as 192.0.2.1
  • Broadcast address, such as 192.0.2.255

Make sure, that you have configured your additional VLAN on all the involved switches and routers beforehand.

Configuration

Login to the first VM node and manually add the new VLAN to the existing bonding interface (bond0). In the following example VLAN 141 is added:

ip link add link bond0 name vlan141 type vlan id 141
ip link set vlan141 up
ip link show vlan141
71: vlan141@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT 
    link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff

Links