Now that you have your superpowers, it's time to edit the network configuration file, which is like the secret recipe book for your network settings. You can use a text editor like Nano or Vim to edit the file, and the command will be something like sudo nano /etc/netplan/01-netcfg.yaml. Don't worry if this looks like gibberish, just follow along!
In this file, you'll add the static IP configuration, which includes the IP address, subnet mask, gateway, and DNS servers. It's like filling out a form, but with more technical jargon. When you're done, save and exit the editor, and then restart your network service using the command sudo netplan apply.
How To Configure Network Static Ip Address On Ubuntu 1910
And that's it! You've successfully set a static IP on your Ubuntu machine, which means you've earned your badge as a networking master. Go ahead and celebrate with a cup of coffee or a nerd joke, because you deserve it!