cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
34430
Views
0
Helpful
11
Replies

Need help with simple Static route in packet tracer please.

V3teran75
Level 1
Level 1

Hi everyone im looking for help while using the GUI in packet tracer, here is my network.

http://imageshack.us/photo/my-images/10/fresz.png/

I have 2 routers which are on subnetted networks. I just want help with these 2 routers at the moment even though i have a total of 5 subnetworks.

3 routers and 2 serial cables between them = 5 networks.

Router 1's network addresses is 172.30.41.0/24.

The serial cable has an address of 172.30.42.0./24 and the 3rd router has and network address of 172.30.43.0/24.

They all have a subnet mask of 255.255.255.0.

My problem is when i give  the router 1 an ip address of  172.30.41.3

I give the serial cable an address of 172.30.42.253 and 254 for the other end of the serial connecting to router no 2.

PC 0 has an ip address of 172.30.40.1.

When i try to ping in packet tracer from pc0 to router 2 it fails.

I have tried entering this in router 1's  static configuration gui which i think is correct yet it still fails to ping.

[IMG]http://imageshack.us/a/img834/9163/fdfergfergf.png[/IMG]

I have the default gateway set as 172.30.41.3 which is the same as the ip address as router 1....

Can somebody show me where im going wrong please ive been at this for 4 hrs now....

2 Accepted Solutions

Accepted Solutions

Hi can you add the static route Like this and check GUI.

PC>
PC>ipconfig

FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: ::
IP Address......................: 172.30.43.1
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 172.30.43.3

PC>
PC>
PC>
PC>ping 172.30.41.1

Pinging 172.30.41.1 with 32 bytes of data:

Reply from 172.30.41.1: bytes=32 time=17ms TTL=126
Reply from 172.30.41.1: bytes=32 time=32ms TTL=126

Ping statistics for 172.30.41.1:
    Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 17ms, Maximum = 32ms, Average = 24ms

Control-C
^C
PC>ping 172.30.41.2

Pinging 172.30.41.2 with 32 bytes of data:

Request timed out.
Reply from 172.30.41.2: bytes=32 time=47ms TTL=126

Ping statistics for 172.30.41.2:
    Packets: Sent = 2, Received = 1, Lost = 1 (50% loss),
Approximate round trip times in milli-seconds:
    Minimum = 47ms, Maximum = 47ms, Average = 47ms

Control-C
^C
PC>

View solution in original post

Hello Paul, there were a few static routes that were missing. And some that were wrong.

Your static routes need to point towards the next hop router, you cant specify the next hop router where the network belongs since the router does not know about that router that is a hop away. So it just simply needs to be passed along to its next router along the path literally

Every one of those routers needs to know how to get to certain networks.

You also added internet router on there. So i included a 100.0.0.X network for the internet. All routers except for the internet router have to have a default route in the direction of the internet router. And I quickly configured NAT so you can get out to the internet and ping the 100.0.0.X network.

Please find the attached.

Hope this helps.

Please rate useful posts and remember to mark any solved questions as answered. Thank you.

Please rate useful posts & remember to mark any solved questions as answered. Thank you.

View solution in original post

11 Replies 11

blau grana
Level 7
Level 7

Hello Paul,

I am little bit confused. Information which you provided are unclear. Can you please post these:

IP configuration of PC0 (IP address/mask/default gateway)

IP configuration of Router0 - Fa0/0, Se0/1 interfaces and routing table

IP configuration of Router1 - Fa0/0, Se0/1 interfaces and routing table

IP configuration of PC1 (IP address/mask/default gateway)

Best Regards

Please rate all helpful posts and close solved questions

Best Regards Please rate all helpful posts and close solved questions

IP configuration of PC0

IP address 172.30.41.1 mask 255.255.255.0 gateway 172.30.41.3

IP configuration of Router0 - Fa0/0 172.30.41.3 Se0/0 172.30.42.253

IP configuration of PC1

IP address 172.30.43.1 mask 255.255.255.0  gateway 172.30.43.3

IP configuration of Router1 - Fa0/0  172.30.43.3  Se0/0 172.30.42.254

I have not used the commandline within cisco yet, I know you can static route these by using copy and paste into router config/static/ static routes (Network-mask-next hop).

Im trying to do it this way before i use the cmdline. Im also doing it this way so when i do come to useing protocols like Rip-Ripv2-Eigrp etc i can appreciate the protocols more in what they are actually doing instead of entering static routes manually like im trying to do here.

Thanks for helping, ive been at this all day and im stuck!

Hello Paul. I decided to do this using EIGRP. Its just a simple eigrp peering with router 0 and router 1. And within the eigrp process, i am redistributing the connected interfaces i.e. the connected to PC and the printers.

So instead of defining the static routes, eigrp process is advertising the networks for me already.

Please find attached.

If you wanted to do static routing you can do this:

Router 0

ip route 172.30.43.0 255.255.255.0 172.30.42.254

Router 1

ip route 172.30.41.0 255.255.255.0 172.30.42.253

I hope this helps

Please rate useful posts and remember to mark any solved questions as answered. Thank you.

Please rate useful posts & remember to mark any solved questions as answered. Thank you.

No that has not helped, if i wanted Eigrp i would have asked for that 

I want it done by copy and paste into router config/static/ static routes (Network-mask-next hop).

I DO NOT WANT IT DONE BY THE COMMANDLINE PLEASE!

Please see upload file, i cannot ping from pc0 to pc1 while using static routing through router 0 to router 1.

Can you check my that ive entered everything correctly please.

Can you fix my pkt file and then re-upload it so i can see where i went wrong or can somebody explain to me where i went wrong please.

Hi can you add the static route Like this and check GUI.

PC>
PC>ipconfig

FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: ::
IP Address......................: 172.30.43.1
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 172.30.43.3

PC>
PC>
PC>
PC>ping 172.30.41.1

Pinging 172.30.41.1 with 32 bytes of data:

Reply from 172.30.41.1: bytes=32 time=17ms TTL=126
Reply from 172.30.41.1: bytes=32 time=32ms TTL=126

Ping statistics for 172.30.41.1:
    Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 17ms, Maximum = 32ms, Average = 24ms

Control-C
^C
PC>ping 172.30.41.2

Pinging 172.30.41.2 with 32 bytes of data:

Request timed out.
Reply from 172.30.41.2: bytes=32 time=47ms TTL=126

Ping statistics for 172.30.41.2:
    Packets: Sent = 2, Received = 1, Lost = 1 (50% loss),
Approximate round trip times in milli-seconds:
    Minimum = 47ms, Maximum = 47ms, Average = 47ms

Control-C
^C
PC>

Thankyou so much that worked!!

I didnt realise that i needed to configure the static routes on both routers to allow pc0 to ping router chicago..

I thought that i only needed to configure the static routes on router Phoenix to allow pc0 to go through router phoenix and on to chicago.

THANKYOU its been along day but ive learnt from this and i wont forget it.

Feel free to add any feedback.

Hello Paul. Apologies if it annoyed you, it is just confusion. I must have misread your post. I thought you meant you would be interested in something like EIGRP.

Under static routes when you are configuring your router in packet tracer as you have mentioned it should look like this.

Router 0

network 172.30.43.0
mask 255.255.255.0
next hop 172.30.42.254

Router 1

network 172.30.41.0
mask 255.255.255.0
next hop 172.30.42.253

I'll take a look at the PT file and upload sometime. But please try this.

What this is saying is: to get to a certain network within this subnet range, send all traffic going towards this network via the next hop router.

Hope this is a little better at answering your question.

Sent from Cisco Technical Support iPhone App

Please rate useful posts & remember to mark any solved questions as answered. Thank you.

Thankyou Bilal for helping also, see my last post!

Ok i have extended my network alittle further.

I have added a  routers phonenix,chicago and bangor.

I can ping from phonenix to chicago and vice versa as well as clients on these networks successfully.

I have problems as i cannot ping phonenix to bangor router and vice versa.

I cannot ping pc0 to pc2.

I have entered the static routes in the GUI, can somebody please check these for me and see where im going wrong please.

I have uploaded my packet tracer file, please take alook.

Hello Paul, there were a few static routes that were missing. And some that were wrong.

Your static routes need to point towards the next hop router, you cant specify the next hop router where the network belongs since the router does not know about that router that is a hop away. So it just simply needs to be passed along to its next router along the path literally

Every one of those routers needs to know how to get to certain networks.

You also added internet router on there. So i included a 100.0.0.X network for the internet. All routers except for the internet router have to have a default route in the direction of the internet router. And I quickly configured NAT so you can get out to the internet and ping the 100.0.0.X network.

Please find the attached.

Hope this helps.

Please rate useful posts and remember to mark any solved questions as answered. Thank you.

Please rate useful posts & remember to mark any solved questions as answered. Thank you.

Thankyou Bilal i can see where i went wrong thanks to you

Ive learnt alot from this over the past couple of days.

Thanks for everyone for responding.

No doubt there will be more questions from me in the near future as im a student of CCent/CCna.

Thanks again.

Review Cisco Networking for a $25 gift card