Dual Interface Virtual Servers Policy Based Routing

Virtual servers are connected to a private network and the public internet.

Dual NIC Network Model

After the network is configured on the host, the network interfaces and routes are defined on the container. Policy based routing is used to connect both the private LAN and public internet.

IP Tables

For convenience, we created two table names that will be used for routing.  These are created in the /etc/iproute2/rt_tables:

100     wanout
101     lanout

Policy Based Routing

On Debian systems, the routing is defined in the /etc/network/interfaces files.  An example configuration for a container is:

February 06th, 2013 Posted by Jon Jaroker Filed in: Network Model

Be the first to comment. Leave a comment

Your email address will not be published. Required fields are marked *