08-14-2022 01:28 PM
Nexus 9k's in vPC, using HSRP for routing. The DHCP Client gets a proper address, but cannot communicate. Cannot ping the gateway at all. But if you set the same address as static, it works. DHCP Relay is configured. I set up a mock Domain that mimics my production domain. Everything works just fine but DHCP Communication issues. Thoughts?
08-14-2022 01:50 PM
are you run ant IP guard or DHCP snooping ?
08-14-2022 03:29 PM
Neither.
08-14-2022 03:38 PM
DHCP server send the Default GW to Client as VIP of HSRP or the IP of one Peer ?
make sure that the DHCP server have config the right default GW.
08-14-2022 03:51 PM
VIP of HSRP. I made sure it was correct. Cannot ping it the gateway at all.
08-14-2022 04:13 PM
Now, what the different between assign static IP and GW in client and assign dynamic via DHCP ?
via DHCP the client Mac learn during the DHCP process,
I think the client connect to access SW and Access SW connect via PO to both NSK HSRP,
check the PO status it must be run and both member port must be pending.
I think one is suspend
08-15-2022 04:58 AM - edited 08-15-2022 04:59 AM
Do you check the PO ?
also share the
show vpc brief
08-14-2022 02:00 PM
Is the DHCP server on the 9k or is it something else? If it is on the 9k can you post that part of the configuration?
On a computer that has obtained its IP using DHCP can you post the output of these commands
ipconfig
arp -a
08-14-2022 03:36 PM
Windows 2019 is the DHCP server.
08-15-2022 02:57 PM
I am puzzled about the output that you posted. What device is 10.1.7.1 and what device is 10.1.1.68. Also can you clarify what mask is used for this subnet?
08-14-2022 11:34 PM
Hello
@MT117 wrote:
Nexus 9k's in vPC, using HSRP for routing. The DHCP Client gets a proper address, but cannot communicate. Cannot ping the gateway at all. But if you set the same address as static, it works. DHCP Relay is configured. I set up a mock Domain that mimics my production domain. Everything works just fine but DHCP Communication issues. Thoughts?
Is this all clients or just the one and what kind of host is it?
?
08-15-2022 04:54 AM
All clients. The are Windows clients on a Windows Server 2019 DHCP Server.
08-15-2022 12:14 AM
Hello,
odd indeed. I seem to recall somewhere that in VPC/HSRP environments, it is recommended to configure the peer-gateway command on both vPC peer switches. Not sure if that makes a difference in your specific case...
08-15-2022 06:09 AM - edited 08-15-2022 06:12 AM
Hello
@MT117 wrote:
. The are Windows clients on a Windows Server 2019 DHCP Server.
As a test can you do this on a single host pc>
clear down the ip stack of its NIC and refresh its winsock. reboot the host and test again
cmd
netsh interace ipv4 reset reset.log
netsh winsock reset rest.log
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide