6 Replies Latest reply: Jul 16, 2019 8:26 AM by Ing_Percy RSS

    Simple Routing Question

    Al

      Greetings all,


      I have a question about this simple network;


      With this simple setup shouldn't PCA and PCB be able to ping all of the 192.168.1.x addresses without setting up any routing, because the router 'knows about both 10.1.1.0 and 192.168.1.0 networks?

        • 1. Re: Simple Routing Question
          Juergen Ilse CCNA R&S

          Al schrieb:

           

          I have a question about this simple network;


          With this simple setup shouldn't PCA and PCB be able to ping all of the 192.168.1.x addresses without setting up any routing, because the router 'knows about both 10.1.1.0 and 192.168.1.0 networks?

          No, not necessarily. The servers need routing information to the 10.1.1.0 network and the PCs need to have a route to the 192.168.1.0 network. That may be a default route in both cases, but without a route matching the network "on the other side", the ping will not work.

          And you need it for both: servers and pcs, because for a working ping, it is necessary, the ping request pass the network in one direction and the ping answers are able to pass the network in the other direction. Without bidirectional connectivity, you will never have successful pings.

          • 2. Re: Simple Routing Question
            Al

            Juergen, its the little things that kill you. As soon as I started reading you reply I realized that I had NOT set the default gateway on the PC's or the Servers. Once I set those, all was well.

             

            Thanks

            • 3. Re: Simple Routing Question
              Juergen Ilse CCNA R&S

              Just as i wrote: you need a route matching 192.168.1.0 network on your PCs towards Router0 (it doesn't matter, if it is a route for 192.168.1.0/24 or a default route or something else, which includes the server ip addresses) and a route matching your PC ip addresses on the servers towards Router0 (it doesn't matter, if it's a default route or not, as long as it matches both PC ip addresses). Without having routing information that matches the servers ip addresses, the PCs would drop packets to the servers instead of sending them, because they don't know a route to the destination ip addresses of the packets. That was exactly, what happened without the default route. To make the ping successful, all devices "on the way" (beginning with the PCs and including Router0) need routing information for the target addresses of the pings (the servers ip addresses), and also the "routes back to the source of the ping" are needed on all devices "on the way back from the servers to the PCs" (beginning with the servers anbd including Router0). If there would be more routers "on the way", they all need routing information for the source and destination of the pings, otherwise the ping will fail.

              • 4. Re: Simple Routing Question
                Nkwo Peter Akachukwu

                please, setting up a server to ping the routing information, then you can be able to ping the network 192.168.1.2 and 192.168.1.3

                • 5. Re: Simple Routing Question
                  Juergen Ilse CCNA R&S

                  Al told us already, that the reason for the issue was missing routing information on the PCs (missing default route in that case) ...

                  • 6. Re: Simple Routing Question
                    Ing_Percy

                    Hi!

                     

                    Adding something else.

                    The router can apply routing between networks connected in its interfaces directly,

                    Each interface of router is a broadcast domain.

                     

                    Example, considering the hosts are connected and configured correctly with its default gateway: All PCs have connectivity

                    router-interfaces.JPG

                    If you connect to router with another layer 3 device with another networks connected to it, then you must apply a routing protocol between the devices to reach the networks you don't have connected in the local router.

                     

                    Regards!