填空题
阅读以下说明,回答下问题。
[说明]
某公司总部内采用RIP协议,网络拓扑结构如下图所示。根据业务需求,公司总部的192.168.40.0/24网段与分公司192.168.100.0/24.网段通过VPN实现互联。
填空题
[问题1]
根据网络拓扑和需求说明,完成路由器R2的配置:
R2#config t
R2(config)#interface serial 0/0
R2(config-if)#ip address 1 2
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#ip routing
R2(config)#router 3 (进入RIP协议配置子模式)
R2(config-router)#network 4
R2(config-router)#network 5
R2(config-router)#network 6
R2(config-router)#version 2(设置RIP协议版本2)
R2(config-router)#exit
填空题
[问题2]
根据网络拓扑和需求说明,完成(或解释)路由器R1的配置。
R1(config)#interface serial 0/0
R1(config-if)#ip address 1 2
R1(config-if)#no shutdown
R1(config)#ip route 192.168.100.0 255.255.255.0 202.100.2.3 3
R1(config)#crypto isakmp policy 1
R1(config-isakmp)#authentication pre-share 4
R1(config-isakmp)#encryption 3des 加密使用3DES算法
R1(config-isakmp)#hash md5 定义MD5算法
R1(config)#crypto isakmp key test123 address 5 设置密钥为test123和对端地址
R1(config)#crypto isakmp transform-set link ah-md5-h esp-3des 指定VPN的加密和认证算法
R1(config)#accress-list 300 permit ip 192.168.100.0 0.0.0.255 配置ACL
R1(config)#crypto map vpntest 1 ipsec-isakmp 创建crypto map名字为vpntest
R1(config-crypto-map)#set peer 202.100.2.3 指定链路对端IP地址
R1(config-cryto-map)#set transfrom-set link 指定传输模式link
R1(config-crypto-map)#match address 300 指定应用访问控制列表
R1(config)#interface serial 0/0
R1(config)#crypto map 6 应用到接口