R1#sh ip int bri
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            192.168.12.1    YES manual up                    up     
FastEthernet1/0            192.168.13.1    YES manual up                    up     
Loopback0                  1.1.1.1         YES manual up                    up 

R2#sho ip int bri
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            192.168.12.2    YES manual up                    up     
FastEthernet1/0            192.168.24.2    YES manual up                    up     

R3#sho ip int bri
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            192.168.13.3    YES manual up                    up     
FastEthernet1/0            192.168.35.3    YES manual up                    up     

R4#sho ip int bri
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            192.168.24.4    YES manual up                    up     
FastEthernet1/0            192.168.45.4    YES manual up                    up     
Loopback0                  unassigned      YES manual up                    up     

R5#sho ip int bri
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            192.168.35.5    YES manual up                    up     
FastEthernet1/0            192.168.45.5    YES manual up                    up     
Loopback0                  5.5.5.5         YES manual up                    up 

R1#sh ip route static
     5.0.0.0/24 is subnetted, 1 subnets
S       5.5.5.0 [1/0] via 192.168.13.3
                [1/0] via 192.168.12.2

R2#sho ip route static
     1.0.0.0/24 is subnetted, 1 subnets
S       1.1.1.0 [1/0] via 192.168.12.1
     5.0.0.0/24 is subnetted, 1 subnets
S       5.5.5.0 [1/0] via 192.168.24.4

R3#sh ip route static
     1.0.0.0/24 is subnetted, 1 subnets
S       1.1.1.0 [1/0] via 192.168.13.1
     5.0.0.0/24 is subnetted, 1 subnets
S       5.5.5.0 [1/0] via 192.168.35.5

R4#sho ip route static
     1.0.0.0/24 is subnetted, 1 subnets
S       1.1.1.0 [1/0] via 192.168.24.2
     5.0.0.0/24 is subnetted, 1 subnets
S       5.5.5.0 [1/0] via 192.168.45.5

R5#sho ip route static
     1.0.0.0/24 is subnetted, 1 subnets
S       1.1.1.0 [1/0] via 192.168.45.4
                [1/0] via 192.168.35.3

R1#ping 5.5.5.5 source 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 96/112/128 ms

R1#traceroute 5.5.5.5 source 1.1.1.1

Type escape sequence to abort.
Tracing the route to 5.5.5.5

  1 192.168.13.3 68 msec
    192.168.12.2 64 msec
    192.168.13.3 48 msec
  2 192.168.24.4 72 msec
    192.168.35.5 96 msec
    192.168.24.4 84 msec

R1(config)#ip route 5.5.5.0 255.255.255.0 192.168.13.3 2

R1(config)#int fa0/0
R1(config-if)#shut

R1#sho ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Loopback0
C    192.168.13.0/24 is directly connected, FastEthernet1/0
     5.0.0.0/24 is subnetted, 1 subnets
S       5.5.5.0 [2/0] via 192.168.13.3

0 comments:

Post a Comment

 
Top