IPsec×××点对多点

IPsec ×××点对多点

IPsec×××点对多点

AR1
<Huawei>DIS CU
[V200R003C00]
#
acl number 3000
rule 10 permit ip source 192.168.10.0 0.0.0.255 destination 10.10.10.0 0.0.0.255
acl number 3500
rule 5 permit ip source 192.168.10.0 0.0.0.255 destination 172.16.10.0 0.0.0.255
#
ipsec proposal 10
#
ike proposal 10
ike peer 23.23.23.3 v1
pre-shared-key simple 1
ike-proposal 10
remote-address 23.23.23.3
ike peer 24.24.24.4 v1
pre-shared-key simple 1
ike-proposal 10
remote-address 24.24.24.4
#
ipsec policy zb 100 isakmp
security acl 3500
ike-peer 23.23.23.3
proposal 10
ipsec policy zb 110 isakmp
security acl 3000
ike-peer 24.24.24.4
proposal 10
#
interface GigabitEthernet0/0/0
ip address 12.12.12.1 255.255.255.0
ipsec policy zb
#
interface GigabitEthernet0/0/1
ip address 192.168.10.254 255.255.255.0
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 12.12.12.2
return
<Huawei>

AR2

interface GigabitEthernet0/0/0
ip address 12.12.12.2 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 23.23.23.2 255.255.255.0
#
interface GigabitEthernet2/0/0
ip address 24.24.24.2 255.255.255.0
#

AR3
<to2>DIS CU
[V200R003C00]
#
dhcp enable
#
acl number 3000
rule 5 permit ip source 172.16.10.0 0.0.0.255 destination 192.168.10.0 0.0.0.255
acl number 3500
rule 5 deny ip source 172.16.10.0 0.0.0.255 destination 192.168.10.0 0.0.0.255
rule 10 permit ip source 172.16.10.0 0.0.0.255
#
ipsec proposal 10

ike proposal 10
#
ike peer 10 v1
pre-shared-key simple 1
ike-proposal 10
remote-address 12.12.12.1
#
ipsec policy 10 10 isakmp
security acl 3000
ike-peer 10
proposal 10
#
interface GigabitEthernet0/0/0
ip address 172.16.10.254 255.255.255.0
dhcp select interface
#
interface GigabitEthernet0/0/1
ip address 23.23.23.3 255.255.255.0
ipsec policy 10
nat outbound 3500
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 23.23.23.2
#
return
<to2>

AR4
<Huawei>DIS CU
[V200R003C00]
#
dhcp enable
#
acl number 3000
rule 5 permit ip source 10.10.10.0 0.0.0.255 destination 192.168.10.0 0.0.0.255
#
ipsec proposal 10
#
ike proposal 10
#
ike peer 12.12.12.1 v1
pre-shared-key simple 1
ike-proposal 10
remote-address 12.12.12.1
#
ipsec policy fb 10 isakmp
security acl 3000
ike-peer 12.12.12.1
proposal 10
#
interface GigabitEthernet0/0/0
ip address 10.10.10.254 255.255.255.0
dhcp select interface
#
interface GigabitEthernet0/0/1
ip address 24.24.24.4 255.255.255.0
ipsec policy fb
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 24.24.24.2
#
return
<Huawei>

验证
IPsec×××点对多点

转载于:https://blog.51cto.com/9616635/2365501

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值