Public/Private IP Configuration [message #39766] |
Mon, 31 May 2010 01:56 |
Mark Barnes
Messages: 1 Registered: May 2010 Location: United Kingdom
|
Junior Member |
|
|
Hi,
I've searched regarding this issue however haven't found anything that really applies to what I'm looking for so a nudge and a little bit of guidance in the right direction would be appreciated.
Currently we have an OpenVZ hardware node with two NIC cards of which only one is currently being used for public IPs. However, we would like to connect the second NIC to a private network so we can run development containers that are only accessible within our network alongside our production containers that are accessible via the public IPs and NIC.
We don't require individual containers to have both a public and a private IP address, but simply a way to configure each container to route through the public or private NIC respectively.
Obviously I can create container 10x with the private IP 192.168.x.y however I need to be able to tell said container to route traffic through eth1 rather than eth0 and vice versa for the public containers.
Any help with this would be much appreciated.
Regards,
Mark
|
|
|