Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Source based routing

1 byte added, 17:42, 20 July 2006
m
added missing bracket
* <code>$IP</code> is an IP address which should use non-default gateway. You can also use netmask here, e.g. <code>10.9.8.0/24</code> will mean that all VEs with addresses like 10.9.8.x will be routed through the given gateway.
* <code>$GW</code> is a gateway for this IP address.
* <code>$TBL</code> is any free table number, I use numbers from 6 upwards. Note that tables 250-255 are usually reserved (see <code>/etc/iproute2/rt_tables</code>).
Note that every new non-standard gateway will require another table number.