cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4959
Views
0
Helpful
6
Replies

5 Routers static routing config

Srinivas N
Level 1
Level 1

Dear friends,

I wanted to config 5 routers with static routeing in a serial, please configure the below ips

Router A connected to Router B, Router B Connected to Router C, Router C Connected to Router D and Router D connected to Router E 

A Router

Fa 0/1 192.168.1.1

s0 10.1.1.1

B Router

Fa 0/1 193.168.1.1

s0 10.1.1.2

s1 20.1.1.1

C Router

Fa 0/1 194.168.1.1

s0 20.1.1.2

s1 30.1.1.1

D Router

Fa 0/1 195.168.1.1

s0 30.1.1.2

s1 40.1.1.1

E Router

Fa 0/1 196.168.1.1

s0 40.1.1.2

Thanks & Regards, Srinivas. N.
6 Replies 6

mrdogantr
Level 1
Level 1

Router A

ip route 0.0.0.0 0.0.0.0 10.1.1.2

Router E

ip route 0.0.0.0 0.0.0.0 40.1.1.1

Router B

ip route 192.168.1.0 0.0.0.255 10.1.1.1

ip route 194.168.1.0 0.0.0.255 20.1.1.2

ip route 195.168.1.0 0.0.0.255 20.1.1.2

ip route 196.168.1.0 0.0.0.255 20.1.1.2

Router C

ip route 192.168.1.0 0.0.0.255 20.1.1.1

ip route 193.168.1.0 0.0.0.255 20.1.1.1

ip route 195.168.1.0 0.0.0.255 30.1.1.2

ip route 196.168.1.0 0.0.0.255 30.1.1.2

Router D

ip route 192.168.1.0 0.0.0.255 30.1.1.1

ip route 193.168.1.0 0.0.0.255 30.1.1.1

ip route 194.168.1.0 0.0.0.255 30.1.1.1

ip route 196.168.1.0 0.0.0.255 40.1.1.2

hth

Muammer

Thank you Mr.Muammer Dogan,

But, will router A and E will communicate with remaining routers.......?

and i want to communicate each router with each other.

Thanks & Regards, Srinivas. N.

No,

Because we are missing some routes:

on B: ip route 30.1.1.0 255.255.255.0 s1

        ip route 40.1.1.0 255.255.255.0 s1

on C: ip route 10.1.1.0 255.255.255.0 s0

        ip route 40.1.1.0 255.255.255.0 s1

on D: ip route 20.1.1.0 255.255.255.0 s0

         ip route 10.1.1.0 255.255.255.0 s0

Regards.

Don't forget to rate helpful posts.

you right, can you change config. 0.0.0.255 --> 255.255.255.0

for example;

ip route 192.168.1.0 0.0.0.255 10.1.1.1

ip route 192.168.1.0 255.255.255.0 10.1.1.1

tstamatopoulos
Level 1
Level 1

why static routing? when ospf is a much better solution and very easy for your setup is:

Router A:

router ospf 1

router-id 192.168.1.1

redistribute connected subnets

network 10.1.1.0 0.0.0.255

Router B:

router ospf 1

router-id 193.168.1.1

redistribute connected subnets

network 10.1.1.0 0.0.0.255

network 20.1.1.0 0.0.0.255

Router C:

router ospf 1

router-id 194.168.1.1

redistribute connected subnets

network 20.1.1.0 0.0.0.255

network 30.1.1.0 0.0.0.255

Router D:

router ospf 1

router-id 195.168.1.1

redistribute connected subnets

network 30.1.1.0 0.0.0.255

network 40.1.1.0 0.0.0.255

Router E:

router ospf 1

router-id 196.168.1.1

redistribute connected subnets

network 40.1.1.0 0.0.0.255

in this config i assumed that you use /24 for peerings between routers, so with this config all prefixes seeing all other prefixes and all works well

Ganesh Hariharan
VIP Alumni
VIP Alumni

Dear friends,

I wanted to config 5 routers with static routeing in a serial, please configure the below ips

Router A connected to Router B, Router B Connected to Router C, Router C Connected to Router D and Router D connected to Router E 

A Router

Fa 0/1 192.168.1.1

s0 10.1.1.1

B Router

Fa 0/1 193.168.1.1

s0 10.1.1.2

s1 20.1.1.1

C Router

Fa 0/1 194.168.1.1

s0 20.1.1.2

s1 30.1.1.1

D Router

Fa 0/1 195.168.1.1

s0 30.1.1.2

s1 40.1.1.1

E Router

Fa 0/1 196.168.1.1

s0 40.1.1.2

Hi,

Always before configuring just draw scehamtic representation to clear cut configuration

For configuring ip address in the router,say for example in router E

int fa0/1

ip address 196.168.1.1 255.255.255.0

no shu

int s0

ip address 40.1.1.2 255.255.255.0

no shu

drop a default route towards router D interface

ip route 0.0.0.0 0.0.0.0 40.1.1.1

And same way in Router D for routing towards Router C and Router E subnet

ip address 196.168.1.0 255.255.255.0 40.1.1.2

ip address 194.168.1.0 255.255.255.0 30.1.1.1

Similarly configure for all router !!

Hope to Help !!

Ganesh.H

Remember to rate the helpful post

Review Cisco Networking products for a $25 gift card