To add a network interface to your virtual machine:
- Go to the Azure portal to find an existing virtual machine. ...
- Select the name of your VM. ...
- In the VM Overview page, select Stop, and then Yes. ...
- Select Networking > Attach network interface. ...
- Select Overview > Start to start the virtual machine.
What is network interface in Azure VM?
A network interface enables an Azure Virtual Machine to communicate with internet, Azure, and on-premises resources. A virtual machine created with the Azure portal, has one network interface with default settings.
How do I create a network interface in Azure?
NSG & Routes: We can apply zero or one network security group and one or more routes to a network interface. IP Forwarding: This setting must be enabled for every network interface that is attached to the virtual machine. DNS servers- We can specify which DNS server the Azure DHCP servers assign a network interface.