Manually adding a new bridge

Revision as of 11:39, 6 February 2014 by Chrigu (Talk | contribs)


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

Last modified on 6 February 2014, at 11:39