Header Ads

  • New Updates

    Upuntu server 18.04 TLS Manual IP Configuration



    Upuntu server 18.04 TLS Manual IP Configuration

    Edit below file as follows

    # vi /etc/netplan/01-netcfg.yaml


    # This file describes the network interfaces available on your system
    # For more information, see netplan(5).
    network:
      version: 2
      renderer: networkd
      ethernets:
        ens33:
          dhcp4: no
          dhcp6: no
          addresses: [192.168.1.100/24, '2001:1::1/64']
          gateway4: 192.168.1.1
          nameservers:
            addresses: [8.8.8.8,8.8.4.4]

    # sudo netplan apply

    No comments

    Post Top Ad

    Post Bottom Ad

    Ads