Sunday, March 20, 2011

LINUX Server Setup (DHCP SERVER)

DHCP SERVER

Service : dhcp

Find File
# cd /Media/(if using Fedora CD)
# ls | grep ( using for grabbing file only)

Install
# yum install dhcpd (if there is NO dhcp in fedora packages)
# rpm –ivh (if there is dhcp in fedora packages)

Check Status
# rpm –q dhcpd

Up service
# service dhcpd status – check status
# service dhcpd start – start service
# service dhcpd restart – restart service
# service dhcpd stop - stop service

Parameter
vim /etc/dhcpd.conf – modify dhcp scope

Additional info :

•SELinux turn off
# vim /etc/selinux/config
- set selinux = disabled (reboot pc after set)

•iptables (firewall) turn off
# service iptables stop
(Also can set by using command #setup service tool)

•Uninstall dhcpd
# yum uninstall dhcpd
# rpm –e dhcpd

No comments:

Post a Comment