OpenVZ Forum


Home » General » Support » Public/Private IP Configuration
Public/Private IP Configuration [message #39766] Mon, 31 May 2010 01:56
Mark Barnes is currently offline  Mark Barnes
Messages: 1
Registered: May 2010
Location: United Kingdom
Junior Member
From: *adsl.hotchilli.net
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
Previous Topic: [SOLVED]: CentOS 5.2 HN and VPS - man and less problems in VPS
Next Topic: [SOLVED] /dev/initctl timeout, Debian Squeeze CT won't boot.
Goto Forum:
  


Current Time: Thu Nov 23 07:07:35 GMT 2017