Setting up static IP correctly with Network Manager

I am back in primary school again.

My network connection does not connect on re-boot. It woks fine with dhcp but I need the machine on static IP.

I have set the IPv4 tab to manual and have the required address and netmask set up. I use the first available, the one after the network address? on my subnet for both the Gateway and the DNS server. I do this because the subnet is one of several all created by the UTM firewall router. I am not even sighted on the actual DNS server being used but all traffic has to go through the subnet port and the system does the rest. I have no idea if what I do is correct, just that this is what I have always done!

My problem is that after booting I have no internet connection. When I look at the Network Manager (NM) icon on the task bar I have two connections:-

eth0 (eth0) and eth0 (usb0). The machine usually defaults to the eth0 (usb0) connection and no connection to the wan is made.

What is the correct way to configure NM so I have a consistent and reliable connection please?

In NetworkManger you define connection profile. When NetworkManager needs to activate interface, it looks for matching connection profile. Connection profile can be used only by one device at the same time. So what happens in your case, NetworkManager tries to activate both interfaces, connection profile you created can be used for both interfaces and it is non-deterministic which interface will be activated first.

If connection profile is intended for specific interface only you need to configure it so it matches only this specific interface - by using interface MAC or interface name as connection profile property.

Of course you could simply disable USB interface in your server BMC as you have already been told earlier.

Hi and many thanks. I confess I had forgotten how to disable the BMC interface. In fact I have no idea why it is still there but using the MAC address is best for me.
I take it that the rest of my configuration is OK.