Chapter 21 IPv6 URPF Configuration
Figure 21-2 Topology of IPv6 URPF Configuration Example (Loose)
Configuration Flow
1.
As shown in
, establish the networking structure, add a link for the
sub-interface between R1 and R2, and configure the IPv6 address for each interface.
2.
Configure the OSPFv3 protocol between R1 and R2 to ensure the unicast interworking.
3.
Configure loose URPF for the ingress gei-2/1 on R1 and configure ACL.
4.
The source address is 3ff1::1, the destination network segment is 1:20::/64, and the
direction is from R1 to R2.
Configuration Commands
The configuration of R1 is as follows:
R1(config)#interface gei-2/1
R1(config-if-gei-2/1)#no shutdown
R1(config-if-gei-2/1)#ipv6 enable
R1(config-if-gei-2/1)#ipv6 address 1:1:ad::ea/64
R1(config-if-gei-2/1)#exit
R1(config)#interface gei-2/2
R1(config-if-gei-2/2)#no shutdown
R1(config-if-gei-2/2)#ipv6 enable
R1(config-if-gei-2/2)#ipv6 address 1:10::ad:ea/64
R1(config-if-gei-2/2)#exit
R1(config)#interface gei-2/2.1
R1(config-if-gei-2/2.1)#exit
R1(config)#vlan-configuration
R1(config-vlan)#interface gei-2/2.1
R1(config-vlan-if-gei-2/2.1)#encapsulation-dot1q 100
/*configure sub-interface and establish another link*/
R1(config-vlan-if-gei-2/2.1)#exit
R1(config-vlan)#exit
R1(config)#interface gei-2/2.1
R1(config-if-gei-2/2.1)#ipv6 enable
R1(config-if-gei-2/2.1)#ipv6 address 200::1/64
R1(config-if-gei-2/2.1)#exit
R1(config)#ipv6 router ospf 1
R1(config-ospfv3-1)#interface gei-2/1 area 0.0.0.0 instance 0
R1(config-ospfv3-1-if-gei-2/1)#exit
21-5
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential