项目案例23MSR使用VRRP虚地址建立GRE隧道配置重点

上传人:mg****2 文档编号:123680881 上传时间:2020-03-10 格式:DOC 页数:8 大小:171KB
返回 下载 相关 举报
项目案例23MSR使用VRRP虚地址建立GRE隧道配置重点_第1页
第1页 / 共8页
项目案例23MSR使用VRRP虚地址建立GRE隧道配置重点_第2页
第2页 / 共8页
项目案例23MSR使用VRRP虚地址建立GRE隧道配置重点_第3页
第3页 / 共8页
项目案例23MSR使用VRRP虚地址建立GRE隧道配置重点_第4页
第4页 / 共8页
项目案例23MSR使用VRRP虚地址建立GRE隧道配置重点_第5页
第5页 / 共8页
点击查看更多>>
资源描述

《项目案例23MSR使用VRRP虚地址建立GRE隧道配置重点》由会员分享,可在线阅读,更多相关《项目案例23MSR使用VRRP虚地址建立GRE隧道配置重点(8页珍藏版)》请在金锄头文库上搜索。

1、.项目案例计算机网络系统集成项目(工程项目案例及实践)所在系别: 计算机技术系 所属专业: 计算机网络技术 指导教师: 张海峰 专业负责人: 孙志成 MSR使用VRRP虚地址建立GRE隧道配置一.功能需求1.RTA和RTB采用VRRP做备份;2.RTA、RTB使用VRRP虚地址与RTC起GRE Tunnel。3.当RTA链路出现问题时,切换到备用RTB上,保持GRE VPN不断,PC可以快速访问到备用服务器;二.组网信息及描述三.配置步骤RTA的配置#配置接口地址,并起VRRPinterface GigabitEthernet0/0port link-mode routeip address

2、1.1.1.2 255.255.255.0vrrp vrid 1 virtual-ip 1.1.1.4vrrp vrid 1 priority 110vrrp vrid 1 preempt-mode timer delay 5#配置连接内网服务器接口地址interface GigabitEthernet0/1port link-mode routeip address 192.168.1.1 255.255.255.0#配置GRE,此处注意,RTA和RTB上的配置参数需要一致,source地址需要配置为VRRP的虚地址。interface Tunnel0ip address 10.1.1.1

3、255.255.255.0source 1.1.1.4destination 1.1.1.10keepalive 10 3#配置完,切记要添加一条静态路由,指向tunnel口。ip route-static 192.168.2.0 255.255.255.0 Tunnel0RTB的配置#配置接口地址,并起VRRPinterface GigabitEthernet0/0port link-mode routeip address 1.1.1.3 255.255.255.0vrrp vrid 1 virtual-ip 1.1.1.4vrrp vrid 1 preempt-mode timer de

4、lay 5#配置连接内网服务器接口地址interface GigabitEthernet0/1port link-mode routeip address 192.168.1.1 255.255.255.0#配置GRE,此处注意,RTA和RTB上的配置参数需要一致,source地址需要配置为VRRP的虚地址。interface Tunnel0ip address 10.1.1.1 255.255.255.0source 1.1.1.4destination 1.1.1.10keepalive 10 3#ip route-static 192.168.2.0 255.255.255.0 Tunn

5、el0#RTC的配置#配置出口地址interface GigabitEthernet0/0port link-mode routeip address 1.1.1.10 255.255.255.0#配置内网地址,这里使用一个loopback地址进行模拟interface LoopBack5ip address 192.168.2.2 255.255.255.255#配置GRE tunnelinterface Tunnel0ip address 10.1.1.2 255.255.255.0source 1.1.1.10destination 1.1.1.4keepalive 10 3#添加一条静

6、态路由,指向tunnel口ip route-static 192.168.1.0 255.255.255.0 Tunnel0配置完成之后,在RTA上观察VRRPRTAdis vrrp verIPv4 Standby Information:Run Mode: StandardRun Method: Virtual MACTotal number of virtual routers : 1Interface GigabitEthernet0/0VRID: 1Adver Timer : 1Admin Status: UpState: MasterConfig Pri: 110Running Pr

7、i : 110Preempt Mode: YesDelay Time: 5Auth Type: NoneVirtual IP: 1.1.1.4Virtual MAC: 0000-5e00-0101Master IP: 1.1.1.2在RTB上观察VRRPRTBdis vrrp verIPv4 Standby Information:Run Mode: StandardRun Method: Virtual MACTotal number of virtual routers : 1Interface GigabitEthernet0/0VRID: 1Adver Timer : 1Admin S

8、tatus: UpState: BackupConfig Pri: 100Running Pri : 100Preempt Mode: YesDelay Time: 5Become Master: 3100ms leftAuth Type: NoneVirtual IP: 1.1.1.4Master IP: 1.1.1.2可以看到,RTA为mater设备。在RTA的观察tunnel0RTAdis interface Tunnel 0Tunnel0 current state: UPLine protocol current state: UPDescription: Tunnel0 Inter

9、faceThe Maximum Transmit Unit is 1476Internet Address is 20.1.1.1/24 PrimaryEncapsulation is TUNNEL, service-loopback-group ID not set.Tunnel source 1.1.1.4, destination 1.1.1.10Tunnel bandwidth 64 (kbps)Tunnel keepalive enabled, Period(10 s), Retries(3)Tunnel protocol/transport GRE/IPGRE key disabl

10、edChecksumming of GRE packets disabledOutput queue : (Urgent queuing : Size/Length/Discards)0/100/0Output queue : (Protocol queuing : Size/Length/Discards)0/500/0Output queue : (FIFO queuing : Size/Length/Discards)0/75/0Last clearing of counters:NeverLast 300 seconds input:2 bytes/sec, 0 packets/sec

11、Last 300 seconds output:2 bytes/sec, 0 packets/sec404 packets input,4956 bytes0 input error233 packets output,5700 bytes0 output error在RTB上观察tunnel0RTBdis interface Tunnel 0Tunnel0 current state: DOWNLine protocol current state: DOWNDescription: Tunnel0 InterfaceThe Maximum Transmit Unit is 64000Int

12、ernet Address is 10.1.1.1/24 PrimaryEncapsulation is TUNNEL, service-loopback-group ID not set.Tunnel source 1.1.1.4, destination 1.1.1.10Tunnel bandwidth 64 (kbps)Tunnel keepalive enabled, Period(10 s), Retries(3)Tunnel protocol/transport GRE/IPGRE key disabledChecksumming of GRE packets disabledOu

13、tput queue : (Urgent queuing : Size/Length/Discards)0/100/0Output queue : (Protocol queuing : Size/Length/Discards)0/500/0Output queue : (FIFO queuing : Size/Length/Discards)0/75/0Last clearing of counters:NeverLast 300 seconds input:0 bytes/sec, 0 packets/secLast 300 seconds output:0 bytes/sec, 0 packets/sec0 packets input,0 bytes0 input error0 packets output,0 bytes0 output error在RTC上观察tunnel0RTCdis int Tunnel 0Tunnel0 current state: UPLine protocol current state: UP

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 建筑/环境 > 设计及方案

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号