Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Standar Operasional Prosedur
Konfigurasi Server Linux
Konfigurasi Router
Konfigurasi OLT
Aktivasi InaRa
Recent changes
Random page
Help about MediaWiki
Search
Search
Appearance
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Konfigurasi IP Interface
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Berikut ini adalah langkah - langkah bagaimana memberikan IP Adddress static pada Sistem Operasi Debian 11 == 1. Login sebagai root via terminal dan lakukan perubahan dgn nano editor dgn perintah sbb : root@deb:~# nano /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto enp0s3 iface enp0s3 inet static address 172.16.10.2 netmask 255.255.0.0 network 172.16.0.0 broadcast 172.16.255.255 gateway 172.16.10.1 dns-nameservers 172.16.10.2 # Keluar dan menyimpan konfigurasi dengan cara menenekan CTRL+X lalu tekan y lalu Enter 2. Restart konfigurasi networking dengan cara mengetikan salah satu perintah dibawah : root@deb:~# service networking restart root@deb:~# systemctl restart NetworkManager root@deb:~# /etc/init.d/networking stop|start|restart root@deb:~# systemctl restart networking 3. Lalu cek kembali konfigurasi IP dengan mengetikan perintah root@deb:~#ip a root@deb:~#ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 08:00:27:7a:06:63 brd ff:ff:ff:ff:ff:ff inet 172.16.10.2/16 brd 172.16.255.255 scope global enp0s3 valid_lft forever preferred_lft forever 4. Selesai
Summary:
Please note that all contributions to Wiki - SandyaNet may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wiki - SandyaNet:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)