running dhcrelay with single interface

Sten Carlsen stenc at s-carlsen.dk
Mon Mar 18 11:08:22 UTC 2013


The way I read your command line, you have two interfaces:
-i eth0.1 and -i eth0
This is reflected by the following lines:
~~~~~~~

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
~~~~~~~

where both interfaces are listed.

While I have not used dhcrelay, I expect one interface is enough as long
as that interface can do:
listen for broadcast in the local network
connect directly with the DHCP-server via whatever routers etc. that
might be between them.

Your mail indicates that the relay has heard a broadcast BOOTREQUEST and
forwarded that to the server but no indication of a reply from the server.

I would suggest you track the request through you network to see if it
actually gets to the server and track the reply to see whether it makes
it back to the relay.

There seems to be some mistake in your Windows machine on the "interface
Loopback Pseudo-Interface 1".


On 18/03/13 11:23, ameen.shajahan at wipro.com 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 10.46.185.77
>
> 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/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 10.46.185.77
>
> Forwarded BOOTREQUEST for d0:27:88:d7:4a:31 to 10.46.185.77
>
> Forwarded BOOTREQUEST for d0:27:88:d7:4a:31 to 10.46.185.77
>
>  
>
>  
>
> 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.
>
>

-- 
Best regards

Sten Carlsen

No improvements come from shouting:
       "MALE BOVINE MANURE!!!"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20130318/bf4a158a/attachment.html>


More information about the dhcp-users mailing list