Link to home
Start Free TrialLog in
Avatar of Gas
Gas

asked on

DHCP from Server or from Router

I would like to ask what is better for DHCP , to provided by router or by server?

I know that there are these 2 options but i don't know what is better to use.
Avatar of M A
M A
Flag of United States of America image

It is always better to use dedicated server for DHCP.
If you have DC install DHCP role in that server and configure.
https://blogs.technet.microsoft.com/teamdhcp/2012/08/31/installing-and-configuring-dhcp-role-on-windows-server-2012/
Avatar of Gas
Gas

ASKER

what are the disadvantages when the dhcp is coming from router?
The server will update dns records, ptr records.based on dhcp. The router won't.
It is much easier to set up reservations if you need to.
You have an easy view of all leases and what they are assigned to. Router may only give you ip and mac address.
ASKER CERTIFIED SOLUTION
Avatar of M A
M A
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
A router has way less DHCP options and features than a full DHCP server does.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Gas

ASKER

The problem to use dhcp from server is the need to use relays  to the network (this will increase the complexity of the network)

Btw i think that i can point (with some way ) the dhcp to server dns
most dhcp servers can update the dns.

the complexity to maintain dhcp forwarders and dhcp notifications to the dns is similar. forwarders are likely easy to maintain and less error prone once setup.

if you do not need to update the dns with dhcp leases, stick to the router's dhcp. if you do, use whatever builtin dhcp already exists in your setup and use forwarders.
Avatar of Gas

ASKER

I am looking for a tutorial for  server dhcp with vlan on switch. (i am lookig for a step-by step tutorial)
Please close this and open a new question.
You will get a better response for this.
you can put the dhcp server in the same vlan as the clients. And not bother since the vlan wont even matter.

If you have multiple vlans or cannot use the same vlan for any reason, you will need a dhcp forwarder. Sometimes called an arp proxy. The tuto would depend on the router brand. Cisco is well documented. Fof a change
Avatar of Gas

ASKER

i am using mikrotik , when you say dhcp forwarder you mean agent ?
my guess is you are looking for this
https://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Relay
but i do not know much about microtiks