cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 
cancel
1123
Visitas
3
ÚTIL
4
Respuestas

static routing 3 routers dont know how to do it

bautiarcangeli
Level 1
Level 1

Hello everyone. Thanks for reading. I have to connect the PC 0 to the network of router 3. But, I have to pass through the router 2 (the green path). I dont have to use del above path, the red one. I need to go strictly through router 2. Any idea how to do it? Do i have to use static routing? (my teacher said that i should use it) Thanks in advance. 

green path.png

3 SOLUCIONES ACEPTADAS

Soluciones aceptadas

balaji.bandi
Hall of Fame
Hall of Fame

add adminstrative distance with static route - to prefered route. (if this is only want to with static route)

if IGP used you can add cost to prefered route.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Ver la solución en mensaje original publicado

Gopinath_Pigili
Spotlight
Spotlight

Configure two startic routes in Router1 one via Router2 and another via Router3

Since via Router2 is the required path configure static route with lowest AD (Administrative Distance) through exit port ser0/0/1

Router1(config)# ip route 192.168.101.0 255.255.255.0 ser0/0/1 1

Configure another static route with higher AD through exit port ser0/0/0

Router1(config)# ip route 192.168.101.0 255.255.255.0 ser0/0/0 2

When everything is fine...via Router2 will be best path...In case Router2 down then automatically you can reach via Router3.

Best regards
******* If This Helps, Please Rate *******

Ver la solución en mensaje original publicado

M02@rt37
VIP
VIP

Hello @bautiarcangeli,

Yes, use static routes.

R1: 

ip route 192.168.101.0 255.255.255.0 192.168.1.2

ip route 192.168.101.0 255.255.255.0 192.168.2.2 10

R2: 

ip route 192.168.101.0 255.255.255.0 192.168.3.2

ip route 192.168.100.0 255.255.255.0

192.168.1.1

R3:

ip route 192.168.100.0 255.255.255.0 192.168.3.1

ip route 192.168.100.0 255.255.255.0 192.168.2.1 10

 

-- Floating static routes: https://ipcisco.com/lesson/ipv4-floating-static-routes/

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Ver la solución en mensaje original publicado

4 RESPUESTAS 4

balaji.bandi
Hall of Fame
Hall of Fame

add adminstrative distance with static route - to prefered route. (if this is only want to with static route)

if IGP used you can add cost to prefered route.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Gopinath_Pigili
Spotlight
Spotlight

Configure two startic routes in Router1 one via Router2 and another via Router3

Since via Router2 is the required path configure static route with lowest AD (Administrative Distance) through exit port ser0/0/1

Router1(config)# ip route 192.168.101.0 255.255.255.0 ser0/0/1 1

Configure another static route with higher AD through exit port ser0/0/0

Router1(config)# ip route 192.168.101.0 255.255.255.0 ser0/0/0 2

When everything is fine...via Router2 will be best path...In case Router2 down then automatically you can reach via Router3.

Best regards
******* If This Helps, Please Rate *******

M02@rt37
VIP
VIP

Hello @bautiarcangeli,

Yes, use static routes.

R1: 

ip route 192.168.101.0 255.255.255.0 192.168.1.2

ip route 192.168.101.0 255.255.255.0 192.168.2.2 10

R2: 

ip route 192.168.101.0 255.255.255.0 192.168.3.2

ip route 192.168.100.0 255.255.255.0

192.168.1.1

R3:

ip route 192.168.100.0 255.255.255.0 192.168.3.1

ip route 192.168.100.0 255.255.255.0 192.168.2.1 10

 

-- Floating static routes: https://ipcisco.com/lesson/ipv4-floating-static-routes/

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

bautiarcangeli
Level 1
Level 1

Thanks all of you for the answers. It works fine now!!