running dhcrelay with single interface

Glenn Satchell glenn.satchell at
Mon Mar 18 11:17:26 UTC 2013

Actually there are two interfacess, eth0, and eth0.1. The second one is a
vlan sub-interface, so logically a different network. Broadcasts coming in
on this interface will have the vlan tag in the packets.

The default behaviour is to listen on all interfaces, so running this is

 # ./dhcrelay -4 -d

Check that the relay is able to ping the dhcp server, check the logs on
the dhcp server to see if the request is received (the log message will
include "via a.b.c.d" where this is the relay's ip address).


On Mon, March 18, 2013 9:23 pm, ameen.shajahan at wrote:
> Hi All,
> Is there any way to run dhcrelay with single interface? I have only one
> interface called eth0 and I am running relay like below.
> Anybody have tried to run relay with single interface please let me know.
> If someone know how to configure differently for running relay with single
> interface also will be great.
> Please help me I am struggling with this.
> # ./dhcrelay -4 -d -i eth0.1 -i eth0
> Internet Systems Consortium DHCP Relay Agent 4.2.3
> Copyright 2004-2011 Internet Systems Consortium.
> All rights reserved.
> For info, please visit
> Listening on LPF/eth0/00:60:43:00:00:0a
> Sending on   LPF/eth0/00:60:43:00:00:0a
> Listening on LPF/eth0.1/00:60:43:00:00:0a
> Sending on   LPF/eth0.1/00:60:43:00:00:0a
> Sending on   Socket/fallback
> Forwarded BOOTREQUEST for d0:27:88:d7:4a:31 to
> Forwarded BOOTREQUEST for d0:27:88:d7:4a:31 to
> Forwarded BOOTREQUEST for d0:27:88:d7:4a:31 to
> C:\Users\wipro.wipro-PC>ipconfig /renew
> Windows IP Configuration
> An error occurred while renewing interface Local Area Connection 3 :
> unable to c
> ontact your DHCP server. Request has timed out.
> An error occurred while releasing interface Loopback Pseudo-Interface 1 :
> The sy
> stem cannot find the file specified.
> 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.
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at

More information about the dhcp-users mailing list