Advertising IPv4 Address Resolution Protocol (ARP) Vlink direct routes on the public network allows precise control of data traffic.
IP packets are forwarded through a specified physical interface, but cannot be forwarded through a logical interface. If packets reach a logical interface, the device obtains information about the layer-3 interfaces using IPv4 ARP and generates relevant routing entries. The routes recorded by the routing entries are called IPv4 ARP Vlink direct routes.
As shown in Figure 1, DeviceD uses logical interfaces to connect to Devices A, B, and C at three sites. DeviceE only needs to communicate with DeviceB, but not with DeviceA or DeviceC. You can configure DeviceD to advertise IPv4 ARP Vlink direct routes and configure a route-policy on DeviceD to filter out routes to the network segment of the VLAN for which the logical interfaces are configured and filter out routes to DeviceA and DeviceC.
Before IPv4 ARP Vlink direct routes are advertised, a route-policy can be configured to filter the advertised routes and only routes that match the route-policy can be advertised. In this manner, data traffic can be precisely controlled.
Perform the following steps on the router on which IPv4 ARP Vlink direct routes need to be advertised.
Before advertising IPv4 ARP Vlink direct routes on the public network, configure parameters of a link layer protocol and assign an IP address to each interface to ensure that the link layer protocol on the interfaces is Up.
The system view is displayed.
Advertising IPv4 ARP Vlink direct routes is enabled.
At present, apply clauses cannot be used to set routing attributes for the ARP Vlink direct routes that match the filtering rules.
The interface view is displayed.
A priority is configured for ARP Vlink direct routes.
The configuration is committed.
Run the display ip routing-table ip-address [ mask | mask-length ] [ longer-match ] [ verbose ] command to check information about advertised public network IPv4 ARP Vlink direct routes on the public network.