This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cisco:labs:00100 [2025/12/23 04:20] – Name | cisco:labs:00100 [2025/12/26 17:28] (current) – Name | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| {{ : | {{ : | ||
| + | |||
| + | - Complete [[cisco: | ||
| ===== Router 1 ===== | ===== Router 1 ===== | ||
| < | < | ||
| conf t | conf t | ||
| - | ip route | + | ip route 2.2.2.2 255.255.255.255 12.0.0.2</ |
| + | |||
| + | ===== Router 2 ===== | ||
| + | < | ||
| + | conf t | ||
| + | ip route 1.1.1.1 255.255.255.255 12.0.0.1</ | ||
| + | |||
| + | |||
| + | ===== Verification ===== | ||
| + | < | ||
| + | Type escape sequence to abort. | ||
| + | Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds: | ||
| + | !!!!! | ||
| + | Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/5 ms</ | ||
| + | |||
| + | < | ||
| + | Type escape sequence to abort. | ||
| + | Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds: | ||
| + | !!!!! | ||
| + | Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/3 ms</ | ||
| + | |||
| + | < | ||
| + | Gateway of last resort is not set | ||
| + | |||
| + | 1.0.0.0/32 is subnetted, 1 subnets | ||
| + | C 1.1.1.1 is directly connected, Loopback0 | ||
| + | 2.0.0.0/32 is subnetted, 1 subnets | ||
| + | S 2.2.2.2 [1/0] via 12.0.0.2 | ||
| + | 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks | ||
| + | C 12.0.0.0/24 is directly connected, GigabitEthernet1 | ||
| + | L 12.0.0.1/32 is directly connected, GigabitEthernet1</ | ||
| + | |||
| + | ===== TCL Script ===== | ||
| + | < | ||
| + | r1(tcl)# | ||
| + | +> | ||
| + | +> | ||
| + | +> | ||
| + | Type escape sequence to abort. | ||
| + | Sending 5, 100-byte ICMP Echos to 12.0.0.2, timeout is 2 seconds: | ||
| + | !!!!! | ||
| + | Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms | ||
| + | Type escape sequence to abort. | ||
| + | Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds: | ||
| + | !!!!! | ||
| + | Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms | ||
| + | r1(tcl)# | ||
| + | |||
| + | < | ||
| + | r2(tcl)# | ||
| + | +> | ||
| + | +> | ||
| + | +> | ||
| + | Type escape sequence to abort. | ||
| + | Sending 5, 100-byte ICMP Echos to 12.0.0.1, timeout is 2 seconds: | ||
| + | !!!!! | ||
| + | Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms | ||
| + | Type escape sequence to abort. | ||
| + | Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds: | ||
| + | !!!!! | ||
| + | Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms | ||
| + | r2(tcl)# | ||