05-16-2024 09:53 AM
I have an EVPN config for Cat9000 that is working from a L2 and L3 perspective. On the leaf switches, I put helper-address on the SVI that face the hosts. These SVIs are inside a VRF. The client send the DHCP Discover message but the leaf only bridges it into the VXLAN using the MDT rather than acting as a relay. Am I missing something?
This is the config I have:
ip dhcp relay information option vpn
ip dhcp relay information option
ip dhcp relay information trust-all
interface Vlan1230
description vni 11230 default-gateway
vrf forwarding VRF1
ip dhcp relay source-interface Loopback211
ip address 10.5.38.253 255.255.255.0
ip helper-address 192.168.255.1
no autostate
end
LEAF4# ping vrf VRF1 192.168.255.1 source lo211
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.255.1, timeout is 2 seconds:
Packet sent with a source address of 10.5.0.164
!!!!!
Thanks.
Solved! Go to Solution.
05-16-2024 08:38 PM - edited 05-16-2024 08:38 PM
This is what I needed to do: For the L2 leafs with Anycast GWs I needed to enable snooping. For the L2 and L3 Leafs, I needed to make the source the VLAN so that the scope could be determined properly.
05-16-2024 10:46 AM
Does it make a difference if you add the below command to the SVI:
ip dhcp relay address 192.168.255.1 use-vrf VRF1
HTH
05-16-2024 12:01 PM - edited 05-16-2024 12:02 PM
This command does not exist. Where is that supposed to go? It's not under the SVI:
LEAF4(config-if)#ip dhcp relay ?
information DHCP relay information option
short-lease Set and enable short lease for clients
source-interface Set source interface for relayed messages
05-16-2024 12:04 PM
What @Reza Sharifi meaning are the LO which yoh use as source in same vrf or not?
MHM
05-16-2024 08:38 PM - edited 05-16-2024 08:38 PM
This is what I needed to do: For the L2 leafs with Anycast GWs I needed to enable snooping. For the L2 and L3 Leafs, I needed to make the source the VLAN so that the scope could be determined properly.
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