IP and MAC Anycast
The IP and MAC anycast feature enables you to configure the anycast gateway
MAC to be used by VLANs that enable IP anycast. Using this feature, you can set the same
IP address and MAC address on all edge technology devices. This allows seamless IP
mobility in the network for edge devices.
Note
IP and MAC anycast should be used
only with VXLAN tenant VLANs. IP and MAC anycast should not be used with any
protocols other than MLAG, since it might cause MAC flaps.
Note
Switching through a VXLAN tunnel to a
remote L3 Anycast gateway is not supported.
To configure IP/MAC anycast:
- Enable IP anycast on the desired
VLANs by using the following command:
enable ip
anycast {vlan} vlan_name
- Specify the anycast gateway MAC
address that is used by VLANs that enable IP anycast by using the following
command:
configure ip
anycast
mac [none | mac]
- To specify that configured secondary IP addresses respond to ARP
requests with the anycast MAC address, use the following command and specify the
anycast option:
configure [ {vlan} vlan_name
| vlan
vlan_id]add
secondary-ipaddress
anycast [ip_address {netmask} | ipNetmask]
- To configure a source VLAN to use as the source IP address in the BOOTPrelay
packet, use the following command:
configure bootprelay
dhcp-agent
source-vlan {vlan_name} {vr
vrid}
- To enable or disable a reply to multicast or anycast echo requests,
use the following commands:
enable icmp ipv6
[ignore-multicasts |
ignore-anycasts]
disable icmp
ipv6 [ignore-multicasts |
ignore-anycasts]
To view IP and MAC anycast information:
- For IP anycast status (enabled or
disabled), use the following command:
show vlan {virtual-router
vr-name}
- For IP anycast MAC information,
use the following command:
show ipconfig {ipv4} {vlan
vlan_name | tunnel
tunnel_name}
- For IPv6 anycast MAC information,
use the following command:
show ipconfig ipv6 {vlan
vlan_name | tunnel
tunnel_name}
- To view configured secondary IP addresses on a VLAN, use the following
command:
show vlan {virtual-router
vr-name}
- To view the selected source VLAN for BOOTPrelay, use the command show bootprelay configuration {ipv4
| ipv6} {{vlan
vlan_name } | {vr
vr_name}} .
- To view configuration information for ICMP multicast and anycast echo
requests, use the following command:
show ipconfig
ipv6