How Do I Attach an Extension NIC to a Windows ECS for Accessing the Internet?
Scenarios
A Windows ECS has one primary NIC and one extension NIC attached. Both the NICs have an EIP bound to access the Internet.
Constraints
Do not modify the primary NIC settings.
Procedure
- Log in to the management console and choose Compute > Elastic Cloud Server.
- In the ECS list on the displayed page, select the ECS for which you want to add the NIC.
- Click the name of the target ECS to go to the ECS details page.
- Click the NICs tab.
- Click Add NIC and add an extension NIC as prompted.
Ensure that the security group and subnet of the extension NIC are the same as those of the primary NIC.
After the extension NIC is added, the system automatically obtains a private IP address.
- Remotely log in to the ECS.
- Click Open Network and Sharing Center in the lower right corner. Then, click Change adapter settings in the upper left corner and find the newly added NIC.
- Right-click the target network connection and choose Properties from the shortcut menu.
- In the Local Area Connection 3 Properties dialog box, click the Networking tab, select Internet Protocol Version 4 (TCP/IPv4), and click Properties.
- In the Internet Protocol Version 4 (TCP/IPv4) Properties dialog box, click the General tab and configure the private IP address automatically obtained in step 5 for the newly added NIC.
Example configurations:
- Private IP address: 192.168.1.11
- IP address: 192.168.1.11
- Subnet mask: 255.255.255.0
- Default gateway: 192.168.1.1
- Preferred DNS server: 114.114.114.114
- Alternate DNS server: 114.114.115.115
- After the configuration, select Validate settings upon exit.
- Restart the NIC and bind an EIP to it.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.