...
The following image shows a sample configuration that disables the IPv4 configuration for an interface that is to be dedicated to the emulator using the GNOME network settings (.
Also, make sure to include the option to make the interface Make available to other users) in the Details tab:
You can use the following command to disable IPv6 for an interface (enp0s8 in the example):
...