diff options
author | Romanos Skiadas <rski@intracom-telecom.com> | 2017-03-13 15:08:54 +0200 |
---|---|---|
committer | Nikolas Hermanns <nikolas.hermanns@ericsson.com> | 2017-03-14 08:31:02 +0000 |
commit | 8b7a77c93d4534566a431871deafb22335306808 (patch) | |
tree | 94ee486e4bd2b81db7e9d5879d1094172b5f0607 /sdnvpn/artifacts | |
parent | 816b2ea7ac600885b777e906bfe944f16e5fd8db (diff) |
Fix quagga peering by working around the NAT
Quagga peering doesn't seem to work over the NATted openstack external
network. To work around this, directly patch the quagga instance to the
external network and give it a fixed IP in that network. Then, all the
peering traffic goes over that patched interface.
Change-Id: I8d9d8fef4e86839c821f83e564d5c49cc15e43ae
JIRA: SDNVPN-114
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
(cherry picked from commit 1ad4cd4d35bcd0d4d9898650eb0452b184b55f77)
Diffstat (limited to 'sdnvpn/artifacts')
-rw-r--r-- | sdnvpn/artifacts/quagga_setup.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sdnvpn/artifacts/quagga_setup.sh b/sdnvpn/artifacts/quagga_setup.sh index 6da50e1..0b810a8 100644 --- a/sdnvpn/artifacts/quagga_setup.sh +++ b/sdnvpn/artifacts/quagga_setup.sh @@ -12,6 +12,11 @@ sleep 20 # Variables to be filled in with python NEIGHBOR_IP=%s OWN_IP=%s +# directly access the instance from the external net without NAT +EXT_NET_MASK=%s + +ip link set ens7 up +ip addr add $OWN_IP/$EXT_NET_MASK dev ens7 ZEBRA_CONFIG_LOCATION="/etc/quagga/zebra.conf" DAEMONS_FILE_LOCATION="/etc/quagga/daemons" |