Figure 1-15
Networking diagram of importing IPv4 ARP Vlink direct routes to BGP
VLANIF10
20.1.1.1/24
RouterC
RouterD
GE1/0/0
20.1.1.3/24
BGP
RouterA
RouterB
VLANIF10
20.1.1.2/24
GE1/0/0
20.1.1.4/24
GE2/0/0
20.2.1.1/24
GE1/0/0
20.2.1.2/24
SwitchA
AS100
GE1/0/0
GE3/0/0
GE2/0/0 GE1/0/0
Configuration Roadmap
The configuration roadmap is as follows:
1.
Create VLANIF interfaces on Switch A and Router C and assign IP addresses to the
VLANIF interfaces, and ensure that Router A, Router B, Switch A, and Router C can
communicate with each other.
2.
Enable BGP on Router C and Router D, ensuring that Router C and Router D are able to
advertise IP routes to each other.
3.
Enable the function of IPv4 ARP Vlink direct route advertisement on Router C.
4.
Configure a route-policy on Router C, allowing routes only from Router B to pass through.
5.
Enable BGP on Router C to import direct routes, and use the route-policy to import routes
only from Router B.
6.
Associate BGP with the route-policy on Router C to filter out the network segment route
of the VLAN so that Router D cannot learn the network segment route and can communicate
with VLAN users only based on IPv4 ARP Vlink direct routes.
Data Preparation
To complete the configuration, you need the following data:
l
ID of the VLAN in which Switch A and Router C reside (the VLAN ID is 10 in this example)
l
Router IDs and AS numbers of Routers C and D (router ID of Router C is 3.3.3.3 and router
ID of Router D is 4.4.4.4, and Routers C and D are in AS 100 in this example)
l
Route-policy used to filter direct routes (the route-policy is policy1 in this example)
l
Route-policy used to advertise BGP routes on Router C (the route-policy is policy2 in this
example)
Procedure
Step 1
Configure an IP address for each interface.
# Configure Router A.
<HUAWEI>
system-view
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
1 IP Routing Basic Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
73