ADDING SECONDARY NIC AND IP TO VM

NEPTUNE MICROFINANCE BANK 0 Reputation points
2025-03-11T11:22:32.8+00:00

We are trying to establish a vpn connection with a company and we got this message from them "We discovered that the setup of your tunnel using the IP address 10.0.0.102 conflicts with our Oracle Cloud Infrastructure.

Kindly tell the partner to make use of another IP address that is not within the 10.0.0.0/8 block."

We have another vnet that has 172.0.0.0 and it has been peered with 10.0.0.0 we tried to attach addition NIC to the VM and select a static IP from 172. but we could not do that

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
42,607 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Firat Kutay 0 Reputation points
    2025-03-11T11:36:26.8133333+00:00
    1. Verify VM Size Compatibility

    Ensure your VM size supports multiple NICs. Not all VM sizes in Azure allow multiple NICs. You can check the supported sizes in the Azure documentation.

     

    1. Add a Secondary NIC

    Deallocate the VM by stopping it.

    Navigate to the "Networking" section of the VM in the Azure portal.

    Add a new NIC that is connected to the 172.0.0.0 virtual network.

     

    1. Assign a Static IP

    After adding the NIC, go to the "IP Configurations" of the new NIC.

    Change the IP assignment to "Static" and specify an IP address from the 172.0.0.0 range. Detailed steps can be found here.

     

    1. Configure the Operating System

    Once the NIC is added, you need to configure the operating system of the VM to recognize and use the new NIC. This involves setting up routes for the secondary NIC. Instructions for this step are available here.

     

    1. Test Connectivity

    Verify that the new IP address is functional and does not conflict with the Oracle Cloud Infrastructure.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.