From caac931a047ece58faf2e471cec9f623f94c8e29 Mon Sep 17 00:00:00 2001 From: Sayali Lunkad Date: Thu, 18 Sep 2014 23:28:05 +0530 Subject: [PATCH] Edits /etc/network/interface on network node This patch edits the configuration of the interface file to add configuration of the external bridge br-ex for the machine to access the external network. Change-Id: Ib14ada742ee03556ffa0cd1b1947b280574a2785 Closes-bug: 1371060 --- .../basic-install-guide/lab_network-node.xml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/training-guides/basic-install-guide/lab_network-node.xml b/doc/training-guides/basic-install-guide/lab_network-node.xml index 47152247..404e4b89 100644 --- a/doc/training-guides/basic-install-guide/lab_network-node.xml +++ b/doc/training-guides/basic-install-guide/lab_network-node.xml @@ -265,6 +265,28 @@ enable_security_group = True #ovs-vsctl add-br br-int Add the external bridge #ovs-vsctl add-br br-ex + + + Edit /etc/network/interfaces to make + the following changes: + +# VirtualBox vboxnet2 - OpenStack VM internet access +# (VirtualBox Network Adapter 3) +auto eth3 +iface eth3 inet manual +up ifconfig $IFACE 0.0.0.0 up +up ip link set $IFACE promisc on +down ip link set $IFACE promisc off +down ifconfig $IFACE down + +# For giving access to network node via. the external network +auto br-ex +iface br-ex inet static +address 192.168.100.52 +netmask 255.255.255.0 + + + Add port to external bridge #ovs-vsctl add-port br-ex eth3