User-configurable MAC address per IP interface
If an IP MAC address is not configured, the IP interface uses the MAC address from the router or stack.
User-configurable MAC address per IP interface supports the following unicast and multicast protocols:
- IPv4 support: ARP, BGP, OSPF, RIP, PIM-SM, PIM-DM, IGMP, MSDP
- IPv6 support: BGP4+, Neighbor Discovery (ND), OSPFv3, RD, RIPng, PIM-SM, PIM-DM, MLD
In addition to the unicast protocol support, the configured MAC address is used by IPv4 and IPv6 unicast software-generated packets (for example, ping) and IPv4 and IPv6 hardware-forwarded packets. For IPv4 addresses that are configured on the IP interface, gratuitous ARP is generated when the IP MAC address is configured. For IPv6 addresses, Duplicate Address Detection (DAD) is started and link-local addresses are regenerated when the IP MAC address is configured.
If Virtual Router Redundancy Protocol (VRRP) IPv4 or IPv6 sessions are configured on an interface where an IP MAC address is configured, the VRRP sessions continue to use the virtual MAC address assigned to the virtual router ID (VRID) for any ARP or ND queries.
Some restrictions apply to user-configurable MAC address per IP interface:
- The IP MAC address must be unique on the device including any interfaces. If the device is configured as part of a stack, the IP MAC address must not be the same as the MAC address of other stack units. If a stack MAC address is configured, it must not be the same as the IP MAC address on any interface.
- The IP MAC address configured manually for a VE interface must be unique within the same VLAN.
- There is a maximum number of IP interfaces (248) on which an IP MAC address can be
configured and the number of VRRP virtual interfaces that can be supported simultaneously
is affected by any increase over the default number of 120 interfaces. If the
system-max max-ip-maccommand is set above 120, a reduction in the number of IPv4 VRRP entries supported is calculated as configured-value - 120. For example, if thesystem-max max-ip-macvalue is set to 130, the number of IPv4 VRRP entries is reduced by 10 entries (130-120).