Posts

Showing posts with the label Ubuntu server 20.10 set static ip

Ubuntu server 20.10 set static ip

 Ubuntu server 20.10 set static ip :-  sudo ls /etc/netplan sudo vi /etc/netplan/ --installer-config.ymail.com [Change bleow setting] network:   version: 2    ethernets:     enp0s3:       dhcp4: false       addresses:       - 192.168.1.6/24       gateway4: 192.168.1.1       nameservers:           addresses:           - 192.168.1.1           - 8.8.8.8           - 4.2.2.2    sudo netplan generate sudo netplan apply sudo netplan --debug apply