NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
robina_80
Oct 21, 2013Aspirant
routing from dhcp server to switch
Hi all, If i were to create on my dhcp server different networks (vlans) how would i route it from the dhcp server to the different vlans on the switch( obviously i will have to create the differe...
fordem
Oct 22, 2013Mentor
It may be a little more complex than you think AND Netgear has also blurred the lines between what they consider layer 2 & layer 3 switches making the decision even more challenging.
First - background - traditionally L2 switches do not route, L3 switches do - so, at least in theory - you need an L3 switch to do what you want - another option is to use an L2 switch and a router that supports VLANs.
Second - for what you are trying to do - you need to use something called DHCP relay - which is where a device known as an agent will relay the DHCP request from the VLAN where the address is required to the VLAN where the DHCP server resides - the DHCP agent can be on a PC with a static address, or, the L3 switch, or the router linking the VLANs - so whatever switch you choose you need to make sure it supports DHCP relay.
Third - your DHCP server also has to be able to work with a relay agent or you won't get the address you need, where you need it - not all DHCP servers can do this.
First - background - traditionally L2 switches do not route, L3 switches do - so, at least in theory - you need an L3 switch to do what you want - another option is to use an L2 switch and a router that supports VLANs.
Second - for what you are trying to do - you need to use something called DHCP relay - which is where a device known as an agent will relay the DHCP request from the VLAN where the address is required to the VLAN where the DHCP server resides - the DHCP agent can be on a PC with a static address, or, the L3 switch, or the router linking the VLANs - so whatever switch you choose you need to make sure it supports DHCP relay.
Third - your DHCP server also has to be able to work with a relay agent or you won't get the address you need, where you need it - not all DHCP servers can do this.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!