Linux Hint published a tutorial about setting up a static IP address on Ubuntu 22.04 LTS.
Setting Up Static IP Address on Ubuntu 22.04 LTS
To set up a Static IP Address on Ubuntu 22.04 LTS, you can either use the “nmcli” command in the Ubuntu terminal or utilize the GUI Network Settings.
Setting Up Static IP Address on Ubuntu 22.04 LTS