In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Routing Encapsulation Protocol GRE experiment
GRE (Generic Routing Encapsulation), a general routing encapsulation protocol, encapsulates datagrams from some network layer protocols, such as IP and IPX, so that these encapsulated datagrams can be transmitted in another network layer protocol, such as IP.
I. Experimental Topology
Two. Settin
R1:
InterfaceFastEthernet0/0
Ip address61.130.130.1 255.255.255.252
InterfaceFastEthernet0/1
Ip address192.168.1.254 255.255.255.0
Interface Tunnel10
Ip address192.168.4.1 255.255.255.0
Tunnel sourceFastEthernet0/0
Tunnel destination61.130.132.1
Ip classless
Ip route 0.0.0.00.0.0.0 61.130.130.2
Ip route192.168.2.0 255.255.255.0 192.168.4.2
R2:
Interface FastEthernet0/0
Ip address61.130.130.2 255.255.255.252
InterfaceFastEthernet0/1
Ip address 61.130.132.2255.255.255.252
R3:
Interface FastEthernet0/0
Ip address 61.130.132.1 255.255.255.252
Interface FastEthernet0/1
Ip address 192.168.2.254 255.255.255.0
Interface Tunnel20
Ip address 192.168.4.2 255.255.255.0
Tunnel source FastEthernet0/0
Tunnel destination 61.130.130.1
Ip classless
Ip route 0.0.0.0 0.0.0.0 61.130.132.2
Ip route 192.168.1.0 255.255.255.0192.168.4.1
three。 Examination result
R1:
1. View the routing table:
R1#show ip route
Codes: C-connected, S-static, I-IGRP,R-RIP, M-mobile, B-BGP
Gateway of last resort is 61.130.130.2 tonetwork 0.0.0.0
61.0.0.0/30 is subnetted, 1 subnets
C 61.130.130.0 is directly connected, FastEthernet0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/1
S 192.168.2.0/24 [1/0] via 192.168.4.2
C 192.168.4.0/24 is directly connected, Tunnel10
S* 0.0.0.0 via 0 [1Acer 0] 61.130.130.2
two。 View the tunnel interface
R1#show interface tunnel 10
Tunnel10 is up, line protocol is up (connected)
Hardware is Tunnel
Internet address is 192.168.4.1/24
MTU17916 bytes, BW 100 Kbit/sec, DLY 50000 usec
Reliability 255/255, txload 1/255, rxload 1/255
Encapsulation TUNNEL, loopback not set
Keepalive not set
Tunnel source 61.130.130.1 (FastEthernet0/0), destination 61.130.132.1
Tunnel protocol/transport GRE/IP
Key disabled, sequencing disabled
Checksumming of packets disabled
Tunnel TTL 255
Fast tunneling enabled
Tunnel transport MTU 1476 bytes
Tunnel transmit bandwidth 8000 (kbps)
Tunnel receive bandwidth 8000 (kbps)
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0tic75Compact 0 (size/max/drops/flushes); Total output drops: 1
Queueing strategy: fifo
Output queue: 0ap0 (size/max)
5minute input rate 0 bits/sec, 0 packets/sec
5minute output rate 0 bits/sec, 0 packets/sec
26 packets input, 3328 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
42 packets output, 5376 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 output buffer failures, 0 output buffers swapped out
four。 Test results:
Pc1:
PC2:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.