openbsd dhcpd + freeradius
Hi, Trying to get radiusd work with local dhcp server. radiusd: FreeRADIUS Version 2.0.6, for host i386-unknown-openbsd4.1, built on Jul 2 2008 at 08:57:18 Copyright (C) 1999-2008 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License. For more information about these matters, see the file named COPYRIGHT. And I do see bootp traffic when using tcpdump for port (P) [root@myhost~]# tcpdump -i fxp1 tcpdump: listening on fxp1, link-type EN10MB 17:18:44.151478 00:19:aa:ab:65:7a 00:19:aa:ab:65:7a loopback 60: 0000 0100 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 17:18:45.610421 192.168.176.1.698 > 192.168.176.255.698: udp 24 [ttl 1] 17:18:47.077184 802.1Q vid 30 pri 0 arp who-has 169.254.220.241 tell 169.254.220.241 17:18:47.948216 802.1Q vid 30 pri 0 arp who-has 169.254.220.241 tell 169.254.220.241 17:18:48.850477 192.168.176.1.698 > 192.168.176.255.698: udp 48 [ttl 1] 17:18:48.948337 802.1Q vid 30 pri 0 arp who-has 169.254.220.241 tell 169.254.220.241 17:18:49.570523 192.168.176.1.698 > 192.168.176.255.698: udp 24 [ttl 1] 17:18:49.968100 802.1Q vid 30 pri 0 169.254.220.241 > IGMP.MCAST.NET: igmp-2 [v2] [ttl 1] 17:18:49.979637 802.1Q vid 30 pri 0 169.254.220.241.3791 > 239.255.255.250.ssdp: udp 133 [ttl 1] 17:18:50.024981 802.1Q vid 30 pri 0 169.254.220.241.netbios-ns > 169.254.255.255.netbios-ns: udp 68 17:18:50.774829 802.1Q vid 30 pri 0 169.254.220.241.netbios-ns > 169.254.255.255.netbios-ns: udp 68 17:18:50.948043 802.1Q vid 30 pri 0 169.254.220.241 > IGMP.MCAST.NET: igmp-2 [v2] [ttl 1] 17:18:51.430873 192.168.176.1.698 > 192.168.176.255.698: udp 32 [ttl 1] 17:18:51.524458 802.1Q vid 30 pri 0 169.254.220.241.netbios-ns > 169.254.255.255.netbios-ns: udp 68 17:18:51.965832 802.1Q vid 30 pri 0 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xa2b988cc flags:0x8000 [|bootp] 17:18:52.274437 802.1Q vid 30 pri 0 169.254.220.241.netbios-ns > 169.254.255.255.netbios-ns: udp 68 17:18:52.979528 802.1Q vid 30 pri 0 169.254.220.241.3791 > 239.255.255.250.ssdp: udp 133 [ttl 1] 17:18:53.025063 802.1Q vid 30 pri 0 169.254.220.241.netbios-ns > 169.254.255.255.netbios-ns: udp 68 17:18:53.410541 192.168.176.1.698 > 192.168.176.255.698: udp 20 [ttl 1] 17:18:53.774267 802.1Q vid 30 pri 0 169.254.220.241.netbios-ns > 169.254.255.255.netbios-ns: udp 68 17:18:54.147699 00:19:aa:ab:65:7a 00:19:aa:ab:65:7a loopback 60: 0000 0100 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 17:18:54.524253 802.1Q vid 30 pri 0 169.254.220.241.netbios-ns > 169.254.255.255.netbios-ns: udp 68 17:18:55.274368 802.1Q vid 30 pri 0 169.254.220.241.netbios-ns > 169.254.255.255.netbios-ns: udp 68 Checked to make sure dhcp module is included by radiusd -X. Does anyone have dhcp work with freeradius ? Thanks Raja -- View this message in context: http://www.nabble.com/openbsd-dhcpd-%2B-freeradius-tp18249568p18249568.html Sent from the FreeRadius - User mailing list archive at Nabble.com.
Alan DeKok-4 wrote:
Raja Peer wrote:
Trying to get radiusd work with local dhcp server.
What does that mean?
Autheticate user using radius and lease an ip address through dhcp daemon running in the server. Is that correct ? Does radius has its own dhcp server ?
Does anyone have dhcp work with freeradius ?
Yes. See other messages on this list.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Thanks Raja -- View this message in context: http://www.nabble.com/openbsd-dhcpd-%2B-freeradius-tp18249568p18260152.html Sent from the FreeRadius - User mailing list archive at Nabble.com.
Am 03.07.2008 um 02:24 schrieb Raja Peer:
Hi,
Trying to get radiusd work with local dhcp server.
[...]
Checked to make sure dhcp module is included by radiusd -X.
But does not that mean that you have 2 DHCP servers for your network?
Does anyone have dhcp work with freeradius ?
Thanks
Raja
-- View this message in context: http://www.nabble.com/openbsd-dhcpd-% 2B-freeradius-tp18249568p18249568.html Sent from the FreeRadius - User mailing list archive at Nabble.com.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/ users.html
Have a nice day! Nicolas Goutte extragroup GmbH - Karlsruhe Waldstr. 49 76133 Karlsruhe Germany Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.: 337/5903/0421 / UstID: DE 204607841
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 lines containing "ok") :) 4. symlink dhcp file to sites-enabled directory 5. run radiusd :)
Does anyone have dhcp work with freeradius ? Yes ... It works.
participants (4)
-
Alan DeKok -
EvilEzh -
Nicolas Goutte -
Raja Peer