[Users] several nics on the hn

Antonio Querubin tony at lavanauts.org
Sat Oct 8 02:54:05 EDT 2011


On Thu, 6 Oct 2011, Sam Trenholme wrote:

> However, what is missing is a RTFM on having a single container use
> different interfaces to route to different IP ranges.  For example, a
> host that is a router with separate interfaces to 192.168.1.0/24 and
> 192.168.42.0/24, as well as a gateway to the internet, and we want a
> container on this host to access all three networks (for example, a
> container running Squid as a web proxy).

> So, here's my question: Is there a page out there which details
> exactly how to have an OpenVZ container use two or more different
> interfaces on the host machine?

http://wiki.openvz.org/VEs_and_HNs_in_same_subnets

The example covers 2 NICs.  You can generalize it to N NICs.

Antonio Querubin
e-mail:  tony at lavanauts.org
xmpp:  antonioquerubin at gmail.com


More information about the Users mailing list