a) GRE tunnels and Isolated Bridges

The reason for an isolated bridge is to connect VM’s to. The VM traffic goes from the isolated bridge (called isolated because it is not connected to an ethernet adapter) to the br0 previously defined bridge that is connected, in our case, to eth1.

see here:gre

Basic script to build the br2 bridge:

#!/bin/bash
#
echo ” add br2 ”
read -p “Press [Enter] key to continue…”
#
ovs-vsctl add-br br2
echo $?
#
echo ” add port tep via ovs-vsctl ”
read -p “Press [Enter] key to continue…”
#
ovs-vsctl add-port br0 tep0 — set interface tep0 type=internal
echo $?
#
echo ” ifconfig tep ”
read -p “Press [Enter] key to continue…”
#
ifconfig tep0 192.168.200.71 netmask 255.255.255.0
echo $?
#
echo ” gre ”
read -p “Press [Enter] key to continue…”
#
ovs-vsctl add-port br2 gre0 — set interface gre0 type=gre options:remote_ip=10.
1.1.62
echo $?
#

and a ovs-vsctl show output shows:

a07e83b1-ca9a-4092-bbe2-b1665d20a7c4
Bridge "br0"
Port "eth1"
Interface "eth1"
Port "br0"
Interface "br0"
type: internal
Port "tap1"
tag: 2
Interface "tap1"
Bridge "br2"
Port "br2"
Interface "br2"
type: internal
Port "gre0"
Interface "gre0"
type: gre
options: {remote_ip="10.1.1.62"}
ovs_version: "1.4.6"

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s