Security e-Series
1753481 Members
3836 Online
108794 Solutions
New Discussion

GRE over IPSEC assistance needed

 
pattap
Regular Advisor

GRE over IPSEC assistance needed

would the below work on comware 5 kit? In addition switchA would have opsf running that would redistribute the static for local LAN on switch B. The commands might not be precisely as they are on comware switches, I don't have anything to test it on at the moment.

SWITCH A

ike peer vpnpeer
pre-shared-key simple password
remote-address 10.102.2.2
local-address 10.102.2.1
#
ipsec proposal tran1
esp authentication-algorithm sha1
esp encryption-algorithm aes 256
#
ipsec policy test 1 isakmp
security acl 3030
ike-peer vpnpeer
proposal tran1
#
acl 3030
rule 0 permit ip source 10.102.2.1 0 dest 10.102.2.2 0
#
int vlan 100
ip add 10.102.2.1 24
ipsec policy test
#
int tun1
ip add 1.1.1.1 24
source vlan-interface 100
destination 10.102.2.2
servie loopack group 1
#
int e1/0/1
port service-loopback-service group 1
#
service loopback group 1 type tunnel
#
ip static-route 10.200.200.0 24 tunn1

SIWTCH B

ike peer vpnpeer
pre-shared-key simple password
remote-address 10.102.2.1
local-address 10.102.2.2
#
ipsec proposal tran1
esp authentication-algorithm sha1
esp encryption-algorithm aes 256
#
ipsec policy test 1 isakmp
security acl 3030
ike-peer vpnpeer
proposal tran1
#
acl 3030
rule 0 permit ip source 10.102.2.2 0 dest 10.102.2.1 0
#
int vlan 100
ip add 10.102.2.2 24
ipsec policy test
#
int tun1
ip add 1.1.1.2 24
source vlan-interface 100
destination 10.102.2.1
servie loopack group 1
#
int e1/0/1
port service-loopback-service group 1
#
service loopback group 1 type tunnel
#
ip static-route 0.0.0.0/0 tunnel1
#
vlan 200
description local LAN
#
int vlan 200
ip add 10.200.200.1 24