Digital Note

Grab a coffe, take a seat, maybe listen to some music and relax by reading our digital daily diary. We want to share our minds and know how with you and the whole world!

Blog phones

Setting IP Address Static Centos

Berikut cara melakukan konfigurasi static ip pada Centos dengan Console

nano /etc/sysconfig/network-scripts/ifcfg-eth0

# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=08:00:27:0d:3e:76

IPADDR=192.168.10.3
NETMASK=255.255.255.0
GATEWAY=192.168.10.1

Untuk menambah nameserver (DNS)

nano /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1
nameserver 8.8.8.8

Selamat mencoba. semoga berhasil

Trackback from your site.

Leave a comment