Got it

How to allocate the MAC addresses of the L3 interfaces

Created: Jun 10, 2020 00:48:19Latest reply: Jun 10, 2020 00:52:35 331 1 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hi, admin!

I'd like to ask a question.

Both the MA5300 and the MA5600 can be configured with 32 L3 interfaces. 

How to allocate the MAC addresses of the L3 interfaces.

Thank u!



Featured Answers

Recommended answer

Chenxintao
Admin Created Jun 10, 2020 00:52:35

Hello, friend!


The MAC addresses of the L3 interfaces of the MA5300 are allocated in sequence.


For example, if the MAC address of an MA5300 is 00e0-fc00-0001, the MAC address of the first configured L3 interface is 00e0-fc00-0002, and so on. 

 

1. The MAC address allocation of the L3 interface on the MA5600 adopts the polling mode of 32 MAC addresses, which are allocated according to the VLAN&nbsp. ID  The value ranges from 0 to 31. 

Step 1: First obtain an offset of the MAC: an offset  = 1 +&nbsp. Interface VLAN ID  %  32; 


2. Calculate the interface MAC: interface MAC&nbsp. =  Bridge MAC  +  Offset   &nbsp.


For example, if the MAC address of an MA5600 is 00e0-fc00-0001, the MAC address offset of the L3 interface of VLAN 1 is 1+12=2, the MAC address is 00e0-fc00-0003. The MAC address offset of the Layer 3 interface in VLAN 10 is 1 + 102=11, and the MAC address is 00e0-fc00-000c. For VLAN 33, the MAC address offset is 1 + 332=2, in this case, the calculated MAC address is the same as that of VLAN 1. If there are two L3 interfaces VLAN 1 and VLAN 33, the MAC addresses of the two L3 interfaces are the same. The control board of the MA5600, however, forwards packets based on LLV. Therefore, the forwarding is not affected.


Thanks!

View more
  • x
  • convention:

All Answers

Hello, friend!


The MAC addresses of the L3 interfaces of the MA5300 are allocated in sequence.


For example, if the MAC address of an MA5300 is 00e0-fc00-0001, the MAC address of the first configured L3 interface is 00e0-fc00-0002, and so on. 

 

1. The MAC address allocation of the L3 interface on the MA5600 adopts the polling mode of 32 MAC addresses, which are allocated according to the VLAN&nbsp. ID  The value ranges from 0 to 31. 

Step 1: First obtain an offset of the MAC: an offset  = 1 +&nbsp. Interface VLAN ID  %  32; 


2. Calculate the interface MAC: interface MAC&nbsp. =  Bridge MAC  +  Offset   &nbsp.


For example, if the MAC address of an MA5600 is 00e0-fc00-0001, the MAC address offset of the L3 interface of VLAN 1 is 1+12=2, the MAC address is 00e0-fc00-0003. The MAC address offset of the Layer 3 interface in VLAN 10 is 1 + 102=11, and the MAC address is 00e0-fc00-000c. For VLAN 33, the MAC address offset is 1 + 332=2, in this case, the calculated MAC address is the same as that of VLAN 1. If there are two L3 interfaces VLAN 1 and VLAN 33, the MAC addresses of the two L3 interfaces are the same. The control board of the MA5600, however, forwards packets based on LLV. Therefore, the forwarding is not affected.


Thanks!

View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.