Creating a Virtual Gateway Attachment for the Enterprise Router
Scenarios
This section describes how to attach a Direct Connect connection to the enterprise router and configure routes.
Procedure
- Create a virtual gateway and attach it to the enterprise router.
- On the Direct Connect console, create a virtual gateway.
For details, see Step 2: Create a Virtual Gateway.
- On the Enterprise Router console, check whether the virtual gateway attachment has been added to the enterprise router.
For details, see Viewing Details About an Attachment.
If the status of the virtual gateway attachment is Normal, the attachment has been added.
Default Route Table Association and Default Route Table Propagation are enabled when you create the enterprise router. After the virtual gateway is attached to the enterprise router, Enterprise Router will automatically:- Associate the virtual gateway attachment with the default route table of the enterprise router.
- Propagate the virtual gateway attachment to the default route table of the enterprise router. The routes to the on-premises data center are propagated to the route table.
You can view routes to the on-premises data center in the route table of the enterprise router only after creating a virtual interface by performing 2.
- On the Direct Connect console, create a virtual gateway.
- Create a virtual interface.
Create a virtual interface to connect the virtual gateway with the on-premises data center. For details, see Step 3: Create a Virtual Interface.
For details about virtual interface planning, see Table 6.
- Configure routes on the network device in the on-premises data center to point to the Huawei Cloud.
The following uses a Huawei network device as an example to describe how to configure a BGP route.
bgp 64510
peer 10.0.0.1 as-number 64512
peer 10.0.0.1 password simple 12345678
network 10.1.123.0 255.255.255.0
Table 1 BGP route Command
Description
bgp 64510
Enables BGP.
64510 is the ASN used by the on-premises data center.
peer 10.0.0.1 as-number 64512
Creates a BGP peer.- 10.0.0.1 is the gateway on Huawei Cloud.
- 64512 is the ASN used by Huawei Cloud. The value must be 64512.
peer 10.0.0.1 password simple 12345678
Performs MD5 authentication on BGP messages when a TCP connection is established between BGP peers.
12345678 is the BGP MD5 authentication password.
network 10.1.123.0 255.255.255.0
Adds routes in the IP route table to the BGP route table.
- 10.1.123.0 is the network used by the on-premises data center.
- 255.255.255.0 is the subnet mask of the on-premises network.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot