i have a simple question maybe I missed something I don't know plz help !!!
I have this simple diagram :
Cisco Router0 1841
Cisco router1 1841
the cisco router have 2 fastethernet interfaces configurated with addresses shown there is no static routes configurd of something special like rip or ...........
the default gateway for the PC is 192.168.0.1.
my question is that i can ping from my pc both interfaces of Router0 but can't ping the interface 192.168.1.2 of router1 !!!
normally if i can ping 192.168.1.1/24 i can also ping 192.168.1.2/24 why i cannot ping it ???
the network mask for the whole network is the same /24 .
thanks in advance
I'm not sure about your cabling, which is why its a good idea to put these kinds of diagrams in Visio. It's good practice when designing a network.
First off, you can't have a computer on the same segment as the router.
The PC will connect to the 1841(1) via a crossover cable. You will place the computer on a different subnet (ie 192.168.2.x). Next you will connect the two 1841 routers with a straight through cable, setting the first router as 192.168.1.x and the second as 192.168.1.x.
thanks for the remarks, but actually i forgot to tell u that is just a testing lab because i am preparing for the CCNA so we use that lab under packet tracer and even GNS3 with the same result !!
Router 0 has a a route to 192.168.0.0/24 via a connected route. From the PC if you ping any address on router 0 you will get a reply. If there are no routing protocols, or static routes then pings to router1 will fail from the PC ... because there is no route to 192.168.0.0/24 on router1.
thanks for the response
so if i understand well, if i replace the Router 1 with a normal pc configurated with the same ip address, the two pc can communicate with each other as the router knows about directely connected networks, but if i keep the same design the pc can't ping the router 1 because this router has not a route in its routing table to the network 192.168.0.0/24
Thats the way it looks to me. If you put in router1 config:
ip route 0.0.0.0 0.0.0.0 192.168.1.1
then I believe the pings will succeed to router1 from the PC. Same if thing if you put a host in place for router 1, it needs a way (route) to go off net. In this case a default route should do the trick.