[Users] Can I share host ip with guest?

H.H. Ding hhding.gnu at gmail.com
Fri Dec 21 06:34:25 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Can't It work like chroot but with more isolated environment?

Peter Machell 写道:
> On 21/12/2007, at 8:13 PM, H.H. Ding wrote:
> 
>> Because lack of ip address, I want share host os ip with guest os,
>> howto?
> 
> You cannot have two devices with the same IP address on one network.
> This is a fundamental law of networking and there is no way around it.
> 
> However, by using an internal IP address on the guests, and port
> forwarding from the host, you can still present your services to the
> Internet from the one external IP.
> 
> The instructions at
> http://wiki.openvz.org/Using_NAT_for_VE_with_private_IPs will show you
> how to do this.
> 
> However, I find it easier to have a NAT router above the host
> terminating the external IP, and use internal IPs on the same subnet for
> both the host and the guests.
> 
> I hope this helps.
> 
> regards,
> Peter.
> 
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFHa6TBJo9Njjkvy34RAgP4AKCLOF0HsnEWJTFcMx6iDsljxBN7nACgiXTY
ZhH0T5EAWkbBsrdZD0v0VV8=
=tHSM
-----END PGP SIGNATURE-----


More information about the Users mailing list