Posted on July 15, 2020 2:05 am
 |  Asked by Richard Loo
 |  93 views
0
0
Print Friendly, PDF & Email

In EVPN configuration guide, I read the following command has been used:

ip address virtual source-nat vrf A address 10.10.10.10
But I could not find any documentation to explain this command. What is used for? and How to use it?
Please give some hint about this command. Thanks.
0
Answered on July 15, 2020 3:22 am

Hi Richard,

With "ip address virtual" anycast gateway configuration, it is possible that the response to traffic sourced from the SVI (Example: ping, traceroute used for troubleshooting) could land on the "wrong" switch. This problem is solved by using the SNAT feature described here:

https://eos.arista.com/eos-4-15-3f/vxlan-routing-with-vrf/

The command you cited makes the SNAT source address explicit. Pre 4.21.3F and without "ip address virtual source-nat vrf" config, the SNAT source IP is automatically picked in each VRF - highest Loopback IP (if present) followed by highest SVI IP.

We also have a related show command "show ip virtual-router SNAT"

Hope this helps.

Cheers
Naveen

0
Posted by Richard Loo
Answered on July 16, 2020 2:50 am

Naveen, thanks for your reply.

I tried to access the link you provided:

https://eos.arista.com/eos-4-15-3f/vxlan-routing-with-vrf/

I got "Access Denied: You are not authorized to view this resource."

Can you please help me on this?

Thanks

 

0
Answered on July 16, 2020 3:16 am

Richard, To view the TOI content, I believe you'd need to be logged in using your corporate email address. Please try to create an account on arista.com with your company email address.

Post your Answer

You must be logged in to post an answer.