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?

How to Reset Passwords on Multiple Websites Easily?

Tiptoe or tiphoof? Adjusting words to better fit fantasy races

Term for the "extreme-extension" version of a straw man fallacy?

Why Were Madagascar and New Zealand Discovered So Late?

Are student evaluations of teaching assistants read by others in the faculty?

A particular customize with green line and letters for subfloat

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

Why, precisely, is argon used in neutrino experiments?

What is paid subscription needed for in Mortal Kombat 11?

Integer addition + constant, is it a group?

Is `x >> pure y` equivalent to `liftM (const y) x`

How to be diplomatic in refusing to write code that breaches the privacy of our users

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

How can I kill an app using Terminal?

Class Action - which options I have?

Is exact Kanji stroke length important?

How to pronounce the slash sign

Is this version of a gravity generator feasible?

How do we know the LHC results are robust?

Is there a good way to store credentials outside of a password manager?

What is the difference between "behavior" and "behaviour"?

How does Loki do this?

Why are there no referendums in the US?

CREATE opcode: what does it really do?



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?













1















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




























    1















    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


























      1












      1








      1








      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 10 hours ago







      Tim

















      asked 10 hours ago









      TimTim

      624517




      624517




















          2 Answers
          2






          active

          oldest

          votes


















          6














          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






























            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









              6














              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



























                6














                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

























                  6












                  6








                  6







                  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 10 hours ago









                  Ron TrunkRon Trunk

                  39.1k33780




                  39.1k33780





















                      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 10 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

                              名間水力發電廠 目录 沿革 設施 鄰近設施 註釋 外部連結 导航菜单23°50′10″N 120°42′41″E / 23.83611°N 120.71139°E / 23.83611; 120.7113923°50′10″N 120°42′41″E / 23.83611°N 120.71139°E / 23.83611; 120.71139計畫概要原始内容臺灣第一座BOT 模式開發的水力發電廠-名間水力電廠名間水力發電廠 水利署首件BOT案原始内容《小檔案》名間電廠 首座BOT水力發電廠原始内容名間電廠BOT - 經濟部水利署中區水資源局

                              Prove that NP is closed under karp reduction?Space(n) not closed under Karp reductions - what about NTime(n)?Class P is closed under rotation?Prove or disprove that $NL$ is closed under polynomial many-one reductions$mathbfNC_2$ is closed under log-space reductionOn Karp reductionwhen can I know if a class (complexity) is closed under reduction (cook/karp)Check if class $PSPACE$ is closed under polyonomially space reductionIs NPSPACE also closed under polynomial-time reduction and under log-space reduction?Prove PSPACE is closed under complement?Prove PSPACE is closed under union?

                              Is my guitar’s action too high? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Strings too stiff on a recently purchased acoustic guitar | Cort AD880CEIs the action of my guitar really high?Μy little finger is too weak to play guitarWith guitar, how long should I give my fingers to strengthen / callous?When playing a fret the guitar sounds mutedPlaying (Barre) chords up the guitar neckI think my guitar strings are wound too tight and I can't play barre chordsF barre chord on an SG guitarHow to find to the right strings of a barre chord by feel?High action on higher fret on my steel acoustic guitar