Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This document provides concepts and procedures for deploying an NFVi with Airship 1 Installer in a bare metal infrastructure.

...

3. Enable IP masquerading

Code Block
languagebash

...

sudo iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
sudo iptables -A FORWARD -i eth1 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT


To save settings to iptables either by installing iptables-persistent:


Code Block
languagebash
sudo apt-get install iptables-persistent

...

if it was already installed please update setting by running:


Code Block
languagebash
sudo dpkg-reconfigure iptables-persistent

or execute the following command:

sudo iptables-save > /etc/iptables/rules.v4

Manifests


TBD


Airship is a declarative way of automating the deployment of a site. Therefore, all the deployment details are defined in the manifests.

...