How do web browsers find out the MAC address?What is the growth rate of the world wide web?How internet speed is manipulated at the physical levelHow can simulated annealing be related to the vehicle routing problem?How would the Internet work between planets?If all frames are naturally broadcast in a LAN, what is the need for a broadcast address?How can average queuing delay exceed 1 if the $La/R leq 1$?
Was there ever a treaty between 2 entities with significantly different translations to the detriment of one party?
Was Switzerland really impossible to invade during WW2?
How much code would a codegolf golf if a codegolf could golf code?
What to say to a student who has failed?
Are there any music source codes for sound chips?
Photoshop CS6 - Remove glare/hue from image
Why were movies shot on film shot at 24 frames per second?
Efficiently pathfinding many flocking enemies around obstacles
Is there a known non-euclidean geometry where two concentric circles of different radii can intersect? (as in the novel "The Universe Between")
Can realistic planetary invasion have any meaningful strategy?
Why did MS-DOS applications built using Turbo Pascal fail to start with a division by zero error on faster systems?
C++20 constexpr std::copy optimizations for run-time
Are modern clipless shoes and pedals that much better than toe clips and straps?
Would it be possible to have a GMO that produces chocolate?
How to draw a cube that can be inscribed within a right circular cone?
Irish Snap: Variant Rules
See details of old sessions
How would one country purchase another?
Fried gnocchi with spinach, bacon, cream sauce in a single pan
Why were the crew so desperate to catch Truman and return him to Seahaven?
Shouldn't the "credit score" prevent Americans from going deeper and deeper into personal debt?
Notepad++ - How to find multiple values on the same line in any permutation
What is wrong about this application of Kirchhoffs Current Law?
Is a player able to change alignment midway through an adventure?
How do web browsers find out the MAC address?
What is the growth rate of the world wide web?How internet speed is manipulated at the physical levelHow can simulated annealing be related to the vehicle routing problem?How would the Internet work between planets?If all frames are naturally broadcast in a LAN, what is the need for a broadcast address?How can average queuing delay exceed 1 if the $La/R leq 1$?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
While reading through my textbook, I discovered that if you want to access a particular web page, your web browser will find out the IP address of the web server that hosts the web page and try and connect to it. It will then transfer a copy of the web page to your computer so that you may view it.
However, my concern is... I have discovered that the IP address enables data to be sent to the device's local area network, but in order for the data to be sent to the device itself, the MAC address is needed to transfer data from the local area network to the device.
BUT, in my textbook, nowhere does it say how the computer's web browser finds out the MAC address of the web server. It says that the computer finds out the IP address of the web server by using the Domain Name System (DNS).
So, how does the computer find out the MAC address of the server?
Answers would be much appreciated.
computer-networks routing ip
New contributor
$endgroup$
add a comment |
$begingroup$
While reading through my textbook, I discovered that if you want to access a particular web page, your web browser will find out the IP address of the web server that hosts the web page and try and connect to it. It will then transfer a copy of the web page to your computer so that you may view it.
However, my concern is... I have discovered that the IP address enables data to be sent to the device's local area network, but in order for the data to be sent to the device itself, the MAC address is needed to transfer data from the local area network to the device.
BUT, in my textbook, nowhere does it say how the computer's web browser finds out the MAC address of the web server. It says that the computer finds out the IP address of the web server by using the Domain Name System (DNS).
So, how does the computer find out the MAC address of the server?
Answers would be much appreciated.
computer-networks routing ip
New contributor
$endgroup$
1
$begingroup$
I urge you to read about the OSI model.
$endgroup$
– dkaeae
8 hours ago
$begingroup$
It is theoretically possible that the web server does not even have a MAC address. Each side of a connection gets to choose its own internal implementation.
$endgroup$
– MSalters
2 mins ago
add a comment |
$begingroup$
While reading through my textbook, I discovered that if you want to access a particular web page, your web browser will find out the IP address of the web server that hosts the web page and try and connect to it. It will then transfer a copy of the web page to your computer so that you may view it.
However, my concern is... I have discovered that the IP address enables data to be sent to the device's local area network, but in order for the data to be sent to the device itself, the MAC address is needed to transfer data from the local area network to the device.
BUT, in my textbook, nowhere does it say how the computer's web browser finds out the MAC address of the web server. It says that the computer finds out the IP address of the web server by using the Domain Name System (DNS).
So, how does the computer find out the MAC address of the server?
Answers would be much appreciated.
computer-networks routing ip
New contributor
$endgroup$
While reading through my textbook, I discovered that if you want to access a particular web page, your web browser will find out the IP address of the web server that hosts the web page and try and connect to it. It will then transfer a copy of the web page to your computer so that you may view it.
However, my concern is... I have discovered that the IP address enables data to be sent to the device's local area network, but in order for the data to be sent to the device itself, the MAC address is needed to transfer data from the local area network to the device.
BUT, in my textbook, nowhere does it say how the computer's web browser finds out the MAC address of the web server. It says that the computer finds out the IP address of the web server by using the Domain Name System (DNS).
So, how does the computer find out the MAC address of the server?
Answers would be much appreciated.
computer-networks routing ip
computer-networks routing ip
New contributor
New contributor
edited 8 hours ago
dkaeae
4,3301 gold badge11 silver badges28 bronze badges
4,3301 gold badge11 silver badges28 bronze badges
New contributor
asked 8 hours ago
A.B.SA.B.S
61 bronze badge
61 bronze badge
New contributor
New contributor
1
$begingroup$
I urge you to read about the OSI model.
$endgroup$
– dkaeae
8 hours ago
$begingroup$
It is theoretically possible that the web server does not even have a MAC address. Each side of a connection gets to choose its own internal implementation.
$endgroup$
– MSalters
2 mins ago
add a comment |
1
$begingroup$
I urge you to read about the OSI model.
$endgroup$
– dkaeae
8 hours ago
$begingroup$
It is theoretically possible that the web server does not even have a MAC address. Each side of a connection gets to choose its own internal implementation.
$endgroup$
– MSalters
2 mins ago
1
1
$begingroup$
I urge you to read about the OSI model.
$endgroup$
– dkaeae
8 hours ago
$begingroup$
I urge you to read about the OSI model.
$endgroup$
– dkaeae
8 hours ago
$begingroup$
It is theoretically possible that the web server does not even have a MAC address. Each side of a connection gets to choose its own internal implementation.
$endgroup$
– MSalters
2 mins ago
$begingroup$
It is theoretically possible that the web server does not even have a MAC address. Each side of a connection gets to choose its own internal implementation.
$endgroup$
– MSalters
2 mins ago
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
So, how does the computer find out the MAC address of the server?
It doesn't. The MAC address only has validity inside a local area network (LAN), which, as the name says, is local. Unless the destination IP address resides in the same network as your machine, what it does is create a packet destined to the target IP address and forward it to its default route, usually your router. (To do so it must obtain the router's MAC address too using ARP—but this is a different matter.) Obtaining the server's MAC address is the task of the final hop which is in the same LAN as the server; a machine notices it is the final hop by checking if the destination IP lies in the same subnet as its own.
It is only when the destination IP is in the same local network as your machine that the MAC address needs to be obtained. (And this is done using ARP too.) In this case, your computer just happens to be the final hop in the route to the server.
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "419"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
A.B.S is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcs.stackexchange.com%2fquestions%2f112987%2fhow-do-web-browsers-find-out-the-mac-address%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
So, how does the computer find out the MAC address of the server?
It doesn't. The MAC address only has validity inside a local area network (LAN), which, as the name says, is local. Unless the destination IP address resides in the same network as your machine, what it does is create a packet destined to the target IP address and forward it to its default route, usually your router. (To do so it must obtain the router's MAC address too using ARP—but this is a different matter.) Obtaining the server's MAC address is the task of the final hop which is in the same LAN as the server; a machine notices it is the final hop by checking if the destination IP lies in the same subnet as its own.
It is only when the destination IP is in the same local network as your machine that the MAC address needs to be obtained. (And this is done using ARP too.) In this case, your computer just happens to be the final hop in the route to the server.
$endgroup$
add a comment |
$begingroup$
So, how does the computer find out the MAC address of the server?
It doesn't. The MAC address only has validity inside a local area network (LAN), which, as the name says, is local. Unless the destination IP address resides in the same network as your machine, what it does is create a packet destined to the target IP address and forward it to its default route, usually your router. (To do so it must obtain the router's MAC address too using ARP—but this is a different matter.) Obtaining the server's MAC address is the task of the final hop which is in the same LAN as the server; a machine notices it is the final hop by checking if the destination IP lies in the same subnet as its own.
It is only when the destination IP is in the same local network as your machine that the MAC address needs to be obtained. (And this is done using ARP too.) In this case, your computer just happens to be the final hop in the route to the server.
$endgroup$
add a comment |
$begingroup$
So, how does the computer find out the MAC address of the server?
It doesn't. The MAC address only has validity inside a local area network (LAN), which, as the name says, is local. Unless the destination IP address resides in the same network as your machine, what it does is create a packet destined to the target IP address and forward it to its default route, usually your router. (To do so it must obtain the router's MAC address too using ARP—but this is a different matter.) Obtaining the server's MAC address is the task of the final hop which is in the same LAN as the server; a machine notices it is the final hop by checking if the destination IP lies in the same subnet as its own.
It is only when the destination IP is in the same local network as your machine that the MAC address needs to be obtained. (And this is done using ARP too.) In this case, your computer just happens to be the final hop in the route to the server.
$endgroup$
So, how does the computer find out the MAC address of the server?
It doesn't. The MAC address only has validity inside a local area network (LAN), which, as the name says, is local. Unless the destination IP address resides in the same network as your machine, what it does is create a packet destined to the target IP address and forward it to its default route, usually your router. (To do so it must obtain the router's MAC address too using ARP—but this is a different matter.) Obtaining the server's MAC address is the task of the final hop which is in the same LAN as the server; a machine notices it is the final hop by checking if the destination IP lies in the same subnet as its own.
It is only when the destination IP is in the same local network as your machine that the MAC address needs to be obtained. (And this is done using ARP too.) In this case, your computer just happens to be the final hop in the route to the server.
edited 8 hours ago
answered 8 hours ago
dkaeaedkaeae
4,3301 gold badge11 silver badges28 bronze badges
4,3301 gold badge11 silver badges28 bronze badges
add a comment |
add a comment |
A.B.S is a new contributor. Be nice, and check out our Code of Conduct.
A.B.S is a new contributor. Be nice, and check out our Code of Conduct.
A.B.S is a new contributor. Be nice, and check out our Code of Conduct.
A.B.S is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Computer Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcs.stackexchange.com%2fquestions%2f112987%2fhow-do-web-browsers-find-out-the-mac-address%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
$begingroup$
I urge you to read about the OSI model.
$endgroup$
– dkaeae
8 hours ago
$begingroup$
It is theoretically possible that the web server does not even have a MAC address. Each side of a connection gets to choose its own internal implementation.
$endgroup$
– MSalters
2 mins ago