OpenVZ + VPS +dhclient
My intent is to have my guests (VPS systems) be avaialble to the network
without using iptables, SNAT, or NAT to forward packets. I am using fedora so
I have dhclient available to me and not dhcpcd, at least not with my package
base. Anyone know how to "grab" more than one IP address from a DHCP server
using dhclient. There is no -T option.
Thanks!
>===== Original Message From Kirill Korotaev <dev@...> =====
>Hello Eric,
>
>you are the first who wants such configuration :), but I suppose it is
>possible to do it if better understand what you are doing and what are
>your goals.
>
>Do you want your VPSs to be accessiable outside from the network?
>
>1. If the answer is "no", then you can setup any local IPs to VPSs and
>configure NAT in the host system. Thus your VPSs will have local IPs,
>will be able to connect to the network, but won't be accessiable from
>outside (though you can map one specific port of the host system to VPS
>port, i.e. can make VPS http server to appear on some specific port of
>host system IP).
>
>2. If the answer is "yes", then I suppose there is definetely something
>strange in your configuration, since DHCP can bring you arbitrary IP
>address and you will have to have some DNS tricks or otherwise you still
>won't be able to determine VPS IP easily from the outside.
>But the good news is that it is possible to do either :)
>I have no dhclient on my machine, but dhcpcd I use here accepts -T
(Continue reading)