--> Skip to main content

Konfigurasi Alamat IP di Ubuntu

root@server:~# vim /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.71
netmask 255.255.255.0
auto eth1
iface eth1 inet static
address 122.200.52.23
netmask 255.255.255.128
gateway 122.200.52.1
Comment Policy: Silahkan tuliskan komentar Anda yang sesuai dengan topik postingan halaman ini. Komentar yang berisi tautan tidak akan ditampilkan sebelum disetujui.
Buka Komentar