Подвійний інтерфейс Політика віртуальні сервери маршрутизації на основі

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:

6 лютого, 2013 Опубліковано Джон Jaroker Поданий в: модель мережі

Залиште перший коментар. Залишити коментар

Ваша електронна адреса не буде опублікований. Обов'язкові поля позначені *