ND applies only to the communication of hosts on the same network segment and physical network. When a router receives an NS packet from a host, the router checks whether the destination IPv6 address in the NS packet is the local IPv6 address. This helps to determine whether the NS packet requests for the local MAC address. If yes, an NA packet is sent as a reply. If not, the NS packet is discarded.
For the hosts on the same network segment but different physical networks or the hosts that are on the same network segment and physical network but fail in Layer 2 interworking, proxy ND can be deployed on the router between the hosts to allow such hosts to communicate with each other. After proxy ND is deployed and the router receives an NS packet, the router finds that the destination address in the NS packet is not its own IPv6 address and then replies the source host with an NA packet carrying its own MAC address and the IPv6 address of the destination host. Specifically, the router takes the place of the destination host to reply with an NA packet.
Proxy ND Mode |
Usage Scenario |
---|---|
Routed proxy ND |
Hosts that need to communicate reside on the same network segment but different physical networks, and the gateways connecting to the two hosts are configured with different IP addresses. |
Any proxy ND |
Hosts that need to communicate reside on the same network segment but different physical networks, and the gateways connected to the hosts have the same gateway address. |
Intra-VLAN proxy ND |
Hosts that need to communicate reside on the same network segment and belong to the same VLAN, but user isolation is configured in the VLAN. |
Inter-VLAN proxy ND |
Hosts that need to communicate reside on the same network segment but belong to different VLANs. |
Local proxy ND |
Hosts that need to communicate reside on the same network segment and BD, but user isolation is configured in the BD. |
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.
To address this problem, enable routed ND proxy on Device A's interface 1 and Device B's interface 2.
If routed proxy ND is enabled, Device A sends an NA packet that contains the MAC address of interface 1 to Host A.
Upon receipt of the NA packet, Host A considers that this packet is sent by Host B. Host A learns the MAC address of Device A's interface 1 in the NA packet and sends data packets to Host B using this MAC address.
In scenarios where servers are partitioned into VMs, to allow flexible deployment and migration of VMs on multiple servers or gateways, the common solution is to configure Layer 2 interworking between multiple gateways. However, this approach may lead to larger Layer 2 domains on the network and risks of broadcast storms. To resolve this problem, a common way is to enable any proxy ND on a VM gateway so that the gateway sends its own MAC address to the source VM and the traffic sent from the source VM to other VMs is transmitted over routes.
To address the problem, enable any proxy ND on Device A's interface 1 and Device B's interface 1.
If any proxy ND is enabled, Device A sends an NA packet that contains the MAC address of Interface 1 to VM1.
Upon receipt of the NA packet, VM1 considers that this packet is sent by VM2. VM1 learns the MAC address of Device A's interface 1 in the NA packet and sends data packets to VM2 using this MAC address.
If hosts belong to the same VLAN but the VLAN is configured with Layer 2 port isolation, intra-VLAN proxy ND needs to be enabled on the associated VLAN interfaces to enable host interworking.
To address this problem, enable intra-VLAN proxy ND on Device's interface 1.
If intra-VLAN proxy ND is enabled, Device sends the MAC address of interface 1 to Host A.
Upon receipt of the NA packet, Host A considers that this packet is sent by Host B. Host A learns the MAC address of Device's interface 1 in the NA packet and sends data packets to Host B using this MAC address.
If hosts are on the same network segment and physical network but belong to different VLANs, inter-VLAN proxy ND must be enabled on the associated VLAN interfaces to enable Layer 3 interworking between the hosts.
To address this problem, enable inter-VLAN proxy ND on Device's interface 1.
If inter-VLAN proxy ND is enabled, Device sends the MAC address of Interface 1 to Host A.
Upon receipt of the NA packet, Host A considers that this packet is sent by Host B. Host A learns the MAC address of Device's interface 1 in the NA packet and sends data packets to Host B using this MAC address.
If inter-VLAN proxy ND is enabled, the ASG sends the MAC address of the L3VE sub-interface to CSG1.
Upon receipt of the NA packet, CSG1 considers that this packet is sent by CSG2. CSG1 learns the MAC address of the ASG's L3VE sub-interface in the NA packet and sends data packets to CSG2 using this MAC address.
Local proxy ND can be deployed if two hosts on the same network segment and in the same BD want to communicate with each other but the BD is configured with split horizon.
To address this problem, enable local proxy ND on Device's interface 1.
If local proxy ND is enabled, Device sends the MAC address of interface 1 to Host A.
Upon receipt of the NA packet, Host A considers that this packet is sent by Host B. Host A learns the MAC address of Device's interface 1 in the NA packet and sends data packets to Host B using this MAC address.