Not an expert with Oracle or Linux, so my input is limited. However, in general, when you perform any VM-level restore (using Azure Backup or 3rd party solutions), you are the one that controls which VNet it is created in.
Obviously, if you do a full VM restore in the same VNet, there is going to be a duplication of VMs with the same hostname. The IP Address should not be the same, as (assuming you’re restoring in Azure), the VM will get a DHCP address from the VNet it’s being created in.
But, in a restore operation, it should be Standard Operating Procedure (SOP) to ensure the original VM is shutdown and not broadcasting on the same VNet (for obvious, and observed reasons). Else, perform the restore in a bubble-VNet that’s isolated.
In Azure, even if you perform a restore to a “new” VM with another name, that will not solve your problem. This is because, there is a difference/disconnect between the Azure VM name, and the actual FQDN/Hostname that the VM itself sees/knows. You could have the VM (in the Azure portal) be restored as “VM2”, but since it’s a VM-level restore, inside the OS, the VM itself is still named “VM1”.
Adding a Public IP Address is not a solution either. It’s not recommended (generally), depending on the environment, etc. For example, you wouldn’t want to restore your database VM with a Public IP, and expose it.
You also should not change the IP Address from within the VM itself (again, assuming it’s running in Azure). Even if you want it to have a static IP, you have to manage this through the Azure control-plane, via the NIC object configuration, and not inside the VM (as this will break connectivity, etc. to the VM).
As for the MAC Address question, note the following in the Create, change, or delete a network interface documentation:
Azure assigns a MAC address to the network interface only after the network interface is attached to a virtual machine and the virtual machine is started the first time. You cannot specify the MAC address that Azure assigns to the network interface. The MAC address remains assigned to the network interface until the network interface is deleted or the private IP address assigned to the primary IP configuration of the primary network interface is changed.
Since, during a VM-level restore, you’re creating a new VM, then there won’t be a duplicate MAC Address issue, since a new NIC will be created and assigned.
Hope that helps a little.