Armbian: Cara Merubah IP Address Armbian 20.10
Jump to navigation
Jump to search
CARA KE-1
Ketik perintah berikut untuk rubah melalui user interface:
nmtui
CARA KE-2
Ubah file 'interfaces' yang berada di /etc/network/
nano /etc/network/interfaces
Ubah Dari:
source /etc/network/interfaces.d/* # Wired adapter #1 allow-hotplug eth0 no-auto-down eth0 iface eth0 inet dhcp #iface eth0 inet static #address 192.168.1.100 #netmask 255.255.255.0 #gateway 192.168.1.1 #dns-nameservers 192.168.1.1 # hwaddress ether # if you want to set MAC manually # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838
Menjadi:
source /etc/network/interfaces.d/* # Wired adapter #1 #allow-hotplug eth0 #no-auto-down eth0 #iface eth0 inet dhcp auto eth0 iface eth0 inet static address 192.168.0.99 netmask 255.255.255.0 gateway 192.168.0.254 dns-nameservers 8.8.8.8,8.8.4.4 # hwaddress ether # if you want to set MAC manually # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838