HP VPN Firewall Appliances Network Management Configuration Guide

849
[Firewall-GigabitEthernet0/3] ipv6 address 10::2 64
[Firewall-GigabitEthernet0/3] undo ipv6 nd ra halt
[Firewall-GigabitEthernet0/3] ripng 1 enable
[Firewall-GigabitEthernet0/3] ipv6 policy-based-route aaa
2. Configure RIPng for Router B.
<RouterB> system-view
[RouterB] ipv6
[RouterB] ripng 1
[RouterB-ripng-1] quit
[RouterB] interface gigabitethernet 0/1
[RouterB-GigabitEthernet0/1] ipv6 address 1::2 64
[RouterB-GigabitEthernet0/1] ripng 1 enable
3. Configure RIPng for Router A.
<RouterA> system-view
[RouterA] ipv6
[RouterA] ripng 1
[RouterA-ripng-1] quit
[RouterA] interface gigabitethernet 0/2
[RouterA-GigabitEthernet0/2] ipv6 address 2::2 64
[RouterC-GigabitEthernet0/2] ripng 1 enable
4. Verify the configuration:
Enable IPv6 and configure the IPv6 address 10::3 for Host A.
C:\>ipv6 install
Installing...
Succeeded.
C:\>ipv6 adu 4/10::3
On Host A, Telnet to Router B that is directly connected to Router A. The operation succeeds.
On Host A, Telnet to Router A that is directly connected to Router A. The operation fails.
Ping Router A from Host A. The operation succeeds.
Telnet uses TCP, and ping uses ICMP. The preceding results show that all TCP packets received on
GigabitEthernet 0/3 of Firewall are forwarded to the next hop 1::2, and other packets are
forwarded GigabitEthernet 0/2. The IPv6 interface PBR configuration is effective.
Configuring IPv6 interface PBR based on packet length
Network requirements
As shown in Figure 405, configure IPv6 interface PBR to guide the forwarding of packets received on
GigabitEthernet 0/3 of Firewall as follows:
Forwards packets with a length of 64 to 100 bytes to the next hop 150::2/64.
Forwards packets with a length of 101 to 1000 to the next hop 151::2/64.
All other packets are forwarded according to the routing table.