how to change a dhcpd conf file using ISC to map a paricular subnet to a particuar interface ??????

ameen.shajahan at wipro.com ameen.shajahan at wipro.com
Mon Dec 26 07:17:38 UTC 2011


Hi all,

# ifconfig
ixp0      Link encap:EthernetHWaddr 00:60:43:80:41:92
inet addr:25.1.1.1  Bcast:25.255.255.255  Mask:255.0.0.0
inet6addr: fe80::260:43ff:fe80:4192/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4767 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3397 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:256
          RX bytes:451824 (441.2 KiB)  TX bytes:677416 (661.5 KiB)

ixp1      Link encap:EthernetHWaddr 00:60:43:80:41:93
inet addr:65.1.1.1  Bcast:65.255.255.255  Mask:255.0.0.0
inet6addr: fe80::260:43ff:fe80:4193/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1504  Metric:1
          RX packets:1251 errors:0 dropped:0 overruns:0 frame:0
          TX packets:590 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:256
          RX bytes:143248 (139.8 KiB)  TX bytes:205548 (200.7 KiB)

ixp1:1    Link encap:EthernetHWaddr 00:60:43:80:41:93
inet addr:75.1.1.1  Bcast:75.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1504  Metric:1

lo        Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:397 errors:0 dropped:0 overruns:0 frame:0
          TX packets:397 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
          RX bytes:29628 (28.9 KiB)  TX bytes:29628 (28.9 KiB)





During execution


# ./dhcpd -d -4 -cf /opt/v1/etc/dhcpd.conf ixp1:1                         its throwing an error for ixp1: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/
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 1 leases to leases file.

No subnet declaration for ixp1:1 (no IPv4 addresses).
** Ignoring requests on ixp1:1.  If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface ixp1:1 is attached. **


Not configured to listen on any interfaces!

If you did not get this software from ftp.isc.org<ftp://ftp.isc.org>, please
get the latest from ftp.isc.org<ftp://ftp.isc.org> and install that before
requesting help.

If you did get this software from ftp.isc.org<ftp://ftp.isc.org> and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server at isc.org<mailto:dhcp-server at isc.org>
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
#



Changes in default conf file:

 subnet 75.1.1.0 netmask 255.255.255.0 {
  option routers 75.1.1.1;                                                          --------------> for ixp1:1
  range 75.1.1.2 75.1.1.10;
 }




So I would like to know is there any procedure for mapping subnet declaration to particular interfaces in conf file.

i.e   how to change a dhcpd.conf file to map 75.1.1.0 subnet to a interface ixp1: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/20111226/0214940a/attachment.html>


More information about the dhcp-users mailing list