Multiple /24's on a host and containers [message #37228] |
Thu, 27 August 2009 14:33  |
bithead2
Messages: 5 Registered: July 2009
|
Junior Member |
|
|
What is the "right" way to assign 2 different /24's on a host node so that you can divvy up the IP addresses over multiple containers?
For example, let's say I want to do this on centos:
208.192.x.1/24
--------------- eth ---- CentOS OpenVZ Node ---- container 1 208.192.x.2
208.192.y.1/24 -- ---- ...................| ---- container 2 208.192.y.2
Thanks,
CJ
[Updated on: Thu, 27 August 2009 14:36] Report message to a moderator
|
|
|
Re: Multiple /24's on a host and containers [message #37246 is a reply to message #37228] |
Fri, 28 August 2009 12:59  |
tomp
Messages: 64 Registered: August 2007
|
Member |
|
|
Hi,
As i understand it, using venet, the host machine acts a router using /32 routing.
This means that as long as both subnets are correctly routed to the segment that the host machine is sitting in, the VPSs can use any mixture of IPs from either subnet.
|
|
|