cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

338
Views
15
Helpful
23
Replies
Beginner

Re: Nexus_DHCP_device can not gain IP address

thanks
but what for this command "ip default-gateway 192.168.210.1"??? I dont understand. Could you explain me?
Can I don't use it?
Highlighted
VIP Advisor

Re: Nexus_DHCP_device can not gain IP address

If this the device only doing L2, theris L3 routing required in the Swithch

below command only rquired to reach managment. (rather we use to use ip route command)

 

ip default-gateway 192.168.210.1

BB
*** Rate All Helpful Responses ***
VIP Advisor

Re: Nexus_DHCP_device can not gain IP address

Hello

This switch can be a host switch - no up routing so basically it’s just like a pc

 

ip address

subnet mask

default gateway 

 

The D/G is required for remote access to the switch otherwise without it you would not be able reach it off it own subnet 



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
Beginner

Re: Nexus_DHCP_device can not gain IP address

thank you, guys
everything works fine!

@paul driver 

@Georg Pauwen 

zachrhart@gmail.com 

@balaji.bandi 

VIP Mentor

Re: Nexus_DHCP_device can not gain IP address

Hello,

 

how did you resolve this ?

Beginner

Re: Nexus_DHCP_device can not gain IP address

hello
everything configured like you all mentioned here. The problem was that interface vlans was on down state. I just used command "no shutdown" and everything had worked fine

Re: Nexus_DHCP_device can not gain IP address

Well sorry but these is just like I am keeping my point of View As u said that Nexus all ports are SFP so you have given one Cisco switch with it and then on that switch you have connected server and on that server you have created various DHCP Pool.
But what mine thinking say is Its good what you have did atleast I got to know such scenerio also but what if
1->You have Created a DHCP IP Pool on your Nexus device only 

2-> and after that you would have created multiple VLANs as you have already Created and also VLAN SVI on Nexus Only.

3-> what these could have done is your Nexus would have worked as an DHCP Server as it has the capacity to do that I believe that so because I have personally not worked on Nexus
4-> The setup would have been much easier sorry but I just felt that from my end to explain things according to my scenerio

I hope with Server you have not only created DHCP server pool but also AD & Other Domain settings.

 

VIP Mentor

Re: Nexus_DHCP_device can not gain IP address

Hello,

 

on a side note, and I don't know if this has already been mentioned, your access port needs the 'spanning-tree portfast' command, try and add that:

 

interface FastEthernet0/2
switchport access vlan 402
switchport mode access

spanning-tree portfast

Beginner

Re: Nexus_DHCP_device can not gain IP address

@Georg Pauwen 

@paul driver 

@balaji.bandi 

zachrhart@gmail.com Hello, guys!

one more question about DHCP Option 82. Do I need to configure it on nexus?

In general for what we use this option? 

And what about the trusted interface? Should I configure a trusted interface? (Ensure that the DHCP server is connected to the device using a trusted interface. https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/6-x/security/configuration/guide/b_Cisco_Nexus_9000_Series_NX-OS_Security_Configuration_Guide/b_Cisco_Nexus_9000_Series_NX-OS_Security_Configuration_Guide_chapter_01101.html)

 

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards