I don’t see DHCP4 being disabled, as config option named dhcp4: true
still present on your netplan
config file. You may also want to setup routes
and nameservers
in static IP configuration.
It can be done in Webmin using Networking ⇾ Network Configuration: Routing and Gateways
and Networking ⇾ Network Configuration: Hostname and DNS Client
pages.
After all your netplan
config should look something like:
network:
ethernets:
ens3:
addresses: ['185.132.42.12/32','109.228.35.223/32']
accept-ra: true
nameservers:
addresses: [127.0.0.53, 8.8.8.8]
search: [.]
routes:
- to: default
via: 185.132.42.254 # may vary depending on your network configuration
version: 2
Also, I would suggest to contact your ISP to help you to switch to static network configuration.
If you wish to do it on your own consider using ip route
and resolvectl status
commands to fill the right network configuration.
Additionally refer to this netplan
manual: