Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX] How to assign a MAC address

0

0

Article ID: KB22577 KB Last Updated: 05 Mar 2017Version: 3.0
Summary:

This article discusses how the EX Series assigns MAC addresses, and the difference in how this is done before and after the release of Junos EX 11.3.

Symptoms:

What is the MAC address assignment scheme for the EX Series, and what are the differences before and after the Junos EX 11.3 version?

Cause:
 
Solution:
All interfaces in 4200/3200 get a MAC address from the system MAC pool. Since every 3200 system is shipped with minimum of 64 addresses and there can be maximum of 64 interfaces of any time (ge, ae etc), the count is always considered to be 64. Thus, the pool is system_mac_base to system_mac_base + 64. The procedure is to start from base and go all the way up to 64, for every type of port on every device.

Logical interfaces such as VLAN are only assigned  one MAC address per entire virtual connection.

Before Junos-EX 11.3

vlan interface system_mac_base
vme interface system_mac_base + 1

AE0 interface system_mac_base
AEn interface system_mac_base + n

ge-*/0/0 interface system_mac_base
ge-*/0/n interface system_mac_base + n

ge-*/1/0 interface system_mac_base + (number of ports on pic 0)
ge-*/1/n interface system_mac_base + (number of ports on pic 0) + n

After Junos-EX 11.3

vlan interface System_Mac_Base + (len - 1)

vme interface System_Mac_Base + (len - 1)

ae0……aeN interface with L2 Address family System_Mac_Base…… System_Mac_Base + N (with local bit set)
ae0……aeN interface with L3 Address family System_Mac_Base

ge-x/0/0……ge-x/0/N interface with L2 Address family System_Mac_Base…… System_Mac_Base + N (with local bit set)
ge-x/0/0……ge-x/0/N interface with AL Address family System_Mac_Base

ge-x/y/0……ge-x/y/N interface with L2 Address family Mac_Block_Base of FPC x + (sum of all ports in previous) …… Mac_Block_Base of FPC x + (sum of all ports in previous pics) + N
ge-x/0/0……ge-x/y/N interface with L3 Address family System_Mac_Base
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search