- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2010 02:05 AM - edited 03-06-2019 12:16 PM
Hi,
I want to know why do not have MAC address on loopback interface on Router or Switch??
If I see on useing #show int loopback 0
There is no MAC address.
If these are not support the MAC address then it's only depend on IP even on WAN area??
Please your helpful reply require..
Solved! Go to Solution.
- Labels:
-
Other Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2010 11:03 AM
Let us start the explanation by reviewing a fundamental concept about MAC address. The purpose of a MAC address is to distinguish individual devices on the media (it is a link local layer 2 address).
Since the loopback interface is by definition not connected on any physical media there is no purpose in a link local address and MAC addresses are not supported on loopback interfaces.
HTH
Rick
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2010 08:40 PM
Hello,
Yes, the ping is via the IP addresses and IP routing. There is no
encapsulation required for that.
Regards,
NT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2010 04:09 AM
Encapsulation is how you build a header for a particular physical media. Since there is no physical media associated with a loopback interface there is no encapsulation associated with a loopback interface.
HTH
Rick
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2010 06:42 AM
Hello,
Loopback interfaces are virtual interfaces created in software by the router/switch. Unlike other virtual interfaces, the loopback interface will not have any physical connectivity with another device. Whoever needs to communicate with the loopback interface need to go through another physical interface enabled with IP routing. So, communication between that physical interface and the loopback interface happens in software (no need of MAC). Hence you do not need a MAC address for the loopback interface.
Hope this helps.
Regards,
NT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2010 11:03 AM
Let us start the explanation by reviewing a fundamental concept about MAC address. The purpose of a MAC address is to distinguish individual devices on the media (it is a link local layer 2 address).
Since the loopback interface is by definition not connected on any physical media there is no purpose in a link local address and MAC addresses are not supported on loopback interfaces.
HTH
Rick
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2010 08:35 PM
If Router A have loopback and Router B is can ping to loopback int. of Router A, so only on basis of IP address ping to same??
any idea abour encapsulation loopback??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2010 08:40 PM
Hello,
Yes, the ping is via the IP addresses and IP routing. There is no
encapsulation required for that.
Regards,
NT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2010 04:09 AM
Encapsulation is how you build a header for a particular physical media. Since there is no physical media associated with a loopback interface there is no encapsulation associated with a loopback interface.
HTH
Rick
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 05:32 AM
Loopback Interface Will Use The MAC Address Of First Interface Of The Router/Switch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 12:48 PM
Just curious, you would see this where (being done)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 01:33 PM
I'm sure its implementation dependent as Harold mentions but we had a thread earlier today that shed some light from a different question.
https://community.cisco.com/t5/ipv6/loopback-interface-eui-64/m-p/4896288#M4866
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 01:56 PM
Ah, interesting, but might there also be different behavior between IPv4 and v6?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 02:02 PM
I believe so. I would have to lab up later but possibly uses the exit interface MAC when encapsulating the packet if it has one (not serial interface)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 04:09 PM
Hi @David Ruess ,
To put this in context, the MAC address is used to derived the EUI-64 host identifier when the loopback interface is configured with an ipv6 address using the eui-64 keyword. This has nothing to do with the MAC address that traffic originating from the loopback will use.
Regards,
Harold Ritter, CCIE #4168 (EI, SP)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 04:48 PM
Gotcha. Thanks for the clarification. I never questioned it or ever even noticed a Loopback didn't have a MAC except for IPv6 configuration. I definitely made some assumptions about the question asked that I will go back and check in my lab to help me understand.
