l
RouterA is not specified as the default gateway of PC1.
l
RouterB is not specified as the default gateway of PC2.
Run the
display ip routing-table
command on RouterA to check whether routes from
Tunnel0/0/1 of RouterA to PC2 at 10.2.0.0/16 exist, and run the
display ip routing-table
command on RouterB to check whether routes from Tunnel0/0/2 of RouterB to PC1 at
10.1.0.0/16 exist.
If no required route exists, run the
ip route-static
command in the system view to configure
static routes. The following example uses the configuration of RouterA:
[RouterA]
ip route-static 10.2.0.0 255.255.0.0 tunnel 0/0/1
If the fault persists after you configure static routes, check whether RouterA is specified as the
default gateway of PC1 and whether RouterB is specified as the default gateway of PC2.
Procedure
Step 1
Check that a route from Tunnel0/0/1 of RouterA to PC2 at 10.2.0.0/16 exists.
Step 2
Check that a route from Tunnel0/0/2 of RouterB to PC1 at 10.1.0.0/16 exists.
Step 3
Check that RouterA is specified as the default gateway of PC1.
Step 4
Check that RouterB is specified as the default gateway of PC2.
----End
Summary
To correctly forward GRE encapsulated packets between two devices, ensure that interfaces on
both ends of a GRE tunnel can ping each other successfully and reachable routes to IP addresses
of the two interfaces on both ends exist.
12.2 IPSec Troubleshooting
12.2.1 SAs Fail to Be Established Manually
Common Causes
This fault is commonly caused by one of the following:
l
The link is faulty.
l
Data flows are not forwarded from a specified interface.
l
The settings of IPSec proposals at both ends of the IPSec tunnel are different.
l
The settings of IPSec policies at both ends of the IPSec tunnel do not match. For example,
the IP addresses of local and remote devices are incorrect or SA parameters at both ends
do not match.
l
The ACLs referenced by IPSec policies at both ends do not mirror each other.
Huawei AR2200-S Series Enterprise Routers
Troubleshooting
12 VPN
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
347