08-26-2013 07:20 AM - edited 03-07-2019 03:07 PM
Hi. I have a simple question. I am studying for CCNA certification and i am running Packet Tracer.
I have put in a router (Router 1) with fa0/0 setup as 192,168.1.1/24. Fa0/1 is setup as 68.110.171.98/27 and is set to emulate an internet connection.
I have a switch (Switch 1) connected with fa0/1 connected to fa0/0 of Router 1. On the switch, fa0/4 is conected to another router (Router 2). Router 2 is setup and follows: fa0/0 - 192.168.1.2/24.
Now with RIP setup, i should be able to ping 68.110.171.98 from Router 2 right? But i am not able to do so. Can anyone tell me what i am doing wrong? The switch has a management IP of 192.168.1.10 btw.
Solved! Go to Solution.
08-26-2013 07:54 AM
Technically, if you're wanting to simulate a real internet connection you'll configure nat on the interface. You'll have a public address on one side, and a private address on the lan. You'd nat your 192.168.1.0/24 out as your WAN address. You would have a shared subnet between you and the ISP as 68.110.171.98/27 on your side and the ISP at 68.110.171.97/27. Your internal addresses would be natted where the ISP will see all of your incoming traffic as 68.110.171.98 and none of your private addresses.
The reason that you can hit 192.168.2.0/24 from R1 is probably because you're advertising this under RIP on R2 I would presume...
HTH,
John
*** Please rate all useful posts ***
08-26-2013 07:32 AM
You'll need to advertise the 68.110.171.96/27 in RIP on R1.
Add the following:
router rip
no auto-summar
network 68.0.0.0
version 2
Make sure that you change version 2 on the other router as well...
HTH,
John
*** Please rate all useful posts ***
08-26-2013 07:46 AM
Hi John, but i am simulating 68.110.171.98/27 as an internet connection. Wouldn't advertising 68.110.171.0/27 mean that it will be advertising on the 68.x.x.x network?
Also, on Router 2, i have fa0/1 configured as 192.168.2.1/24, and i am able to ping this from Router 1.
08-26-2013 07:54 AM
Technically, if you're wanting to simulate a real internet connection you'll configure nat on the interface. You'll have a public address on one side, and a private address on the lan. You'd nat your 192.168.1.0/24 out as your WAN address. You would have a shared subnet between you and the ISP as 68.110.171.98/27 on your side and the ISP at 68.110.171.97/27. Your internal addresses would be natted where the ISP will see all of your incoming traffic as 68.110.171.98 and none of your private addresses.
The reason that you can hit 192.168.2.0/24 from R1 is probably because you're advertising this under RIP on R2 I would presume...
HTH,
John
*** Please rate all useful posts ***
08-26-2013 08:08 AM
Ah i see! I haven't got to the NAT part yet, so i got confused.
Thanks for ur help!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide