query in ISC DHCP relay ??

ameen.shajahan at wipro.com ameen.shajahan at wipro.com
Fri Jul 6 11:49:55 UTC 2012


Hi all,
I have client , server and relay.
I am running relay as
./dhcrelay -4 -d 10.140.185.183   (without mentioning any interface)
Relay contains two interfaces eth1 and one virtual interface.
Set up is relay will forward the packets over the air and reach the station where the server is running

Output in relay side:
# ./dhcrelay -4 -d -i 10.140.185.183
# 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/eth1/00:60:43:80:41:7f
Sending on   LPF/eth1/00:60:43:80:41:7f
Sending on   Socket/fallback
Forwarded BOOTREQUEST for 00:10:5a:6e:94:01 to 10.140.185.183
Forwarded BOOTREQUEST for 00:10:5a:6e:94:01 to 10.140.185.183
Forwarded BOOTREQUEST for 00:10:5a:6e:94:01 to 10.140.185.183
Forwarded BOOTREQUEST for 00:10:5a:6e:94:01 to 10.140.185.183



Ifconfig in relay side:
# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:60:43:80:41:7F
          inet addr:20.20.20.75  Bcast:20.20.20.255  Mask:255.255.255.0
          inet6 addr: fe80::260:43ff:fe80:417f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1504  Metric:1
          RX packets:24143566 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4776987 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:256
          RX bytes:1825851702 (1.7 GiB)  TX bytes:298461678 (284.6 MiB)

io        Link encap:Local Loopback
          inet addr:12.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6222 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6222 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:549314 (536.4 KiB)  TX bytes:549314 (536.4 KiB)

mcc0      Link encap:Point-to-Point Protocol
          inet addr:20.20.21.76  P-t-P:20.20.21.76  Mask:255.255.255.0
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:8065 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1097 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10
          RX bytes:2872924 (2.7 MiB)  TX bytes:62525 (61.0 KiB)


And running sever as
./dhcpd -4 -d -cf /etc/dhcpd.conf -lf /var/db/dhcpd.leases eth0
DHCPDISCOVER from 00:10:5a:6e:94:01 via 20.20.20.75
DHCPOFFER on 20.20.20.80 to 00:10:5a:6e:94:01 via 20.20.20.75
DHCPDISCOVER from 00:10:5a:6e:94:01  via 20.20.20.75
DHCPOFFER on 20.20.20.80 to 00:10:5a:6e:94:01 via 20.20.20.75
DHCPDISCOVER from 00:10:5a:6e:94:01  via 20.20.20.75
DHCPOFFER on 20.20.20.80 to 00:10:5a:6e:94:01 via 20.20.20.75
DHCPDISCOVER from 00:10:5a:6e:94:01 via 20.20.20.75


In client side ,
Ipconfig /renew
C:\Documents and Settings\admin>ipconfig /renew

Windows IP Configuration

Unable to contact DHCP server.

C:\Documents and Settings\admin>


How to run relay  without interfaces,
My requirement is running relay without interfaces for both ipv4 and ipv6.
If I run relay without interfaces,client not able to receive IP address.
Is ISC DHCP code has support for running relay without mentioning any interfaces for both IPv4 and IPv6.
If support is there means, what are all the options I supposed to give while running relay.



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/20120706/e21eeac7/attachment-0001.html>


More information about the dhcp-users mailing list