Today at school we made our first Cisco exercise in Packet Tracer.
Later on we also made the same exercice with real routers and switches, everything worked.
But today when I got home I tried to remake the exercise with packet tracer and I have a little problem.
If you open the attached .pkt-file you will see 4 computers.
When i try to ping from one of the computers on the left to one on the right, it doesn't work.
It must have something to do with the routers..
I have tried everything but I can't get it to work.
I'm getting kind of crazy here
So could anyone help me out?
For most of the people here I think this is a very easy exercise, so I'm hoping someone could help me out
LAN1 --- switch1 --- router1 ---- router2 ----- switch2 ---- LAN2
GW 192.168.1.1 (which is router1)
GW 192.168.2.1 (which is router2)
Everything fine so far?
If a traceroute from LAN1 dies on router1, it tells me that routing is not correct.
On router1 you should have the following:
ip route 192.168.2.0 255.255.255.0 192.168.3.3
On router2 you should have the following:
ip route 192.168.1.0 255.255.255.0 192.168.3.2
The whole idea is this:
PC1 sends a packet intended to PC2
Packet arrives at the switch (since it's a layer 2 switch it does not care about the IPs, it just switches the frame to the router.
Packet arrives at R1.
R1 looks up the routing table and according to the above route it finds that to reach 192.168.2.0/24 (LAN2) it should send the packets to R2.
R2 receives the packet.
R2 knows that LAN2 is directly connected and deliver the packet to the PC (going through switch2).
Same thing happens on the way back.