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

Comments

Popular posts from this blog

How to install and configure OSSEC server and client

How to install nuke in windows 10 and windows 11,Installing Nuke on Windows, Install Nuke on Windows

Autodesk Maya 2024 Install Windows 11