Oracle Linux VM inside Azure Need to set Configuration Manager eth1 back to non-static

Don Curry 0 Reputation points
2024-04-26T22:41:37.31+00:00

I built an Oracle Linux vm and created the AD-DNS Entry and all was doing ok.

I install sudo yum install NetworkManager -tui

went into the Network Manger - Configured the Ether01 to Manual or Static

Configured it ok. Saved my Changes and Exited out of nmtui.

Not can not connect to change this back to get ip automaticlly or Dynamic IP

So far, what I've done to try and fix my mistake is:

Go into Auze Portal: Change it from Auto - to -Static and Entered a new IP-Address

This didn't work.

I then tried removing the ip-then back to Automatic or Dynamic with no IP to see if it would

reset Network Manger inside the VM back to Automatic.

I have even tried to add another Ethernet to the VM

This didn't help either.

So all in all. I need this VM reset back to Automatic Assign IP-Again inside VM

So i can remove my informatioin From the Network Manager

I have even tried using BASTION But won't connect using that either.

Thank you hope someone can help me get out of a jam!!

Don

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,172 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,254 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anveshreddy Nimmala 2,465 Reputation points Microsoft Vendor
    2024-04-29T08:28:39.7633333+00:00

    Hello Don Curry,

    Welcome to microsoft Q&A, thankyou for posting your query here.

    In Azure portal, go to your VM's page, and look for the "Support + troubleshooting" section, then click on "Serial console."

    Using CLI try to reset the DHCP setting for eth1.

    Sudo nmcli device ## to display all the network device connected.

    sudo nmcli connection ## to display the connections in the network

    sudo nmcli connection show id <connection-name> ##to display properties of the connection.

    sudo nmcli connection modify <connection-name> ipv4.method auto # to fetch and configure all DHCP and DNS requirements.

    sudo nmcli connection down <connection-name>

    sudo nmcli connection up <connection-name> ## to reactivate the connection

    Sudo systemctl restart NetworkManager ## to restart the serivce.

    ip addr show eth1 ## to display the ip address of the eth1

    Hope this answer is helpful

    0 comments No comments