Ubuntu uses netplan to configure network device settings, please see the documentation at:
https://netplan.readthedocs.io/en/stable/