cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2589
Views
5
Helpful
5
Replies

How to configure DHCP on a Vlan on Nexus 9K, if my dhcp server is kept on different location.

waseemrakkasgi
Level 1
Level 1

How to configure DHCP on a Vlan on Nexus 9K, if my dhcp server is kept on different location.

 

please suggest on how configure it.

 

Thanks

Mohammed

5 Replies 5

Mark Elsen
Hall of Fame
Hall of Fame

 

 - dhcp is a layer2 protocol and will initially only be available on the local vlan where the dhcp server must then be present too; however using dhcp relay commands ; it can be at at different location ; google on 'dhcp relaying' or 'dhcp relay' etc, for more info.

M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

Deepak Kumar
VIP Alumni
VIP Alumni

If you have DHCP server in different vlan then you have to configure DHCP reply "IP helper-address" command under the other vlans. 

 

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Its totally on different physical location but connected though network. 

is it possible in Nexus 9k.

>Its totally on different physical location but connected though network. 

  It's not advisable to do that, because usually DHCP can be considered as a critical service; it would be advisable to keep the DHCP server 'local' to the vlan's it will serve and or more or less direct connected to your nexus 9k (this is not really needed, but it would be better to have it on the same Intranet).

M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

clsulliv
Cisco Employee
Cisco Employee

You can configured a dhcp relay address on the SVI that is present for the subnet where you have hosts trying to grab a DHCP address. The DHCP server will need to be L3 reachable from the N9K to perform this action. The configuration should be documented in the below link:

 

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/security/configuration/guide/b_Cisco_Nexus_9000_Series_NX-OS_Security_Configuration_Guide_7x/b_Cisco_Nexus_9000_Series_NX-OS_Security_Configuration_Guide_7x_chapter_01100.html...

 

Also, this will include any guidelines and limitations that are present when using this feature.