HPE Morpheus VM Essentials
1834272 Members
20768 Online
110066 Solutions
New Discussion

Even if you delete the network set up with the hpe-vm command, the setting remains when yo

 
kurotan
Frequent Advisor

Even if you delete the network set up with the hpe-vm command, the setting remains when yo

To check whether it worked, I configured a VLAN interface using "Configure Network" in hpe-vm.
After checking communication between the hosts with the ping command,

I deleted the settings, but when I ran the "ip a" command,
the network settings still remained.
The above settings were deleted by rebooting the hypervisor host.


Is a reboot necessary?

3 REPLIES 3
MK_J
HPE Pro

Re: Even if you delete the network set up with the hpe-vm command, the setting remains whe

You may try steps below to delete network interfaces :

Back Up Current Network Configuration:

# sudo cp /etc/netplan/*.yaml ~/network-backup/

Remove Netplan Configuration Files
# sudo rm /etc/netplan/*.yaml

Apply Changes:
# sudo netplan apply

Regards,

 



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
kurotan
Frequent Advisor

Re: Even if you delete the network set up with the hpe-vm command, the setting remains whe

@MK_J,

The method you taught me seems like it would stop the network.

I tried it, but all networks stopped.

I connected to the local console and copied the backed up file to /etc/netplan, then ran "netplan apply" and the network was restored, but the VLAN interface settings remained.

When I rebooted after the above, the VLAN interfaces disappeared.

kurotan
Frequent Advisor

Re: Even if you delete the network set up with the hpe-vm command, the setting remains whe

@MK_J,

Is rebooting the OS the only solution?