DHCP server doesn't work properly #591

Closed
skrawczenko opened this Issue Apr 17, 2014 · 2 comments

Projects

None yet

2 participants

@skrawczenko

Please fix DHCP server according to RFC2131:

"If the 'giaddr' field in a DHCP message from a client is non-zero,
the server sends any return messages to the 'DHCP server' port on the
BOOTP relay agent whose address appears in 'giaddr'."

it still replies to "DHCP client" port 68 and relay ignores return messages

this issue also mentioned here:

http://freeradius.1045715.n5.nabble.com/Wrong-destination-port-in-reply-to-DHCP-relay-td5719188.html

@alandekok
Member

If you look at the release notes for v2.2.4, you'll see that this has been fixed.

I can only assume you're running an older version of the server. You should upgrade.

@alandekok alandekok closed this Apr 17, 2014
@skrawczenko

apologies for replying you directly but this is what i'm using

radiusd: FreeRADIUS Version 2.2.4, for host i686-pc-linux-gnu, built on Apr
11 2014 at 17:47:45

and i had to add following (after long investigation:)

update reply {
DHCP-Message-Type = DHCP-Offer
Packet-Dst-Port = 67

    }

otherwie, it attemps to reply on src port from relay packet (68)
Please double check that.

Thank you.

On Thu, Apr 17, 2014 at 4:35 PM, Alan DeKok notifications@github.comwrote:

If you look at the release notes for v2.2.4, you'll see that this has been
fixed.

I can only assume you're running an older version of the server. You
should upgrade.


Reply to this email directly or view it on GitHubhttps://github.com/FreeRADIUS/freeradius-server/issues/591?utm_campaign=website&utm_source=sendgrid.com&utm_medium=email#issuecomment-40714240
.

@alandekok alandekok added a commit that referenced this issue Apr 17, 2014
@alandekok alandekok Typo. Fixes #591 d451a5d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment