Saturday, March 1, 2008

First of all u need dhcp server rpm must be installed other wise u can get it from ftp.linux.com . This configaration is in Rhel 5 rpm file is Dhcp 3.0.53.el5.i386.rpm. After insatalling .. open the file #vim /etc/dhcp.conf, it will point to /usr/share/doc/dhcp*/dhcp.conf.sample , copy it to /etc/dhcp.conf and type restorecon /etc/dhcp.conf .Open it in vim ie vim /etc/dhcp.conf.

Inside the file its given two configaration style one is static and other dynamic.

1.Static means u can Mention ip address with the mac address of comp so that its ipaddress will will not change

2.Dynamic mean we can specify range of ip address eg 192.168.1.0 192.168.1.10

ip will distributed to up to 10

U have to give ur domain name and static ip address in this file

After configaring it

Type in promt service dhcpd restart

Done


No comments:

curl and cacert

curl -v --cacert cacert.pem https://www.example/cgi-bin/f ile.xgi -I -X POST