12-09-2010 10:57 PM - edited 03-04-2019 10:44 AM
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
12-10-2010 12:13 AM
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
12-10-2010 01:14 AM
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.
12-10-2010 01:41 AM
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.
12-10-2010 01:53 AM
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
12-10-2010 06:35 AM
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
12-12-2010 06:02 AM
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
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