Doubt in ISC DHCP Relay Concept ???

ameen.shajahan at wipro.com ameen.shajahan at wipro.com
Thu Dec 15 13:47:19 UTC 2011


  Hi all,
                I executed the ISC DHCP v4 relay. Finally client get the IP address is 10.0.30.
Is this correct???


 Server------------eth0--------------relay----------------------eth1-----------------------------Client
         192.168.0.1                            192.168.0.8           10.0.0.1
 I have added  the below subnets in the  conf file. Please have a look.

subnet 192.168.0.0 netmask 255.255.255.0 {
   option subnet-mask 255.255.255.0;
   range dynamic-bootp 192.168.0.30 192.168.0.49;
   option domain-name "test.com";
   default-lease-time 86400;
   max-lease-time 86400;
   min-lease-time 86400;
  }
  subnet 10.0.0.0 netmask 255.255.255.0  {



   option routers 10.0.0.1;
   option subnet-mask 255.255.255.0;
   range dynamic-bootp 10.0.0.30 10.0.0.49;
   }



In Client Side


C:\Documents and Settings\admin>ipconfig /renew

Windows IP Configuration


Ethernet adapter Remote:

        Connection-specific DNS Suffix  . : example.org
        IP Address. . . . . . . . . . . . : 10.0.0.30
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 10.0.0.1

Ethernet adapter Upstream-140:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 10.140.185.251
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 10.140.185.232

Ethernet adapter Back Bone - 145:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 10.145.185.191
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 10.145.185.1


In Server side

# ./dhcpd -4 -d  -f -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 3 leases to leases file.
Listening on LPF/ixp0/00:60:43:60:ca:99/192.168.0.0/24
Sending on   LPF/ixp0/00:60:43:60:ca:99/192.168.0.0/24
Sending on   Socket/fallback/fallback-net
DHCPDISCOVER from 00:40:05:1e:07:0f (D-158740) via 10.0.0.1
DHCPOFFER on 10.0.0.30 to 00:40:05:1e:07:0f (D-158740) via 10.0.0.1
DHCPREQUEST for 10.0.0.30 (192.168.0.1) from 00:40:05:1e:07:0f (D-158740) via 10
.0.0.1
DHCPACK on 10.0.0.30 to 00:40:05:1e:07:0f (D-158740) via 10.0.0.1
DHCPINFORM from 10.0.0.30 via 10.0.0.1: not authoritative for subnet 10.0.0.0
If this DHCP server is authoritative for that subnet,
please write an `authoritative;' directive either in the
subnet declaration or in some scope that encloses the
subnet declaration - for example, write it at the top
of the dhcpd.conf file.
DHCPINFORM from 10.0.0.30 via 10.0.0.1: not authoritative for subnet 10.0.0.0


In Relay side

# ./dhcrelay -4 -d -i ixp1 -i ixp0 192.168.0.1
Internet Systems Consortium DHCP Relay Agent 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:80:41:92
Sending on   LPF/ixp0/00:60:43:80:41:92
Listening on LPF/ixp1/00:60:43:80:41:93
Sending on   LPF/ixp1/00:60:43:80:41:93
Sending on   Socket/fallback
Forwarded BOOTREQUEST for 00:40:05:1e:07:0f to 192.168.0.1
Forwarded BOOTREPLY for 00:40:05:1e:07:0f to 10.0.0.30
Forwarded BOOTREQUEST for 00:40:05:1e:07:0f to 192.168.0.1
Forwarded BOOTREPLY for 00:40:05:1e:07:0f to 10.0.0.30
Forwarded BOOTREQUEST for 00:40:05:1e:07:0f to 192.168.0.1
Forwarded BOOTREQUEST for 00:40:05:1e:07:0f to 192.168.0.1


Regards,
Ameen S

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20111215/69b0c875/attachment.html>


More information about the dhcp-users mailing list