Answers for "change ubuntu ip address command line"

3

change ubuntu ip address command line

#/etc/netplan/99_config.yaml
network:
  version: 2
  renderer: networkd
  ethernets:
    eth0:
      addresses: [10.10.10.2/24]
      gateway4: 10.10.10.1
      nameservers:
          search: [mydomain, otherdomain]
          addresses: [9.9.9.9, 1.1.1.1]
Posted by: Guest on March-16-2021
3

change ip of ubuntu

sudo ip link set dev eth0 up
sudo dhclient -v eth0
Posted by: Guest on October-19-2020

Code answers related to "change ubuntu ip address command line"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language