Mirror image acls – H3C Technologies H3C SecPath F1000-E User Manual
Page 137

9
proposal 1
Configuration on Router B:
acl number 3001
rule 0 permit ip source 3.3.3.0 0.0.0.255 destination 1.1.2.0 0.0.0.255
rule 1 deny ip
#
ipsec policy test 1 isakmp
security acl 3001
ike-peer aa
proposal 1
Mirror image ACLs
To ensure that SAs can be set up and the traffic protected by IPsec locally can be processed correctly at
the remote peer, it is recommended on the remote peer to create a mirror image ACL rule for each ACL
rule created at the local peer. As shown in
, ACL rules on Router B are mirror images of the rules
on Router A. This ensures that SAs can be created successfully for the traffic between Host A and Host C
and the traffic between Network 1 and Network 2.
Figure 4 Mirror image ACLs
If the ACL rules on peers do not form mirror images of each other, SAs can be set up only when both of
the following requirements are met:
•
The range specified by an ACL rule on one peer is covered by its counterpart ACL rule on the other
peer. As shown in
, the range specified by the ACL rule configured on Router A is covered
by its counterpart on Router B.
•
The peer with the narrower rule initiates SA negotiation. If a wider ACL rule is used by the SA
initiator, the negotiation request may be rejected because the matching traffic is beyond the scope
, the SA negotiation initiated by Host A to Host C is accepted
while the SA negotiations from Host C to Host B or from Host D to Host A is rejected.
Figure 5 Non-mirror image ACLs