Re: private ip for host-to-ve communication only [message #7508 is a reply to message #7482] |
Mon, 16 October 2006 16:07  |
John Kelly
Messages: 97 Registered: May 2006 Location: Palmetto State
|
Member |
|
|
You said:
Quote: | My HN is also hosting a regular ve with a regular, routeable external ip that, of course, should remain reacheable from outside
|
And:
Quote: | I am in the process of setting up a LAMP-Environment on the ve, and of course it needs contact to the outside world in order to make it easier for me to set it up
|
Then the LAMP VE needs a routeable IP, just like the other VE. Otherwise, how will you login for management purposes, from the outside? If you insist on using a private IP for the LAMP VE, then you must do a two-stage login (which will soon become tiresome and annoying), or set up some kind of tunnel.
If that is the case, consider using a veth device for the private IP, because AFAIK, there is no way to prevent OpenVZ from publishing an ARP entry for the IP address of a venet interface.
I'm not sure how that will work with a veth interface, because I have not tried it. You can read about veth devices in the wiki. Please let us know how it goes.

|
|
|