Skip to content

This tutorial tells you how to make a static IP address configuration without making any change in the default configuration file.

License

Notifications You must be signed in to change notification settings

andreassebayang/Configure-StaticIP-Ubuntu18Up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configure-StaticIP-Ubuntu18Up

Tools

  1. VirtualBox v6.1
  2. Ubuntu Server 18.04 dan versi terbaru

Step

1. VirtualBox

Configure Network

  • Adapter 1 [x]Enable Network Adapter

  • Attached to : NAT

  • Adapter 2 [x] Enable Network Adapter

  • Attached to : Host-only Adapter

  • Name : VirtualBox Host-Only Ethernet Adapter You must set in File --> Host Network Manager --> Create --> Apply (ignore it)

2. In Ubuntu Server or Ubuntu Desktop

  • Copy the default File configuration
  • Edit the copy of File configuration
network:
   ethernets:
       enp0s8:
           addresses: [192.168.xx.xx/24]
           gateway4: 192.168.xx.x
           dhcp4: no
   version: 2
  • Don't forget to save the configuration
  • sudo netplan try
  • sudo netplan apply

About

This tutorial tells you how to make a static IP address configuration without making any change in the default configuration file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages