why the MAC address for s5700 are the same?

Created: Jun 26, 2019 09:06:42Latest reply: Jun 27, 2019 06:36:55 108 3 0 0
  Rewarded Hi-coins: 0 (problem resolved)

hello guys, I found something strange when I reviewed the interface information in ensp, which is that the mac address for all the interfaces are the same in S5700, on the contrary, for ar router, each mac address is associated with the interface.
can someone help me to explain this? Is this designed intentionly?


for switch:


170154zc6ovgacgnw47ycf.png?mac-address-g

170159lka99icg8l1r1cgr.png?mac-address-g



for ar router:


170203fpljflqz6q2q24k0.png?mac-address-g

170208w5gu5fp8gyyzpfgm.png?mac-address-g


  • x
  • convention:

Featured Answers
chenhui
Admin Created Jun 26, 2019 09:14:47 Helpful(0) Helpful(0)

@user_3445655 hi,
yes, it's designed like that.
for the layer 2 switching, it's not necessary to provide a mac address for the traffic because the traffic is not towarding to the switch itself.
If you capture the layer 2 swtiching packets, you'll find that the source mac address and the destination mac address both are not the switch mac address.
But for layer 3 routing, the source host and destination are in different network, the packets should be forwarded to the router or gateway, then the packets will be checked by the router, and forwarded out.
  • x
  • convention:

All Answers
Werido
Werido Created Jun 26, 2019 09:13:56 Helpful(0) Helpful(0)

HI,
The MAC addresses of the working at Layer 2 interfaces are the same for Switchs and Routers.
  • x
  • convention:

chenhui
chenhui Admin Created Jun 26, 2019 09:14:47 Helpful(0) Helpful(0)

@user_3445655 hi,
yes, it's designed like that.
for the layer 2 switching, it's not necessary to provide a mac address for the traffic because the traffic is not towarding to the switch itself.
If you capture the layer 2 swtiching packets, you'll find that the source mac address and the destination mac address both are not the switch mac address.
But for layer 3 routing, the source host and destination are in different network, the packets should be forwarded to the router or gateway, then the packets will be checked by the router, and forwarded out.
  • x
  • convention:

Mohamed_Mostafa
Mohamed_Mostafa Created Jun 27, 2019 06:36:55 Helpful(0) Helpful(0)

For switch as a layer 2 , no need for every port to have a specific mac address as it is just forwarding the traffic by knowing what is the destination mac in the frame and then forward it to the port in the mac address table ... Swicth don't change in the mac address in the frame .
For router in the layer 3 , when the packet travel from router to another router , there is encapsulation and encapsulation process happen and during it the source and destination IP during the trip don't change but in every hop the mac address of destination and source (for the specific hop ) will change and that's why we need mac for every interface in the router .
  • x
  • convention:

Network%20%26%20Security%20Engineer

Reply

Reply
You need to log in to reply to the post Login | Register

Notice 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 " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login