Do all network devices need to make routing decisions, regardless of communication across networks or within a network?Network not participating in OSPF. Does not appear in the routing tablehow IPv4 routing is done for TCP? as TCP is connection oriented but IP is notCan I add a hop by dividing my prefix?routing: understanding the default route vs. prefix length, administrative distance and metricsForce use of gateway for communication on same subnetRouting between vlans with two routersDoes RIP stores information about entire AS?How does routing work across different networks when using a dedicated switch?Optimize Routing TableDoes a gateway need to be designated?

I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?

Did Dumbledore lie to Harry about how long he had James Potter's invisibility cloak when he was examining it? If so, why?

Fine Tuning of the Universe

Lay out the Carpet

How can a function with a hole (removable discontinuity) equal a function with no hole?

System.debug(JSON.Serialize(o)) Not longer shows full string

when is out of tune ok?

Detecting if an element is found inside a container

How can I get through very long and very dry, but also very useful technical documents when learning a new tool?

Increase performance creating Mandelbrot set in python

How does the UK government determine the size of a mandate?

Tiptoe or tiphoof? Adjusting words to better fit fantasy races

Gears on left are inverse to gears on right?

What happens if you roll doubles 3 times then land on "Go to jail?"

Would a high gravity rocky planet be guaranteed to have an atmosphere?

Failed to fetch jessie backports repository

Go Pregnant or Go Home

CREATE opcode: what does it really do?

How long to clear the 'suck zone' of a turbofan after start is initiated?

Why not increase contact surface when reentering the atmosphere?

For a non-Jew, is there a punishment for not observing the 7 Noahide Laws?

Unreliable Magic - Is it worth it?

How do I extract a value from a time formatted value in excel?

Method to test if a number is a perfect power?



Do all network devices need to make routing decisions, regardless of communication across networks or within a network?


Network not participating in OSPF. Does not appear in the routing tablehow IPv4 routing is done for TCP? as TCP is connection oriented but IP is notCan I add a hop by dividing my prefix?routing: understanding the default route vs. prefix length, administrative distance and metricsForce use of gateway for communication on same subnetRouting between vlans with two routersDoes RIP stores information about entire AS?How does routing work across different networks when using a dedicated switch?Optimize Routing TableDoes a gateway need to be designated?













2















From Hunt's TCP/IP Network Adminstration:




Gateways route data between networks, but all network devices, hosts as well as
gateways, must make routing decisions.




Is it correct that routing decisions are made only for communication across different networks?



For communication within a network (whether it is in an internetwork or not),



  • does any device in the network need to make routing decisions?


  • does any device in the network necessarily have a routing table or something similar?


If a device makes routing decision, that that mean the device has a routing table or something similar? If a device has a routing table or something similar, does it make routing decision?



Or, do only gateway devices have to make routing decisions and have routing tables or something similar?



I have these questions because my Linux laptop isn't a gateway in the local wifi network, but has a routing table to my surprise. Is it cecause any device in a network has a routing table? My laptop doesn't seem to connect two networks, because the network for all the loopback addresses and the wifi network can't communicate with each other. But its routing table shows a route for communicating with other devices in the same wifi network, and a default route for all other destinations outside the wifi network.



Thanks.










share|improve this question




























    2















    From Hunt's TCP/IP Network Adminstration:




    Gateways route data between networks, but all network devices, hosts as well as
    gateways, must make routing decisions.




    Is it correct that routing decisions are made only for communication across different networks?



    For communication within a network (whether it is in an internetwork or not),



    • does any device in the network need to make routing decisions?


    • does any device in the network necessarily have a routing table or something similar?


    If a device makes routing decision, that that mean the device has a routing table or something similar? If a device has a routing table or something similar, does it make routing decision?



    Or, do only gateway devices have to make routing decisions and have routing tables or something similar?



    I have these questions because my Linux laptop isn't a gateway in the local wifi network, but has a routing table to my surprise. Is it cecause any device in a network has a routing table? My laptop doesn't seem to connect two networks, because the network for all the loopback addresses and the wifi network can't communicate with each other. But its routing table shows a route for communicating with other devices in the same wifi network, and a default route for all other destinations outside the wifi network.



    Thanks.










    share|improve this question


























      2












      2








      2








      From Hunt's TCP/IP Network Adminstration:




      Gateways route data between networks, but all network devices, hosts as well as
      gateways, must make routing decisions.




      Is it correct that routing decisions are made only for communication across different networks?



      For communication within a network (whether it is in an internetwork or not),



      • does any device in the network need to make routing decisions?


      • does any device in the network necessarily have a routing table or something similar?


      If a device makes routing decision, that that mean the device has a routing table or something similar? If a device has a routing table or something similar, does it make routing decision?



      Or, do only gateway devices have to make routing decisions and have routing tables or something similar?



      I have these questions because my Linux laptop isn't a gateway in the local wifi network, but has a routing table to my surprise. Is it cecause any device in a network has a routing table? My laptop doesn't seem to connect two networks, because the network for all the loopback addresses and the wifi network can't communicate with each other. But its routing table shows a route for communicating with other devices in the same wifi network, and a default route for all other destinations outside the wifi network.



      Thanks.










      share|improve this question
















      From Hunt's TCP/IP Network Adminstration:




      Gateways route data between networks, but all network devices, hosts as well as
      gateways, must make routing decisions.




      Is it correct that routing decisions are made only for communication across different networks?



      For communication within a network (whether it is in an internetwork or not),



      • does any device in the network need to make routing decisions?


      • does any device in the network necessarily have a routing table or something similar?


      If a device makes routing decision, that that mean the device has a routing table or something similar? If a device has a routing table or something similar, does it make routing decision?



      Or, do only gateway devices have to make routing decisions and have routing tables or something similar?



      I have these questions because my Linux laptop isn't a gateway in the local wifi network, but has a routing table to my surprise. Is it cecause any device in a network has a routing table? My laptop doesn't seem to connect two networks, because the network for all the loopback addresses and the wifi network can't communicate with each other. But its routing table shows a route for communicating with other devices in the same wifi network, and a default route for all other destinations outside the wifi network.



      Thanks.







      routing






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 12 hours ago







      Tim

















      asked 12 hours ago









      TimTim

      635517




      635517




















          2 Answers
          2






          active

          oldest

          votes


















          7














          Every IP device has a routing table, and therefore makes a routing decision. It may be quite simple with only two entries, but fundamentally, a device needs to decide if the destination is on the directly connected network or not. If not, it forwards the packet to the gateway. For most devices like PCs, there is only a default gateway, but there can be more than one.






          share|improve this answer


















          • 1





            Three entries usually. There's also localhost.

            – Zan Lynx
            1 hour ago











          • @ZanLynx You’re right. I forgot to mention that.

            – Ron Trunk
            1 hour ago


















          4














          Theoretically, consider a computer that has an IP address of 192.168.1.3/24 and wants to send some data to the IP address 192.168.2.5/24 then it should make a subnet checking to see if the IP address it wants to reach is in the same network or not; to be able to decide to forward the packet to its gateway or not.



          when you have a subnet mask of /24 which refers in binary to 11111111.11111111.11111111.00000000. Zeros are the places you can modify your IP address in the "same network". If you change anything before zeros start, it means you are changing the network you are in and to be able to communicate with such an IP you need a router between two of them. After all, being able to make this decision is considered as making a routing decision.



          Hope the answer helps.






          share|improve this answer








          New contributor




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



















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "496"
            ;
            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
            ,
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f58051%2fdo-all-network-devices-need-to-make-routing-decisions-regardless-of-communicati%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            7














            Every IP device has a routing table, and therefore makes a routing decision. It may be quite simple with only two entries, but fundamentally, a device needs to decide if the destination is on the directly connected network or not. If not, it forwards the packet to the gateway. For most devices like PCs, there is only a default gateway, but there can be more than one.






            share|improve this answer


















            • 1





              Three entries usually. There's also localhost.

              – Zan Lynx
              1 hour ago











            • @ZanLynx You’re right. I forgot to mention that.

              – Ron Trunk
              1 hour ago















            7














            Every IP device has a routing table, and therefore makes a routing decision. It may be quite simple with only two entries, but fundamentally, a device needs to decide if the destination is on the directly connected network or not. If not, it forwards the packet to the gateway. For most devices like PCs, there is only a default gateway, but there can be more than one.






            share|improve this answer


















            • 1





              Three entries usually. There's also localhost.

              – Zan Lynx
              1 hour ago











            • @ZanLynx You’re right. I forgot to mention that.

              – Ron Trunk
              1 hour ago













            7












            7








            7







            Every IP device has a routing table, and therefore makes a routing decision. It may be quite simple with only two entries, but fundamentally, a device needs to decide if the destination is on the directly connected network or not. If not, it forwards the packet to the gateway. For most devices like PCs, there is only a default gateway, but there can be more than one.






            share|improve this answer













            Every IP device has a routing table, and therefore makes a routing decision. It may be quite simple with only two entries, but fundamentally, a device needs to decide if the destination is on the directly connected network or not. If not, it forwards the packet to the gateway. For most devices like PCs, there is only a default gateway, but there can be more than one.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 12 hours ago









            Ron TrunkRon Trunk

            39.2k33780




            39.2k33780







            • 1





              Three entries usually. There's also localhost.

              – Zan Lynx
              1 hour ago











            • @ZanLynx You’re right. I forgot to mention that.

              – Ron Trunk
              1 hour ago












            • 1





              Three entries usually. There's also localhost.

              – Zan Lynx
              1 hour ago











            • @ZanLynx You’re right. I forgot to mention that.

              – Ron Trunk
              1 hour ago







            1




            1





            Three entries usually. There's also localhost.

            – Zan Lynx
            1 hour ago





            Three entries usually. There's also localhost.

            – Zan Lynx
            1 hour ago













            @ZanLynx You’re right. I forgot to mention that.

            – Ron Trunk
            1 hour ago





            @ZanLynx You’re right. I forgot to mention that.

            – Ron Trunk
            1 hour ago











            4














            Theoretically, consider a computer that has an IP address of 192.168.1.3/24 and wants to send some data to the IP address 192.168.2.5/24 then it should make a subnet checking to see if the IP address it wants to reach is in the same network or not; to be able to decide to forward the packet to its gateway or not.



            when you have a subnet mask of /24 which refers in binary to 11111111.11111111.11111111.00000000. Zeros are the places you can modify your IP address in the "same network". If you change anything before zeros start, it means you are changing the network you are in and to be able to communicate with such an IP you need a router between two of them. After all, being able to make this decision is considered as making a routing decision.



            Hope the answer helps.






            share|improve this answer








            New contributor




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
























              4














              Theoretically, consider a computer that has an IP address of 192.168.1.3/24 and wants to send some data to the IP address 192.168.2.5/24 then it should make a subnet checking to see if the IP address it wants to reach is in the same network or not; to be able to decide to forward the packet to its gateway or not.



              when you have a subnet mask of /24 which refers in binary to 11111111.11111111.11111111.00000000. Zeros are the places you can modify your IP address in the "same network". If you change anything before zeros start, it means you are changing the network you are in and to be able to communicate with such an IP you need a router between two of them. After all, being able to make this decision is considered as making a routing decision.



              Hope the answer helps.






              share|improve this answer








              New contributor




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






















                4












                4








                4







                Theoretically, consider a computer that has an IP address of 192.168.1.3/24 and wants to send some data to the IP address 192.168.2.5/24 then it should make a subnet checking to see if the IP address it wants to reach is in the same network or not; to be able to decide to forward the packet to its gateway or not.



                when you have a subnet mask of /24 which refers in binary to 11111111.11111111.11111111.00000000. Zeros are the places you can modify your IP address in the "same network". If you change anything before zeros start, it means you are changing the network you are in and to be able to communicate with such an IP you need a router between two of them. After all, being able to make this decision is considered as making a routing decision.



                Hope the answer helps.






                share|improve this answer








                New contributor




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










                Theoretically, consider a computer that has an IP address of 192.168.1.3/24 and wants to send some data to the IP address 192.168.2.5/24 then it should make a subnet checking to see if the IP address it wants to reach is in the same network or not; to be able to decide to forward the packet to its gateway or not.



                when you have a subnet mask of /24 which refers in binary to 11111111.11111111.11111111.00000000. Zeros are the places you can modify your IP address in the "same network". If you change anything before zeros start, it means you are changing the network you are in and to be able to communicate with such an IP you need a router between two of them. After all, being able to make this decision is considered as making a routing decision.



                Hope the answer helps.







                share|improve this answer








                New contributor




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









                share|improve this answer



                share|improve this answer






                New contributor




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









                answered 11 hours ago









                metinmetin

                664




                664




                New contributor




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





                New contributor





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






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



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Network Engineering 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.

                    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%2fnetworkengineering.stackexchange.com%2fquestions%2f58051%2fdo-all-network-devices-need-to-make-routing-decisions-regardless-of-communicati%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

                    Reverse int within the 32-bit signed integer range: [−2^31, 2^31 − 1]Combining two 32-bit integers into one 64-bit integerDetermine if an int is within rangeLossy packing 32 bit integer to 16 bitComputing the square root of a 64-bit integerKeeping integer addition within boundsSafe multiplication of two 64-bit signed integersLeetcode 10: Regular Expression MatchingSigned integer-to-ascii x86_64 assembler macroReverse the digits of an Integer“Add two numbers given in reverse order from a linked list”

                    Category:Fedor von Bock Media in category "Fedor von Bock"Navigation menuUpload mediaISNI: 0000 0000 5511 3417VIAF ID: 24712551GND ID: 119294796Library of Congress authority ID: n96068363BnF ID: 12534305fSUDOC authorities ID: 034604189Open Library ID: OL338253ANKCR AUT ID: jn19990000869National Library of Israel ID: 000514068National Thesaurus for Author Names ID: 341574317ReasonatorScholiaStatistics

                    Kiel Indholdsfortegnelse Historie | Transport og færgeforbindelser | Sejlsport og anden sport | Kultur | Kendte personer fra Kiel | Noter | Litteratur | Eksterne henvisninger | Navigationsmenuwww.kiel.de54°19′31″N 10°8′26″Ø / 54.32528°N 10.14056°Ø / 54.32528; 10.14056Oberbürgermeister Dr. Ulf Kämpferwww.statistik-nord.deDen danske Stats StatistikKiels hjemmesiderrrWorldCat312794080n790547494030481-4