ubuntu network config

علی ذوالفقار
1399/04/23 07:32:20 (653)
config file can be located in : /etc/netplan/01-netcfg.yaml config is moething like this :
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd
  ethernets:
    ens32:
      addresses: [ 192.168.0.72/22]
      gateway4: 192.168.0.171
      nameservers:
          search: [ mydomain.com ]
          addresses:
              - "8.8.8.8"
apply changes with : sudo netplan apply
Back