Re: dhcp server (udp packet size)

2008-06-20 Thread EvilEzh

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 references that dhcp clients can refuse messages if thay are 
larger that expected.


Haralds

from rfc:
The client SHOULD include the 'maximum DHCP message size' option to
  let the server know how large the server may make its DHCP messages.
  The parameters returned to a client may still exceed the space
  allocated to options in a DHCP message.  In this case, two additional
  options flags (which must appear in the 'options' field of the
  message) indicate that the 'file' and 'sname' fields are to be used
  for options.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dhcp server (udp packet size)

2008-06-20 Thread EvilEzh


- 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 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 references that dhcp clients can refuse messages if thay 
are larger that expected.


Have schange defaulr packet size to 300 in dhcp.c , looks ok now. 


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dhcp server (udp packet size)

2008-06-20 Thread A . L . M . Buxey
Hi,

 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 references that dhcp clients can refuse messages if thay 
 are larger that expected.

 Have schange defaulr packet size to 300 in dhcp.c , looks ok now. 

hmm, i was going to advise doing a packet dump of each system to see
how the 2 compare - where there are differences etc

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dhcp server (udp packet size)

2008-06-20 Thread EvilEzh

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 possbile ?  :)
Also found some references that dhcp clients can refuse messages if thay
are larger that expected.


Have schange defaulr packet size to 300 in dhcp.c , looks ok now.


hmm, i was going to advise doing a packet dump of each system to see
how the 2 compare - where there are differences etc

alan
-
List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html




-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dhcp server (udp packet size)

2008-06-20 Thread A . L . M . Buxey
Hi,
 I've net with over 1k dhcp clients.

so? you just sniff the traffic of one of them...or a limited subnet
of those.  or, you sniff the traffic on a single client itself.

alan

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dhcp server (udp packet size)

2008-06-20 Thread EvilEzh

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 freeradius-users@lists.freeradius.org
Sent: Friday, June 20, 2008 11:54 PM
Subject: Re: dhcp server (udp packet size)



Hi,

I've net with over 1k dhcp clients.


so? you just sniff the traffic of one of them...or a limited subnet
of those.  or, you sniff the traffic on a single client itself.

alan

-
List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html




-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html