Computer NetworksNETWORKS

SETTING IP ADDRESS DI LINUX UBUNTU SERVER

SETTING IP ADDRESS DI LINUX UBUNTU SERVER

Adapun langkahnya:
1. masuk ke super user:
#sudo su

2. bukalah file interfaces:
#nano /etc/network/interfaces

3. isikan skrip berikut dan simpanlah
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.43.100
netmask 255.255.255.0
broadcast 192.168.43.255
network 192.168.168.43.0

4. Agar IP yang kita setting aktif, maka perlu di restart ulang
Gunakan perintah berikut:
# sudo ifdown eth0
# sudo ifup eth0

5. ketik ifconfig untuk melihat hasil update ip address yang kita setting
#ifconfig

source

ip address

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.

Leave a Reply

Your email address will not be published. Required fields are marked *