OpenVZ Forum


Home » Mailing lists » Users » Kernel bug or hardware problem?
Re: venet and several interfaces in one CT [message #47185 is a reply to message #47183] Tue, 17 July 2012 15:31 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

On Jul 17, 2012 11:46 AM, "Stealth" <st@overlogic.org> wrote:
>
> Hi there,
>
> I have a CT with three interfaces, external (8.0.0.1), local (
192.168.0.1) and internal (10.0.0.1). How can I configure routing in this
case to use 192.168.0.1 for subnet 192.168.0.0/24 , 10.0.0.1 for
10.0.0.0/24and 8.0.0.1 for other?Now I use network mask for this but
I'm not sure this
is a right way.

Just add IPs for all three networks to a CT (with proper masks) and you are
all set.

>
>
>
>
>
>
>


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ubuntu 12.04 template issue (vzctl enter VEID hangs)
Next Topic: routing from external through HN to loopback on CT
Goto Forum:
  


Current Time: Thu Jul 24 18:06:37 GMT 2025

Total time taken to generate the page: 0.19155 seconds