cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
317
Views
1
Helpful
7
Replies

Static Routing between 3 routers

Simon1837d7
Level 1
Level 1

Im trying to connect 3 routers,

i have tried 

RIP OSPF and Static routing. i just dont know what else to configure.

would love to understand where im going wrong

 

1 Accepted Solution

Accepted Solutions

@Simon1837d7 

There was a few mistakes on your project. 

First, the IP address of  NABr was wrong. It should be 60.0.0.1. It was preventing the OSPF to come up

You also forget the command   "default-router 192.158.90.1" when you created th Pool for NAB

It was missing DHCP pool for SUN

You can check the file attached. 

View solution in original post

7 Replies 7

@Simon1837d7  You can also use EIGRP to connect three routers.

Thanks!

Joseph W. Doherty
Hall of Fame
Hall of Fame

I'm responding from my phone, so cannot at the moment view your attachment.

However, first thing to insure is router interfaces sharing the same media also share a common subnet, each with a unique IP per shared subnet.

Once you have that, routers should be able to route, automatically, between their connected subnets.

The next level, i.e. routing between subnets not connected to an interface, is when static route statements and/or dynamic routing protocols come into play.  Dynamic routing protocols have rules unique to each, but they, or static routes accomplish the same purpose, which is to populate a router with subnets, not directly connected to it, and where to send packets to get them closer to that subnet.

For example, given:

R1 192.168.1.1/24 <> 192.168.1.2/24 R2

and

R2 192.168.2.1/24 <> 192.168.2.2/24 R3

R1 to get to 192.168.2.0/24 needs somehow, to be informed send that destination subnet's packets to 192.168.1.2/24.

R2 doesn't need any additional information.

R3 needs, sort of, the mirror of what R1 needed - can you figure out what?

Given correct information for the above, you should be able to provide the one static route statement, for each R1 and R3, needed.  (NB: it's not the same route statement.)

As to RIP or OSPF, they can be used in lieu of static routing, but effectively they will provide the same information as the two static route statements.  However, again, they have an additional set of usage considerations, above and beyond just the needs of routers for subnet information.

You really want to understand routing, conceptionally, before learning routing protocols.

Joseph W. Doherty
Hall of Fame
Hall of Fame

I'm now at a PC where I can view your PT file.  Ha, router topology what I used as an example.

One major issue I noticed:

JosephWDoherty_1-1738773681092.png

JosephWDoherty_0-1738773616241.png

Do you see it?

As to the other issues, perhaps you should start by choosing how you want to support routing, as I see static routing, RIP and OSFP in the router configs.  You can mix them, but as there's enough issues using any one, probably not advisable to also add in the rules for mixing them.

As noted earlier in my prior reply, dynamic routing protocols have their own set of rules, one of which, for RIPv1, it's classful, and your addressing scheme doesn't appear to be following classful rules.

Also, when I wrote earlier about routers needing to share a subnet on a shared medium, that generally applies to all hosts on the shared media.  I.e. double check all your host address allocations.

im honestly flabbergasted on how i missed such a small but important detail, i also noticed with others help that i wasn't remembering to exit and write to the routers, but thankyou for the explanation aswell

 

Yea, often such little configuration mistakes can lead to major issues.

BTW, I haven't examined @Flavio Miranda 's revised lab, but I believe I noticed some other host addressing issues beyond just the missing default gateway he explicitly mentions.

Also BTW, your OSPF network statements are not "wrong", as they function, but they might indicate you might not appreciate they work a bit different from other routing protocols network statements.

Lastly, if you've chosen to use just OSPF, that's fine, but it's good habit to remove unused configuration statements.  In real networks, it's confusing to go into a config and wasting time to try to figure the purpose of needless statements.

@Simon1837d7 

There was a few mistakes on your project. 

First, the IP address of  NABr was wrong. It should be 60.0.0.1. It was preventing the OSPF to come up

You also forget the command   "default-router 192.158.90.1" when you created th Pool for NAB

It was missing DHCP pool for SUN

You can check the file attached. 

Very much appreciated, i went through with both my file and your v2 file and looked at the difference and worked my file to get to yours so i now understand how i went wrong, always the little things

Review Cisco Networking for a $25 gift card