How are MAC/IP addresses used in routing

Course Queries Syllabus Queries 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Syllabus Queries related to Course Queries. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago


I have to teach my sixth form about MAC Addresses and IP Addresses in a few weeks time and there are some areas I am unclear on which I am hoping some of you will be able to clarify for me. I have enough to get them through the syllabus, but I like to have more knowledge than the spec so that I can explain how things work in more meaningful way.

So as I understand it the following happens when a device on a LAN sends a packet/frame to a device on another separate LAN via the internet.

A packet is created at the sending end with the destination and sending IP

First question: Is the destination IP actually the IP of the gateway for the receiving device’s LAN

This is then turned into a frame which will go to the gateway for the LAN - this happens at the data link layer and the frame has a MAC sending and destination address added

First question: The destination MAC address - is this the final destination or the destination of the gateway?

The packet/frame is then sent onto the internet and routed (using the IP address) to the next hop towards the final destination

Second question: At each hop, does the data link layer change the destination MAC address in the frame to the MAC address of the next hop?

The packet/frame is routed to the destination address (which is the gateway )

Third question: Once the frame/packet reaches the gateway of the receiving LAN is the destination MAC address in the frame used by a switch to ensure it ends up at the correct device? This obviously assumes that the destination MAC address is not amended by the routers as the frame/packet traverses the internet - if it is amended then once the receiving gateway receives the frame/packet, how does it know where to send it?

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.