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
This commit is contained in:
Sayali Lunkad 2014-09-18 23:28:05 +05:30
parent 2dd44182f3
commit caac931a04

View File

@ -265,6 +265,28 @@ enable_security_group = True</programlisting></para>
<screen><prompt>#</prompt><userinput>ovs-vsctl add-br br-int</userinput></screen>
<para>Add the external bridge</para>
<screen><prompt>#</prompt><userinput>ovs-vsctl add-br br-ex</userinput></screen>
</listitem>
<listitem>
<para>Edit <filename>/etc/network/interfaces</filename> to make
the following changes:</para>
<programlisting>
# 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
</programlisting>
</listitem>
<listitem>
<para>Add port to external bridge</para>
<screen><prompt>#</prompt><userinput>ovs-vsctl add-port br-ex eth3</userinput></screen>
</listitem>