OpenVZ Forum


Home » General » Support » *SOLVED* Default Gateway
Re: Default Gateway [message #7278 is a reply to message #7277] Tue, 10 October 2006 00:37 Go to previous messageGo to previous message
John Kelly is currently offline  John Kelly
Messages: 97
Registered: May 2006
Location: Palmetto State
Member
rahneej wrote on Mon, 09 October 2006 19:08

I am on a /27 network and i need each virutal machine to have .225 as its default gateway and 255.255.255.224 as its mask.


If .225 is the router gateway IP address, then use .226 for the HN, and .227 through .254 for the VEs, one IP per VE.

The only place where you need the subnet mask or the default gateway is on the HN. OpenVZ automatically handles VE routing for you. After you set up two or three VEs, you will see what I mean.

Don't make it more complicated than it needs to be.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using real eth device in VE
Next Topic: OpenVZ + OpenVPN + iptables
Goto Forum:
  


Current Time: Mon Aug 04 22:12:12 GMT 2025

Total time taken to generate the page: 1.10919 seconds