Accessing the Internet Using an EIP Bound to an Extension NIC
- After you bind an EIP to an extension NIC, access the edge instance and run route to query the routing information.
You can also run route --help to obtain the routing information.
Figure 1 Viewing routing information
- Run ifconfig to view NIC information. Figure 2 Obtaining the NIC information
- Configure Internet access from the extension NIC based on your destination address.
Configure access to a specified IP address range (for example, xx.xx.0.0/16) through the extension NIC.
route add -net xx.xx.0.0 netmask 255.255.0.0 gw 192.168.17.1
If you want to use the extension NIC to access the Internet by default, run the following command:
This operation will interrupt network traffic. Exercise caution when performing this operation.
Last Article: Configuring Policy-based Routing for an Edge Instance with Multiple NICs
Next Article: Change History
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.