@buster.gaylord
To configure a static IP address on Ubuntu, you can follow these steps:
1 2 3 4 5 6 7 8 9 |
network: version: 2 renderer: networkd ethernets: enp0s3: addresses: [192.168.1.100/24] gateway4: 192.168.1.1 nameservers: addresses: [8.8.8.8,8.8.4.4] |
Replace enp0s3
with the name of your network interface, which you can find by running the command ip link
.
Replace 192.168.1.100
with the static IP address you want to use.
Replace 192.168.1.1
with the IP address of your gateway.
Replace 8.8.8.8,8.8.4.4
with the IP addresses of your DNS servers.
That's it! Your Ubuntu system should now be configured with a static IP address.