cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
349
Views
0
Helpful
0
Replies

DHCP Replay with anycast gateway on vrfs

.Guys I have a question about. DHCP Replay with anycast gateway.

I have been following the instructions from this guide (see link below on the DHCPv4 Relay on IRB section)on how to configure this. and I was able to get it work,

L2VPN and Ethernet Services Configuration Guide for Cisco NCS 540 Series Routers, IOS XR Release 7.4.x - Configure EVPN IRB, Distributed Anycast Gateway and E-tree [Cisco IOS XR Software (End-of-Sale)] - Cisco

I configured the first subnet with dhcp relay profile, I had to assign two unique IPs on lookback interfaces, one for PE1 and another one for PE2. This works fine. 

When I added a second subnet I had configured another dhcp profile adding another two unique IPs (one for PE1 and another one for PE2 reachable to the dhcp server) This works fine. 

When I added a Third subnet I had configured another dhcp profile adding another two unique IPs (one for PE1 and another one for PE2 reachable to the dhcp server) This works fine. 

Meaning for every network that needs dhcp I had to add two unique IPs (one for PE1 and another one for PE2 reachable to the dhcp server.)  so make this work. 

If only use the two unique ip address (on the looback interfaces) from the first subnet to relay the dhcp request, I found that second and third subnet or network keeps getting and ip address from the first subnet ip range or pool.

It looks like the dhcp server or NCS540 cisco router is not smart enough to see which vlan the request is coming from. 

I find  that using that many ips just to allow DHCP relay to work on a fabric network it too much config. there has to be a better way of doing this  

any ideas

 

 

0 Replies 0