TRƯỜNG CAO ĐẲNG NGHỀ iSPACE
240 Võ Văn Ngân, Phường Bình Thọ, Quận Thủ Đức, TpHCM
Website:
www.ispace.edu.vn
Email:
ispace@ispace.edu.vn
Tel: (848) 6267 8999 - Fax: (848) 6283 7867
Đề Tài Tốt Nghiệp
www.oktot.com
Trang 106
5. Cấu hình IPSec cho các đường tunnel:
SG1(config)#crypto isakmp policy 1
SG1(config-isakmp)#authentication
pre-share
SG1(config)#crypto isakmp key 6 vietbank address 0.0.0.0 0.0.0.0
SG1(config)#crypto ipsec transform-set myset
esp-aes esp-sha-hmac
SG1(config)#crypto
ipsec profile dmvpn
SG1(ipsec-profile)#set security-association lifetime seconds 120
SG1(ipsec-profile)#set transform-set myset
SG1(ipsec-profile)#set pfs group2
SG1(config)#interface tunnel 0
SG1(config-if)#tunnel protection
ipsec profile dmvpn
Hình 2.30: Kiểm tra IPSec trên Router SG1
Làm tương tự cho Router SG2.
HN(config)#crypto isakmp policy 1
HN(config-isakmp)#authentication pre-share
HN(config)#crypto isakmp key 6 vietbank address 0.0.0.0 0.0.0.0
HN(config)#crypto ipsec transform-set myset esp-aes esp-sha-hmac
HN(config)#crypto ipsec profile dmvpn
HN(ipsec-profile)#set security-association lifetime seconds 120
HN(ipsec-profile)#set transform-set myset
HN(ipsec-profile)#set pfs group2
HN(config)#interface tunnel 0
HN(config-if)#tunnel protection ipsec profile dmvpn
HN(config)#interface tunnel 1
HN(config-if)#tunnel protection ipsec profile dmvpn
Hình 2.31: Kiểm tra IPSec trên Router HN
TRƯỜNG CAO ĐẲNG NGHỀ iSPACE
240 Võ Văn Ngân, Phường Bình Thọ, Quận Thủ Đức, TpHCM
Website:
www.ispace.edu.vn
Email:
ispace@ispace.edu.vn
Tel: (848) 6267 8999 - Fax: (848) 6283 7867
Đề Tài Tốt Nghiệp
www.oktot.com
Trang 107
Chia sẻ với bạn bè của bạn: