首页 GNS3下做vrrp实验

GNS3下做vrrp实验

举报
开通vip

GNS3下做vrrp实验GNS3下做vrrp实验 VRRP实验 在这个实验配置了两个VRRP组——vrrp 1和vrrp 2。在vrrp 1中,路由器R1为主虚拟路由器,R2为备用虚拟路由器;在vrrp 2中,路由器R1为备用虚拟路由器,路由器R1为主虚拟路由器。在两个路由器都正常工作的时候,PC1和PC2通过R1访问远端R3。 路由器R1的具体配置: R1(config-if)#int s1/0 R1(config-if)#ip add 200.0.1.1 255.255.255.0 R1(config-if)#no shu...

GNS3下做vrrp实验
GNS3下做vrrp实验 VRRP实验 在这个实验配置了两个VRRP组——vrrp 1和vrrp 2。在vrrp 1中,路由器R1为主虚拟路由器,R2为备用虚拟路由器;在vrrp 2中,路由器R1为备用虚拟路由器,路由器R1为主虚拟路由器。在两个路由器都正常工作的时候,PC1和PC2通过R1访问远端R3。 路由器R1的具体配置: R1(config-if)#int s1/0 R1(config-if)#ip add 200.0.1.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#int f0/0 R1(config-if)#ip address 10.0.0.253 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#vrrp 1 ip 10.0.0.253 R1(config-if)#vrrp 1 priority 200 // Priority change will have no effect whilst interface is VRRP address owner R1(config-if)#vrrp 1 preempt R1(config-if)#vrrp 2 ip 10.0.0.254 R1(config-if)#vrrp 2 priority 100 R1(config-if)#vrrp 2 preempt R1(config-if)#exit R1(config)#router rip R1(config)#ver 2 R1(config)#network 10.0.0.0 R1(config)#network 200.0.1.0 R1(config)#no auto-summary 路由器R2的配置: R2(config-if)#int s1/0 R2(config-if)# ip address 200.0.2.1 255.255.255.0 R2 (config-if)#no shutdown R2 (config-if)#int f0/0 R2 (config-if)#ip address 10.0.0.254 255.255.255.0 R2 (config-if)#no shutdown R2 (config-if)#vrrp 1 ip 10.0.0.253 R2 (config-if)#vrrp 1 priority 150 R2 (config-if)#vrrp 1 preempt R2 (config-if)#vrrp 2 ip 10.0.0.254 R2 (config-if)#vrrp 2 priority 200 R2 (config-if)#vrrp 2 preempt R2 (config-if)#exit R2 (config)#router rip R2 (config)#ver 2 R2 (config)#network 10.0.0.0 R2 (config)#network 200.0.2.0 R2 (config)#no auto-summary 路由器R3的配置: R3(config-if)#int s0/0 R3(config-if)# ip address 200.0.1.2 255.255.255.0 R3(config-if)#no shutdown R3(config-if)#int s0/1 R3(config-if)# ip address 200.0.2.2 255.255.255.0 R3(config-if)#no shutdown R3 (config)#router rip R3 (config)#ver 2 R3 (config)#network 200.0.1.0 R3 (config)#network 200.0.2.0 R3 (config)#no auto-summary R1#show vrrp bri Interface Grp Pri Time Own Pre State Master addr Group addr Fa0/0 1 255 3003 Y Y Master 10.0.0.253 10.0.0.253 Fa0/0 2 100 3609 Y Backup 10.0.0.254 10.0.0.254 R1#show vrrp all FastEthernet0/0 - Group 1 State is Master Virtual IP address is 10.0.0.253 Virtual MAC address is 0000.5e00.0101 Advertisement interval is 1.000 sec Preemption enabled Priority is 255 (cfgd 200) Master Router is 10.0.0.253 (local), priority is 255 Master Advertisement interval is 1.000 sec Master Down interval is 3.003 sec FastEthernet0/0 - Group 2 State is Backup Virtual IP address is 10.0.0.254 Virtual MAC address is 0000.5e00.0102 Advertisement interval is 1.000 sec Preemption enabled Priority is 100 Master Router is 10.0.0.254, priority is 255 Master Advertisement interval is 1.000 sec Master Down interval is 3.609 sec (expires in 2.789 sec) 在路由器R2上: R2#show vrrp bri Interface Grp Pri Time Own Pre State Master addr Group addr Fa0/0 1 150 3414 Y Backup 10.0.0.253 10.0.0.253 Fa0/0 2 255 3003 Y Y Master 10.0.0.254 10.0.0.254 R2#show vrrp all 省略 实验做完了,当然,大家也可以通过关闭接口等方法来验证VRRP是否有效果~
本文档为【GNS3下做vrrp实验】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_672950
暂无简介~
格式:doc
大小:29KB
软件:Word
页数:4
分类:互联网
上传时间:2017-09-19
浏览量:32