Membuat IP Adress Permanen Di CentOS

Catatan singkat mengenai pengalamatan IP adress secara permanen di CentOS ^_^

eth0(terhubung ke ISP)= 192.168.1.2

eth1(terhubung ke jaringan lokal)= 192.168.2.1

gateway(IP ISP)= 192.168.1.1

mulaiii…

1. di terminal kita ketik :

echo “ifconfig eth0 192.168.1.2 netmask 255.255.255.0 \ broadcast 192.168.1.255″ >> /etc/rc.local

dan..

echo “ifconfig eth1 192.168.2.1 netmask 255.255.255.0 \ broadcast 192.168.2.255″ >> /etc/rc.local

Read more…

Ikuti

Get every new post delivered to your Inbox.