Setting Static IP Address di Ubuntu 22.04 VMWare

Berikut adalah cara configurasi Static IP Address pada Ubuntu


Setting VMnet0

vmnet0 setting

 

buka file

pico /etc/netplan/00-installer-config.yaml

Copy Template dibawah

**************************************************************

# This is the network config written by 'subiquity'

network:

  ethernets:

    ens33:

      #dhcp4: true

      addresses:

        - 110.2.2.12/24

      nameservers:

        addresses: [110.2.2.1,8.8.4.4,8.8.8.8]

      routes:

        - to: default

          via: 110.2.2.1

  version: 2

**************************************************************

running command

netplan apply


test ping ke google dan dns google












LihatTutupKomentar