OpenVZ Forum


Home » General » Support » No Public IP on Hardware Node
No Public IP on Hardware Node [message #37383] Sat, 05 September 2009 10:16 Go to next message
marc@ion is currently offline  marc@ion
Messages: 3
Registered: September 2009
Junior Member
Hi,

Is it possible to have the hardware node not have a public ip address whereas the containers to have one?

Example setup:
- Hardware node has only a backend private ip for management:
192.168.123.100/255.255.255.0

- Container has a public IP:
70.80.90.166/255.255.255.224 with gateway 70.80.90.161

Is this possible? Or will the hardware node always need a public IP for routing?

I'm looking into this as I only have a pool of 32IP at my disposal and I want to free up the IP used by the hardware node.

Thanks in advance,

Best regards,

Marc M.
Re: No Public IP on Hardware Node [message #37385 is a reply to message #37383] Sat, 05 September 2009 18:18 Go to previous messageGo to next message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
I do not know details about venet, however with veth it is no problem.

In my setup I have running 4 different subnets (one public!) in different containers and the HN. My way is:
* Each network is accessible by VLAN on HN (other ways possible!)
* For each such VLAN a bridge is created (but with no IP!)
* Each container bridges to the appropriate bridge on the host

This way my HN has only one interal IP but the containers are in different subnets, including my public one.

Regards,
divB
Re: No Public IP on Hardware Node [message #37388 is a reply to message #37385] Sat, 05 September 2009 21:51 Go to previous message
marc@ion is currently offline  marc@ion
Messages: 3
Registered: September 2009
Junior Member
Thanks, this is enough to put me in the right direction.

By using the veth keyword I came up with this:
http://wiki.openvz.org/Using_veth_and_brctl_for_protecting_H N_and_saving_IP_addresses

which documents exactly what I need.

Thanks again.

Best regards,

MM
Previous Topic: vzdump question
Next Topic: Debian GNU/Linux 5.0.2 'Lenny' / sparc64
Goto Forum:
  


Current Time: Sun Jul 14 12:29:51 GMT 2024

Total time taken to generate the page: 0.02308 seconds