Error in relay while using ISC DHCP code????

ameen.shajahan at wipro.com ameen.shajahan at wipro.com
Wed Dec 14 12:56:27 UTC 2011


The below 20.5.1.0 subnet declaration is enough right??

subnet 20.5.1.0 netmask 255.255.255.0 {
}


Otherwise I should change some other parameters inside the subnet 20.5.1.0

Because I am new to DHCP.

Please let me know.


Regards,
Ameen S

-----Original Message-----
From: dhcp-users-bounces+ameen.shajahan=wipro.com at lists.isc.org [mailto:dhcp-users-bounces+ameen.shajahan=wipro.com at lists.isc.org] On Behalf Of Glenn Satchell
Sent: 14 December 2011 18:17
To: Users of ISC DHCP
Subject: Re: Error in relay while using ISC DHCP code????

Hi Ameen

You said;

SERVER IP address is 10.5.5.0
RELAY IP address is 20.5.1.1
#./dhcrelay -4 -d -i ixp0 10.5.5.0 -i ixp1 20.5.1.1

but 20.5.1.1 is the relay's ip address, so you shouldn't forward packets 
from the relay to itself?

Try this instead - the default for dhcrelay is to use all interfaces and 
that's usually what you want. The last parameter is the IP address or 
hostname of the dhcpd server. There is no requirement to put the ip 
address of the relay there too.

./dhcrelay -4 -d 10.5.5.0

You also need to add a subnet definition to dhcpd.conf for 20.5.1.0 
subnet if you don't have one already. No other special configuration is 
needed in dhcpd.conf.

Please do not post attachments inside Word documents. Instead attach the 
dhcpd.conf file as a text attachment, or include it inline in the body 
of the email.

regards,
-glenn

On 12/14/11 23:23, ameen.shajahan at wipro.com wrote:
> Hi all ,
>
> I am using ISC DHCP-4.2.3 code and testing the DHCPV4 server and relay.
>
> Also I am using the default conf file.
>
> Client and server communication happened successfully by sending DHCP
> discover , offer ,Request ,Ack messages.
>
> But in relay there is some problem.
>
> SERVER IP address is 10.5.5.0
>
> RELAY IP address is 20.5.1.1
>
> I want to know whether I should use the same conf file or I should make
> some changes in it.
>
> *_In server side_*
>
> # ./dhcpd -4 -d -cf /etc/dhcpd.conf -lf /var/db/dhcpd.leases ixp0
>
> Internet Systems Consortium DHCP Server 4.2.3
>
> Copyright 2004-2011 Internet Systems Consortium.
>
> All rights reserved.
>
> For info, please visit https://www.isc.org/software/dhcp/
>
> Wrote 0 class decls to leases file.
>
> Wrote 0 deleted host decls to leases file.
>
> Wrote 0 new dynamic host decls to leases file.
>
> Wrote 2 leases to leases file.
>
> Listening on LPF/ixp0/00:60:43:60:ca:99/10.5.5.0/27
>
> Sending on LPF/ixp0/00:60:43:60:ca:99/10.5.5.0/27
>
> Sending on Socket/fallback/fallback-net
>
> *_In Relay side_*
>
> #./dhcrelay -4 -d -i ixp0 10.5.5.0 -i ixp1 20.5.1.1
>
> Internet Systems Consortium DHCP Server 4.2.3
>
> Copyright 2004-2011 Internet Systems Consortium.
>
> All rights reserved.
>
> For info, please visit https://www.isc.org/software/dhcp/
>
> Listening on LPF/ixp0/00:60:43:60:ca:99/10.5.5.0/27
>
> Sending on LPF/ixp0/00:60:43:60:ca:99/10.5.5.0/27
>
> Listening on LPF/ixp1/00:60:43:60:ca:99/20.5.1.1/27
>
> Sending on LPF/ixp1/00:60:43:60:ca:99/20.5.1.1/27
>
> Sending on Socket/fallback/fallback-net
>
> After that its sending BOOTP REQUEST to 20.5.1.1
>
> After that its sending BOOTP REQUEST to 10.5.5.0
>
> **
>
> **
>
> **
>
> *_In Client side_*
>
> C:\Documents and Settings\admin>ipconfig /renew
>
> Windows IP Configuration
>
> **
>
> *An error occurred while renewing interface Remote : unable to contact
> your DHCP*
>
> *server. Request has timed out.*
>
> C:\Documents and Settings\admin>
>
> I*have attached the conf file. Please have a look.*
>
> My problem is how to run the relay using ISC DHCP
>
> What should I change?
>
> Where would be the problem actually??
>
> Regards,
>
> Ameen S
>
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com



More information about the dhcp-users mailing list