Thanks  Rob

I had that similar to this but still didnot work. In Redhat 7.3 they have
change configure.  So

# more /etc/sysconfig/dhcpd
----------------------------------------------------

# Command line options here

DHCPDARGS=eth1         <<= I added eth1 there and call this DHCPDARGS form
/etc/init.d/dhcpd file which is this

#more /etc/init.d/dhcpd
----------------------------------------------------

#!/bin/sh
#
# dhcpd         This shell script takes care of starting and stopping
#               dhcpd.
#
# chkconfig: - 65 35
# description: dhcpd provide access to Dynamic Host Control Protocol.

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network
. /etc/sysconfig/dhcpd

# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0

[ -f /usr/sbin/dhcpd ] || exit 0
[ -f /etc/dhcpd.conf ] || exit 0
[ -f /var/lib/dhcp/dhcpd.leases ] || exit 0

RETVAL=0
prog="dhcpd"

start() {
        # Start daemons.
        echo -n $"Starting $prog: "
        daemon /usr/sbin/dhcpd ${DHCPDARGS}

..............
..
..
----------------------------------------------------
 my /etc/dhcpd.conf
----------------------------------------------------
[root@everest /]# more /etc/dhcpd.conf
# /etc/dhcpd.conf
# DHCPD Configuration

default-lease-time 86400;       # one day
max-lease-time 86400;           # one day

subnet 192.168.2.0 netmask 255.255.255.0 {
        range 192.168.2.2 192.168.2.250;

        option subnet-mask 255.255.255.0;
        option broadcast-address 192.168.2.255;
        option routers 192.168.2.100;

        option domain-name-servers 192.168.2.100;
        option domain-name "local.domain.com";

}

----------------------------------------------------

# more /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.105.140
NETMASK=255.255.255.0
GATEWAY=192.168.105.254

----------------------------------------------------

#more /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO="dhcp"
IPADDR=""
NETMASK=255.255.255.0
ONBOOT="yes"

----------------------------------------------------

# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
192.168.105.140         local.domain.com
192.168.2.100          test.local.domain.com
----------------------------------------------------

When I try to start I got this

# /etc/init.d/dhcpd start
Can't bind to dhcp address: Address already in use exiting.

I don't know, why It is not working. please help me

Thanks
Bimal



-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to