如下图所示,FW1作为某公司总部的网关设备,FW2作为分公司的网关设备。要求在总部和分公司之间建立GRE over IPsec VPN隧道,从而保证公司总部与分公司之间通信数据的完整性和安全性,下列那个配置时正确的?
这题在题库里没给出答案

A. interface Tunnel1 mode gre
ip address 8.8.8.1 255.255.255.0
source 172.1.169.12 0
destination 172.1.170.254 0 ipsec apply policy test
#
ipsec policy test 1 isakmp transform-set test security acl 3010
remote-address 8.8.8.2 ike-profile test
#
acl advanced 3010 description GRE_over_IPSec
rule 0 permitgre source 172.1.169.12 0 destination 172.1.170.254 0 #
ike key chian test
pre-share-key address 8.8.8.2 255.255.255.255 key cipher $c$3SvbBjWYfgqcf iUeHLegpqasjC8OqUQwwtIg==
#
ip route-static192.168.2.1 Tunnel1
B.
interface Tunnel1 mode gre
ip address 8.8.8.1 255.255.255.0
source 172.1.169.12 0
destination 172.1.170.254 0 ipsec apply policy test
#
ipsec policy test 1 isakmp transform-set test security acl 3010
remote-address 8.8.8.2 ike-profile test
#
acl advanced 3010 description GRE_over_IPSec
rule 0 permit gre source 192.168.1.254 0 destination 192.168.2.254 0 #
ike key chian test
pre-share-key address 8.8.8.2 255.255.255.255 key cipher $c$3SvbBjWYfgqcf iUeHLegpqasjC8OqUQwwtIg==
#
ip route-static192.168.2.1 Tunnel1
C. interface GigabitEthemet 1/0/0 port link-mode route
combo enable copper
ip address 172.1.169.12 255.255.255.0
ipsec apply policy test #
ipsec policy test 1 isa
transfrom-set test security acl 3010
remote-address 172.1.170.254 ike-profile test
#
acl advanced 3010 description GRE_over_IPSec
rule 0 permit gre source 172.1.169.12 0
destination 172.1.170.254 0 #
ike keychian test
pre-share-key address 172.1.170.254 255.255.255.255 key cipher $c$3SvbBjWYfgq cfUeHLegpqasjC8OqUQwwtlg==
#
ip route-static 192.168.2.1 Tunnel1
D. interface GigabitEthemet 1/0/0 port link-mode route
combo enable copper
ip address 172.1.169.12 255.255.255.0
ipsec apply policy test #
ipsec policy test 1 isakmp transfrom-set test security acl 3010
remote-address 172.1.170.254 ike-profile test
#
acl advanced 3010 description GRE_over_IPSec
rule 0 permit gre source 192.168.1.1 0
destination 192.168.2.1 0 #
ike keychian test
pre-share-key address 172.1.170.254 255.255.255.255 key cipher $c$3SvbBjWYfgq cfUeHLegpqasjC8OqUQwwtlg==
#
ip route-static 192.168.2.1 Tunnel1
(0)
c
gre over ipsec 与 ipsec over gre 在配置上明显区别:
1、gre over ipsec :ipsec policy 需要下发在公网接口;排除a /b
2、gre over ipsec : 对于感兴趣流的定义、为 gre tunnel 接口的源目 地址;排除D;
gre over ipsec 数据流、是需要先封装gre 、在封装ipsec ;先将数据指向tunnel 接口、封装gre 的源目地址、在转发至公网接口,匹配下发的ipsec policy 封装ipsec;
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论