[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Automatically provisioning IP addresses on a new VM



Hi James,

Thanks for getting back so promptly! Nice to see other Aussies on here :).

DHCP does sound like a good solution if you can make sure the only IP gotten back is the one allowed on this VM. 

Would you be able to elaborate on dom0 anti-spoofing? Are you referring to a specific mechanism that already exists, or setting up a routing script to ensure the correct IP is only allowed on the correct interface? If it's the later, I suppose this could be done via iptables?

Sorry, I'm good with my programming, but my networking knowledge isn't that strong!

Thanks :)

Andrew

On Sat, Nov 20, 2010 at 3:53 PM, James Harper <james.harper@xxxxxxxxxxxxxxxx> wrote:
> Hi all,
>
> I was wondering if anyone could point me in the right direction.
>
> I know there are plenty of VPS hosting companies out there who use Xen
who
> provide you with a VPS "available in 5 minutes" - meaning you can SSH
or RDP
> to it in 5 minutes.
>
> Obviously there must be some type of mechanism that allows them to
> automatically assign an IP to a HVM based VM. Some type of mechanism
to
> automatically provision this in all flavours of Linux they offer,
along with
> Win2k3 and Win2k8.
>
> Can anyone point me to a way of doing this? I've been looking through
the API
> docs, but all metrics are read only.
>

Further to my last email, DHCP in Dom0 could also do this easily. And
Dom0 anti-spoofing could ensure that if you change the IP address
manually the worst thing that would happen is that your DomU just
wouldn't have network connectivity anymore.

There probably aren't many situations where DHCP wouldn't be the right
solution.

James


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.