Checked to make sure dhcp module is included by radiusd -X.
To make it work:
1. ./configure --with-dhcp
2. in /usr/local/share/freeradius/dictionary file uncomment line $INCLUDE
dictionary.dhcp
3. edit /usr/local/etc/raddb/site-available/dhcp (edit to match your needs,
comment out or remove
In some cases, the server needs to send an explicit NAK, in order to
force the client to re-broadcast a discover.
That's true, but i'll choose when send NAK and when not. Or not respond at
all.
Of course we can make some rfc check (discover-offer; request-ack,nak; and
so on).
Actualy i'm
1. As i understand responses is hardcoded(preset) to discover and request.
DHCP-Message-Type = ... in config file is ignored, so i can't respond to
RELEASE, INFORM, DECLINE. Always is NAK. Response to request also could be
NAK, not always ACK. It is possible respond to request with NAK if
I still can't get some clients to receive my dhcp packets.
After some more testing i figured out packet size differences.
In other dhcp server responses it's 342 bytes ... on radius dhcp server i've
618 bytes.
Is it possible to make send back messages as short as possbile ? :)
Also found some
- Original Message -
From: EvilEzh [EMAIL PROTECTED]
To: FreeRadius users mailing list freeradius-users@lists.freeradius.org
Sent: Friday, June 20, 2008 8:12 PM
Subject: Re: dhcp server (udp packet size)
I still can't get some clients to receive my dhcp packets.
After some more
I've net with over 1k dhcp clients.
Problem with packet size was with linksys routers. They have udhcp client.
Now it looks ok. Will do more testing.
In other dhcp server responses it's 342 bytes ... on radius dhcp server
i've 618 bytes.
Is it possible to make send back messages as short as
All of them .. i've redundant(duplicate) dhcp server also :)
I tried to comapre response packets from both servers, new one (freeradius
dhcp) and old one. And understand what's different.
- Original Message -
From: [EMAIL PROTECTED]
To: FreeRadius users mailing list
Can someone explain more about subj.
Let see:
incoming broadcast 0.0.0.0 - 255.255.255.255 i can get thease packets
incoming broadcast 10.4.0.1-255.255.255.255 i can't get thease packets.
In another words, if there is ip address in source, i can't get thease
packets to process (mostly thease
Actualy i see in packet source x.x.x.x (client) - z.z.z.z (server).
replay is z.z.z.z - y.y.y.y (relay).
There is several retries from client. So i think clien't don't receive
packet from relay.
So if there is unicast from already configured client .. response should be
sent directly back to
btw .. it works anyway with dhcp relay set. So nothing to do with it.
With relay everything looks ok. :) It works. option 82 is also ok.
Actualy i see in packet source x.x.x.x (client) - z.z.z.z (server).
replay is z.z.z.z - y.y.y.y (relay).
There is several retries from client. So i think
And thease clients can't get ip address.
Is it possilbe to allow update DHCP-Flags in replay, i've tried in
update section:
DHCPFlags = Broadcast
I'll take a look. It may be simpler to just say that DHCP offers are
broadcast.
I use relays (because i want to use option 82 ... not tested yet)
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. :)
Haralds
-
So, if relay ip0.0.0.0 (?hops0) replay port = 67. Something like that.
- Original Message -
From: Alan DeKok [EMAIL PROTECTED]
To: FreeRadius users mailing list freeradius-users@lists.freeradius.org
Sent: Wednesday, June 18, 2008 4:24 PM
Subject: Re: dhcp relay agent
EvilEzh wrote
Thanks, it works now.
Haralds
- Original Message -
From: Alan DeKok [EMAIL PROTECTED]
To: FreeRadius users mailing list freeradius-users@lists.freeradius.org
Sent: Wednesday, June 18, 2008 5:04 PM
Subject: Re: dhcp relay agent
EvilEzh wrote:
with dhcpd
request
client
Does DHCP server verify is lease already in use or not ?
And another question is about multiple interfaces.
As i understand i need to run several dhcp instances for each interface, or
maybe it is possible to add attribute on which interface dhcp packet was
received if i run on multiple
15 matches
Mail list logo