This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
icnd1:gre [2024/03/14 16:27] 114.119.141.71 old revision restored (2023/10/24 12:04) |
icnd1:gre [2024/03/14 16:48] (current) 114.119.149.71 old revision restored (2017/07/23 16:50) |
||
---|---|---|---|
Line 3: | Line 3: | ||
====Configuration Example==== | ====Configuration Example==== | ||
- | === Topology === | ||
Assuming all destinations are '' | Assuming all destinations are '' | ||
{{: | {{: | ||
Line 10: | Line 9: | ||
* 3 routers / 2 subnets | * 3 routers / 2 subnets | ||
* R1 and R3 Loopback0 interfaces | * R1 and R3 Loopback0 interfaces | ||
- | * We will create | + | * We will create 172.16.0.0 /30 GRE Tunnel. |
- | + | ||
- | + | ||
- | + | ||
- | === Tunnel | + | |
- | R1-- | + | |
- | < | + | |
- | R1#conf t | + | |
- | Enter configuration commands, one per line. End with CNTL/Z. | + | |
- | R1(config)# | + | |
- | R1(config-if)# | + | |
- | R1(config-if)# | + | |
- | *Mar 1 00: | + | |
- | </ | + | |
- | + | ||
- | * At this point of R1, Tu100 is UP/UP and 172.16.0.0/ | + | |
- | + | ||
- | R3-- | + | |
- | < | + | |
- | R3#conf t | + | |
- | Enter configuration commands, one per line. End with CNTL/Z. | + | |
- | R3(config)# | + | |
- | R3(config-if)# | + | |
- | R3(config-if)# | + | |
- | R3(config-if)# | + | |
- | *Mar 1 00: | + | |
- | </ | + | |
- | + | ||
- | * Ping and traceroute results below from R1 to R3 via Lo0 and Tu100. | + | |
- | + | ||
- | < | + | |
- | Gateway of last resort is not set | + | |
- | + | ||
- | | + | |
- | C | + | |
- | | + | |
- | C | + | |
- | C | + | |
- | O | + | |
- | O | + | |
- | + | ||
- | + | ||
- | R1#ping 172.16.0.2 <-- R3 Tu100 interface | + | |
- | Type escape sequence to abort. | + | |
- | Sending 5, 100-byte ICMP Echos to 172.16.0.2, timeout is 2 seconds: | + | |
- | !!!!! | + | |
- | Success rate is 100 percent (5/5), round-trip min/avg/max = 12/22/32 ms | + | |
- | + | ||
- | R1# | + | |
- | + | ||
- | Type escape sequence to abort. | + | |
- | Tracing the route to 172.16.0.2 | + | |
- | + | ||
- | 1 172.16.0.2 44 msec 40 msec 40 msec | + | |
- | + | ||
- | + | ||
- | R1# | + | |
- | + | ||
- | Type escape sequence to abort. | + | |
- | Tracing the route to 10.35.0.1 | + | |
- | + | ||
- | 1 10.10.0.2 40 msec 8 msec 12 msec | + | |
- | 2 10.20.0.2 16 msec 36 msec 24 msec | + | |
- | </ | + |