Configura il DHCP su una Edge NSX-v (EN)
Assign IPs to your VMs through DHCP
Assign IPs to your VMs through DHCP
Last Updated on 22nd November 2021
DHCP allows automatic assignment of private IPs to VMs behind your NSX Edge Services Gateway.
This guide explains how to setup the DHCP service.
In the vSphere interface menu, go to the Networking and Security
dashboard.
On the left side, navigate to the NSX Edges
section then click on the appliance you're setting up.
In the DHCP
tab, you'll see 3 options:
We'll set up those 3 services in this guide.
Let's start with Pools
. Click on it.
The Pools
menu allows the traditional setup of the DHCP service.
We'll set up a scope for it and will start the service.
Click on + Add
.
In the New DHCP Pool window, fill in the informations you need:
DHCP Options
tab but those are outside of the scope of this guideClick on Add
when done.
The DHCP pool is ready but you need to click Start
and then Publish
to start the service and register the changes.
The DHCP is now operational. You can see the service status and the basic information on the pool.
Now on the left side, click on Bindings
.
Bindings will always assign the same DHCP address to a specific network interface, depending on a specific information.
Click on + Add
when ready.
There are 2 ways to create bindings:
For VM NIC Binding, type in the information as follows:
Don't forget your DNS Settings
.
They can be put manually or configured automatically.
Click on Save
when done.
Now click on + Add
again and choose Use MAC Binding
.
Again, do not forget your DNS Settings
.
Click on Save
when done.
You can now Publish
our changes.
The DHCP Bindings and their basic settings are now visible.
Click on Relay
.
The set up of a DCHP relay implies the existence of routes to the target DHCP servers.
First, create the Global Configuration by clicking Edit
.
You can add:
Click Save
when ready.
Now click + Add
to set up an agent.
The vNIC will be the Edge Services Gateway interface that will forward the DHCP requests.
The Gateway Address is the address that will forward the requests.
Click Add
.
You can now Publish
the changes.
Your DHCP Relay will be functional after a short wait.
Join our community of users on https://community.ovh.com/en/.
Prima di inviare la valutazione, proponici dei suggerimenti per migliorare la documentazione.
Immagini, contenuti, struttura... Spiegaci perché, così possiamo migliorarla insieme!
Le richieste di assistenza non sono gestite con questo form. Se ti serve supporto, utilizza il form "Crea un ticket" .
Grazie per averci inviato il tuo feedback.
Accedi al tuo spazio nella Community Fai domande, cerca informazioni, pubblica contenuti e interagisci con gli altri membri della Community OVHcloud
Discuss with the OVHcloud community