- 积分
- 347
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|
10鸿鹄币
OSPF路由全网互通
在R2和R4之间搭建IPSEC VPN
实验问题:R1和R5的环回口地址之间可以ping通,通过R1的物理接口ping不通R5的环回口,通过R5的物理接口ping不通R1的环回口
R2
R2#sh run | se crypto
crypto isakmp policy 10
encr aes 256
hash sha512
authentication pre-share
group 24
lifetime 3600
crypto isakmp key cisco address 34.1.1.4
crypto isakmp keepalive 30
crypto ipsec transform-set XY esp-aes esp-sha512-hmac
mode tunnel
crypto map IPSEC 10 ipsec-isakmp
set peer 34.1.1.4
set transform-set XY
match address IPSEC
crypto map IPSEC
R2#sh run | se access-list
ip access-list extended IPSEC
permit ip host 1.1.1.1 host 5.5.5.5
permit ip host 23.1.1.2 host 5.5.5.5
permit ip host 12.1.1.1 host 5.5.5.5
R2#ping 5.5.5.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R4
R4#sh run | se crypto
crypto isakmp policy 10
encr aes 256
hash sha512
authentication pre-share
group 24
lifetime 3600
crypto isakmp key cisco address 23.1.1.2
crypto isakmp keepalive 30
crypto ipsec transform-set XY esp-aes esp-sha512-hmac
mode tunnel
crypto map IPSEC 10 ipsec-isakmp
set peer 23.1.1.2
set transform-set XY
match address IPSEC
crypto map IPSEC
R4#sh run | se access-list
ip access-list extended IPSEC
permit ip host 5.5.5.5 host 1.1.1.1
permit ip host 34.1.1.4 host 1.1.1.1
permit ip host 45.1.1.5 host 1.1.1.1
R4#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1
R1#ping 5.5.5.5 source 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 61/94/107 ms
R1#ping 5.5.5.5 source 12.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:
Packet sent with a source address of 12.1.1.1
.....
Success rate is 0 percent (0/5)
R5
R5#ping 1.1.1.1 source 5.5.5.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
Packet sent with a source address of 5.5.5.5
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 169/199/211 ms
R5#ping 1.1.1.1 source 45.1.1.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
Packet sent with a source address of 45.1.1.5
.....
Success rate is 0 percent (0/5)
|
-
最佳答案
查看完整内容
Hey, can you run debug on the link to see if any traffic hits the router from the tunnel. If you don't see any communication between the nodes, then you are looking at the first phase of the problem. Usually here you will see password issues or misconfigured isakmp cyrpto settings. Next, you see Your second stage encrypts the maps, whether they match, and whether they are in order. Do you have ...
|