Compare cert salaries and plan your next career move
mattipler wrote: If I want to set a static route to network. Is there any difference in setting the static route to exit out of the router interface in the direction of the network say ip route 10.10.10.0 255.255.255.0 fa0/0 to putting the next hop router in the direction of the network ie. ip route 10.10.10.0 255.255.255.0 192.168.10.10 Would either route be considered better or more reliable? There just the same aren't they? I hope that makes sense. Cheers to anyone who replies.
!============= R1 ============ interface Loopback0 ip address 192.168.100.1 255.255.255.0 ! interface FastEthernet0/0 ip address 192.168.1.1 255.255.255.0 ! ip route 192.168.200.0 255.255.255.0 Loopback0 ! router rip version 2 network 192.168.1.0 ! R1#sh 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 S 192.168.200.0/24 is directly connected, Loopback0 <------ shown as directly connected C 192.168.1.0/24 is directly connected, FastEthernet0/0 C 192.168.100.0/24 is directly connected, Loopback0 !============== R2 =========== interface FastEthernet0/0 ip address 192.168.1.2 255.255.255.0 ! router rip version 2 network 192.168.1.0 R2#sh 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 C 192.168.1.0/24 is directly connected, FastEthernet0/0
!====================== R1 =============== R1(config)#router rip R1(config-router)#network 192.168.200.0 !=========== R2 ============== R2# sh 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 R 192.168.200.0/24 [120/1] via 192.168.1.1, 00:00:09, FastEthernet0/0 C 192.168.1.0/24 is directly connected, FastEthernet0/0 R2#
R1(config-router)#ip route 0.0.0.0 0.0.0.0 fa0/0 R1(config)# R1(config)# R1(config)#do sh 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 0.0.0.0 to network 0.0.0.0 S 192.168.200.0/24 is directly connected, Loopback0 C 192.168.1.0/24 is directly connected, FastEthernet0/0 C 192.168.100.0/24 is directly connected, Loopback0 S* 0.0.0.0/0 is directly connected, FastEthernet0/0 R1(config)#end R1#debug ip packet detail IP packet debugging is on (detailed) R1#ping 200.200.200.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 200.200.200.1, timeout is 2 seconds: *Mar 13 06:25:16.779: IP: tableid=0, s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), routed via RIB *Mar 13 06:25:16.779: IP: s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), len 100, sending *Mar 13 06:25:16.779: ICMP type=8, code=0 *Mar 13 06:25:16.779: IP: s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), len 100, encapsulation failed *Mar 13 06:25:16.779: ICMP type=8, code=0. *Mar 13 06:25:18.779: IP: tableid=0, s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), routed via RIB *Mar 13 06:25:18.779: IP: s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), len 100, sending *Mar 13 06:25:18.779: ICMP type=8, code=0 *Mar 13 06:25:18.779: IP: s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), len 100, encapsulation failed *Mar 13 06:25:18.783: ICMP type=8, code=0. *Mar 13 06:25:20.779: IP: tableid=0, s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), routed via RIB *Mar 13 06:25:20.779: IP: s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), len 100, sending *Mar 13 06:25:20.779: ICMP type=8, code=0 *Mar 13 06:25:20.779: IP: s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), len 100, encapsulation failed *Mar 13 06:25:20.779: ICMP type=8, code=0. **Mar 13 06:25:22.779: IP: s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), len 100, sending *Mar 13 06:25:22.779: ICMP type=8, code=0 *Mar 13 06:25:22.779: IP: s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), len 100, encapsulation failed *Mar 13 06:25:22.779: ICMP type=8, code=0. *Mar 13 06:25:24.779: IP: tableid=0, s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), routed via RIB *Mar 13 06:25:24.779: IP: s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), len 100, sending *Mar 13 06:25:24.779: ICMP type=8, code=0 *Mar 13 06:25:24.779: IP: s=192.168.1.1 (local), d=200.200.200.1 (FastEthernet0/0), len 100, encapsulation failed *Mar 13 06:25:24.779: ICMP type=8, code=0. Success rate is 0 percent (0/5) R1#
r_durant wrote: Oh man, this was sweet...good question and great explanation!! Almost brought tears to my eyes...
Compare salaries for top cybersecurity certifications. Free download for TechExams community.