Configuring Routed Proxy ND

Routed proxy ND can be deployed if two hosts are on the same network segment but different physical networks and the gateway connecting to the two hosts are configured with two different IP addresses.

Context

If hosts that need to communicate are on the same network segment but different physical networks and the gateway connected to the hosts are configured with different IP addresses, enable routed proxy ND on the interfaces connecting the router and hosts.

As shown in Figure 1, Device A and Device B are connected to the same network, and the IPv6 addresses of interface 1 and interface 2 belong to different network segments. In this example, Host A wants to communicate with Host B, and the destination IPv6 address and local IPv6 address are on the same network segment. Host A sends an NS packet to request for Host B's MAC address. However, Host B cannot receive the NS packet and therefore fails to send a reply because Host A and Host B are on different physical networks.
Figure 1 Typical networking of routed proxy ND

To address this problem, enable routed ND proxy on Device A's interface 1 and Device B's interface 2.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run ipv6 enable

    IPv6 is enabled on the interface.

  4. Run ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }

    A global unicast address is configured for the interface.

  5. Run ipv6 nd proxy route enable

    Routed ND proxy is enabled.

    • Proxy ND cannot be enabled on an interface configured with a CGA address. Otherwise, the replied NA packets that carry the CGA/RSA option may be discarded.

    • Multiple types of proxy ND can be configured in the interface view. The priorities of these proxy ND types are as follows in descending order: any proxy ND > intra-VLAN proxy ND/inter-VLAN proxy ND/local proxy ND > routed proxy ND.

    • Proxy ND is not supported for the following types of packets:
      • NS packets with a link-local address as the target address
      • DAD NS packets with the source address of all 0s
      • NS packets with the IP address of the local host as the target address.

  6. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >