cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
922
Views
1
Helpful
3
Replies

Problem creating anycast gateway in SVI with NDFC

svenus
Level 1
Level 1

Using the following version:

ND: 3.0.1f

NDFC: 12.1.3b

Standalone virtual ND installation in a lab, using EVE-NG to create a square topology with N9Kv testing b2b BGWs multisite scenario. 

Everything looks fine after populating the necessary config to bring up the multisite fabric. However, attaching a L3 network to the BGWs does not seem to populate the L3 anycast gateway config to the SVI. 

For example, created a network and specified VLAN ID 20, with gateway address 192.168.10.254/24. NDFC only generates config for VNI and EVPN. There is no SVI created when associating the network to the switch interfaces. 

Manually adding the following config to the switch works, but that also means I can't do a "recalculate and deploy" again in NDFC because NDFC sees those are "alien" config and will remove them due to "out-of-sync".  

Any insight or help?  Thanks.

Below is the SVI config across all the BGWs for one switch:

interface vlan 20

no shutdown

ip address 192.168.10.254/24

fabric forwarding mode anycast-gateway

1 Accepted Solution

Accepted Solutions

svenus
Level 1
Level 1

Ok, answering to my own question in case anyone has the same issue. 

Here's how to make things work:

1. Under Networks -> choose the created network name and click to it.

2. In the Network Overview page, navigate to the Network Attachments tab.

3. Select all the attachment, and then at Actions, choose Edit. 

4. Down below the "Edit Network Attachment" page, there are 2 freeform CLIs available for both VPC peers. Click Edit and configure the required CLI commands to each of the switches. 

5. Save and Deploy.  The next time any recalculate and deploy action will keep these freeform commands in place. 

Hope this helps for the others.

View solution in original post

3 Replies 3

svenus
Level 1
Level 1

Ok, answering to my own question in case anyone has the same issue. 

Here's how to make things work:

1. Under Networks -> choose the created network name and click to it.

2. In the Network Overview page, navigate to the Network Attachments tab.

3. Select all the attachment, and then at Actions, choose Edit. 

4. Down below the "Edit Network Attachment" page, there are 2 freeform CLIs available for both VPC peers. Click Edit and configure the required CLI commands to each of the switches. 

5. Save and Deploy.  The next time any recalculate and deploy action will keep these freeform commands in place. 

Hope this helps for the others.

Hello @svenus,

Thanks for your feedback.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

andreabat72
Level 1
Level 1

Hello Svenus,

the method you suggested works, but there is another more "official" one.


By default NDFC does not configure SVI interface on border and border gateway devices.

If you want to have anycast gateway and SVI active on Border and BGW you have to:
- go to the specific fabric
- select the network
- go to action and then edit
- you move from the "general parameters" menu to the "Advanced" menu
- you have to flag "Enable L3 Gateway on Border"
- Recalculate and deploy

You will see that this works correctly

HTH