01-26-2021 09:02 PM - edited 01-26-2021 09:11 PM
Hi All,
Just need some help with my DHCP realy config on Cisco NCS540 running XR 7.1.1
Actually i was using Huawei switch before and below are the configs on Huawei for the DHCP.
interface Vlanif20
description 1st NNI - Voice Vlan
ip address 172.20.9.1 255.255.255.0
dhcp dscp-outbound 40
dhcp select relay
ip relay address 172.26.0.132
ip relay address 172.26.0.133
dhcp relay source-ip-address 172.20.9.1
#
I’m replicating the same config on the CISCO NCS540 as follows
dhcp ipv4
profile VOICE relay
helper-address vrf default 172.20.9.1
!
interface Bundle-Ether1.20 relay profile VOICE
!
interface Bundle-Ether1.20
description 1st NNI - Voice vlan
service-policy output MARK_VOICE_QOS_P5_new
ipv4 helper-address vrf default 172.26.0.132
ipv4 helper-address vrf default 172.26.0.133
ipv4 address 172.20.9.1 255.255.255.0
encapsulation dot1q 20
!
But this doesn't seem to be working, really apprecite if someone could help me with this.
Thanks.
01-26-2021 10:51 PM
I think you've got some configuration the wrong way, try it like this:
dhcp ipv4
profile VOICE relay
helper-address vrf default 172.26.0.132
helper-address vrf default 172.26.0.133
!
interface Bundle-Ether1.20 relay profile VOICE
!
interface Bundle-Ether1.20
description 1st NNI - Voice vlan
service-policy output MARK_VOICE_QOS_P5_new
ipv4 address 172.20.9.1 255.255.255.0
encapsulation dot1q 20
!
I believe the interface-level helper-address command is for other broadcast to unicast conversions except DHCP.
01-27-2021 05:19 PM
Hi Fredrik,
Thanks for the reply yes i changed the config but it's still stuck at DHCP offer stage the request is not going from client to server.
02-21-2023 01:04 AM
Hi, I'm currently opening a case for a similar issue...
After upgrade from 7.3.2 to 7.7.2, we started having the same issue. Relay request goes to server. But reply comes back, it is not forwarded on the LAN side.
7.6.2 and 7.8.1 fail also...
I'am opening a case to see if there is a trick or if it's a bug.
The platform having the issue is N540X-6Z18G-SYS-A, on bigger modeks (non L) it looks to work.
Regards
Miguel
02-21-2023 04:25 AM
02-21-2023 04:52 AM
Yeah, many thanks, this totally match our issue. I have updated the case with this info and requesting that engineer provide us the patch for 7.7.2 (it looks that we can only download the one for 7.6.2.
Thanks again
Miguel
11-22-2024 10:42 AM
Had this same issue. Found this thread linked to the bug...I was able to remove/reapply the dhcp relay config to get this operational again...though not sure for how long..
11-22-2024 12:06 PM
@BrianDean when was not working, you know if DHCP Server was getting the Discover? any debug you took? Is the DHCP Server a Linux Server or any other Cisco Router?
Diego
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