Portal Home > Knowledgebase > Articles Database > Setting up Proxmox to automatically assign IPs with OVH network


Setting up Proxmox to automatically assign IPs with OVH network




Posted by Kijy, 10-12-2016, 12:00 PM
Hello, Does anyone have experience doing this? I am trying to figure out how to automatically assign Virutal Machines IPs based off their MAC address with OVH network.

Posted by nkawit, 10-12-2016, 12:08 PM
If you're doing this using a bridged interface you'd more than likely need to create a MAC for each IP you wish to use and change the MAC when you setup the VM. Last time I looked the IP's are MAC locked. If you're doing this in a routed setup, you should have no problem. Just throw the IP on the VM and ensure your routing is setup correctly. Are you using any software at present for the automation? or setting the VM's up manually?

Posted by Kijy, 10-12-2016, 12:12 PM
No I want to use a DHCP server to automatically assign IPs. https://forum.ovh.co.uk/showthread.p...auto-assign-IP With this method I would also not have to setup macs for each IP in the OVH panel.

Posted by nkawit, 10-12-2016, 12:23 PM
Doesn't matter. The last time I looked their routers specifically send traffic for IP's to a configured MAC address, whether that is the main server MAC or a MAC you added to their gui. This means if you simply add a VM to the bridged interface setup by default, its not going to work unless you add that MAC to the IP on their gui. You could use DHCP on a second bridge interface on your server so you can assign the IP's and default route, but the traffic would need to be routed to OVH not bridged. How much do you trust the VM's?

Posted by Kijy, 10-12-2016, 12:45 PM
Not very trusted. I did pay someone to do this once for me before and they used DHCP + ProxyARP with Shorewall as the firewall. udhcpd.conf contained http://pastebin.com/wWgAZ8ws



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
email alerts how (Views: 811)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.