设为首页收藏本站language 语言切换
查看: 1239|回复: 8
收起左侧

[分享] CCNA LAB 100: Configuring GRE Point-To-Point Tunnels

[复制链接]
 成长值: 63730
发表于 2023-1-30 09:24:25 | 显示全部楼层 |阅读模式
本帖最后由 小乔 于 2023-1-30 09:28 编辑


Lab Objective
The objective of this lab exercise is for you to learn how to configure point-to-point GRE tunnels.


Lab Purpose:
Generic Routing Encapsulation (GRE) is IP protocol number 47; its main purpose is to encapsulate any network layer protocol. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to implement GRE tunnels.

Certification Level:
This lab is suitable for ICND2 and CCNA certification exam preparation.

Lab Difficulty:
This lab has a difficulty rating of 7/10.

Readiness Assessment:
When you are ready for your certification exam, you should complete this lab in no more than 20 minutes.


Lab Topology:
Please use the following topology to complete this lab exercise:
100.png



Task 1:
Configure hostnames on R1 and R2 as illustrated in the topology (R1 is on the left).

Task 2:
Configure each router with its respective IPv4 addresses on both of their FastEthernet interfaces.

Task 3:
Configure a GRE tunnel (numbered 1) on each router with the respective IPv4 address (10.10.10.0/30) as per the diagram and add the following settings:


Tunnel source is interface f0/0;
Tunnel destination is the other router’s interface f0/0; and
Set the tunnel mode to GRE.
Task 4:
Configure a static route on R1 to 192.168.2.0/24 via the Tunnel 1 interface, and configure a static route on R2 to 192.168.1.0/24 via the Tunnel 1 interface.

Task5:
Check the status of the interface tunnel and make sure that traffic is flowing through the tunnel as expected.

Configuration and Verification
Task 1:
For reference information on configuring hostnames, please refer to earlier labs.

Task 2:
For reference information on configuring IP addressing, please refer to earlier labs.


Task 3:
R1#config t
Enter configuration commands, one per line.  End with CTRL/Z.
R1(config)#int Tunnel 1
R1(config-if)#ip address 10.10.10.1 255.255.255.252
R1(config-if)#tunnel source f0/0
R1(config-if)#tunnel destination 172.16.1.2
R1(config-if)#tunnel mode gre ip

R2(config)#int Tunnel 1
R2(config-if)#ip address 10.10.10.2 255.255.255.252
R2(config-if)#tunnel source f0/0
R2(config-if)#tunnel destination 172.16.1.1
R2(config-if)#tunnel mode gre ip
Task 4:
R1(config)#ip route 192.168.2.0 255.255.255.0 tunnel 1

R2(config)#ip route 192.168.1.0 255.255.255.0 tunnel 1
Task 5:
R1#sh ip interface brief
Interface        IP-Address      OK? Method Status       Protocol
FastEthernet0/0  172.16.1.1      YES manual up           up
FastEthernet0/1  192.168.1.1     YES manual up           up      
Tunnel1          10.10.10.1      YES manual up           up      

R2#sh ip int brief
Interface          IP-Address      OK? Method Status     Protocol
FastEthernet0/0    172.16.1.2      YES manual up         up      
FastEthernet0/1    192.168.2.1     YES manual up         up      
Tunnel1            10.10.10.2      YES manual up         up

R1#show interface tunnel 1
Tunnel1 is up, line protocol is up
Hardware is Tunnel
Internet address is 10.10.10.1/30
MTU 1514 bytes, BW 9 Kbit/sec, DLY 500000 usec, reliability 255/255, txload 1/255, rxload 1/255
Encapsulation TUNNEL, loopback not set
Keepalive not set
Tunnel source 172.16.1.1 (FastEthernet0/0), destination 172.16.1.2
Tunnel protocol/transport GRE/IP

R2#show interface tunnel 1
Tunnel1 is up, line protocol is up
Hardware is Tunnel
Internet address is 10.10.10.2/30
MTU 1514 bytes, BW 9 Kbit/sec, DLY 500000 usec, reliability 255/255, txload 1/255, rxload 1/255
Encapsulation TUNNEL, loopback not set
Keepalive not set
Tunnel source 172.16.1.2 (FastEthernet0/0), destination 172.16.1.1
Tunnel protocol/transport GRE/IP


来源: CCNA LAB  90: Configuring EIGRP for IPv6
来源: CCNA LAB 91: Configuring Back-to-Back Serial Connections
来源: CCNA LAB  92: Verifying Cisco HDLC Encapsulation
来源: CCNA LAB 93: Configuring PPP Encapsulation
来源: CCNA LAB 94: PPP Authentication Using PAP
来源: CCNA LAB 95: PPP Authentication Using CHAP (Method #1)
来源: CCNA LAB 96: PPP Authentication Using CHAP (Method #2)
来源: CCNA LAB 97: Configuring Multilink PPP (MLPPP)
来源: CCNA LAB 98: Configuring PPPoE

来源: CCNA LAB 99: Configuring eBGP Advanced
发表于 2023-3-17 09:24:59 | 显示全部楼层
谢谢楼主分享
7# 2023-3-17 09:24:59 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-24 10:31 , Processed in 0.068174 second(s), 25 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表