diff options
author | Nikolas Hermanns <nikolas.hermanns@ericsson.com> | 2017-03-14 08:31:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-14 08:31:26 +0000 |
commit | c5e40bf74b6726061a7bf6add287c5f65353e4a1 (patch) | |
tree | e567b199d848647381caff9ddaeb9c59717097d2 /sdnvpn/artifacts/quagga_setup.sh | |
parent | b36bffc1ab5174635ac27f57fe66cc780e9010aa (diff) | |
parent | 8b7a77c93d4534566a431871deafb22335306808 (diff) |
Merge "Fix quagga peering by working around the NAT" into stable/danube
Diffstat (limited to 'sdnvpn/artifacts/quagga_setup.sh')
-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 8983387..e20c193 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" |