Cara Setting IP Static Linux Centos 6root@server_rdy_# vi /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE="eth0"ONBOOT=yesHWADDR=A4:BA:DB:37:F1:04BOOTPROTO=staticIPADDR=192.168.1.1NETMASK=255.255.255.0Cara Setting Gateway Linux Centos 6root@server_rdy_# vi /etc/sysconfig/networkNETWORKING=yesHOSTNAME=centos6GATEWAY=192.168.1.1## Restart Network Interfaceroot@server_rdy_# /etc/init.d/network restartCara Setting DNS Server Linux Centos 6root@server_rdy_# vi /etc/resolv.confnameserver 202.134.1.10 # Replace with your nameserver ipnameserver 202.134.0.155 # Replace with your nameserver ipSedangkan jika ingin mensetting IP DHCP centos 6Cara Setting IP DHCP Linux Centos 6root@server_rdy_# vi /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE="eth0"ONBOOT=yesHWADDR=A4:BA:DB:37:F1:04BOOTPROTO=dhcp## Restart Network Interfaceroot@server_rdy_# dhclientroot@server_rdy_# /etc/init.d/network restartSemoga Bermanfaat...Terima Kasih...
Minggu, 03 Maret 2013
Settting IP Linux Centos 6 via Console Text Mode
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar