dhcp relay agent

EvilEzh ezh at telcobalt.lv
Wed Jun 18 15:47:23 CEST 2008


with dhcpd
request
client -> (255.255.255.255:68)->relay:68->server:67
replay
server:67->relay:67->client:68

User Datagram Protocol, Src Port: bootps (67), Dst Port: bootps (67) 
(server to relay)

with freeradius dhcp
client -> (255.255.255.255:68)->relay:68->server:67
replay
server:67->relay:68 !!!!


So, if relay ip<>0.0.0.0 (?hops>0) replay port = 67. Something like that.


----- Original Message ----- 
From: "Alan DeKok" <aland at deployingradius.com>
To: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
Sent: Wednesday, June 18, 2008 4:24 PM
Subject: Re: dhcp relay agent


> EvilEzh wrote:
>> Thanks, relay ip is ok now.
>> Another problem.
>> I couldn't receive it packet anyway.
>> I launched standart dhcpd server on linux and everything worked fine.
>> After analyzing packets i discover that replay messages to relay is sent
>> back to port 67 not 68.
>> So, it need to be fixed. :)
>
>  Hmm... the reply just swaps the ports from the request.  i.e.:
>
> X:68 -> Y:67 discover
> X:68 <- Y:67 offer
>
>  What does debug mode say?  It should print src/dst ip/port.
>
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 




More information about the Freeradius-Users mailing list