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;








1












$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.










share|cite|improve this question









New contributor



A.B.S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$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

















1












$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.










share|cite|improve this question









New contributor



A.B.S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$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













1












1








1





$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.










share|cite|improve this question









New contributor



A.B.S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$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






share|cite|improve this question









New contributor



A.B.S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|cite|improve this question









New contributor



A.B.S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|cite|improve this question




share|cite|improve this question








edited 8 hours ago









dkaeae

4,3301 gold badge11 silver badges28 bronze badges




4,3301 gold badge11 silver badges28 bronze badges






New contributor



A.B.S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 8 hours ago









A.B.SA.B.S

61 bronze badge




61 bronze badge




New contributor



A.B.S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




A.B.S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • 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




    $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










1 Answer
1






active

oldest

votes


















3













$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.






share|cite|improve this answer











$endgroup$

















    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.









    draft saved

    draft discarded


















    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









    3













    $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.






    share|cite|improve this answer











    $endgroup$



















      3













      $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.






      share|cite|improve this answer











      $endgroup$

















        3














        3










        3







        $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.






        share|cite|improve this answer











        $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.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        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























            A.B.S is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

            Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

            Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її