DHCP server does not process requests

Alexander Shikoff minotaur at crete.org.ua
Sat Sep 25 15:04:50 CEST 2010


Hello,

In my network there is Cisco ISG acting as DHCP relay. It relays requests
from customers to DHCP server of freeradius:

Sep 25 12:51:05.045: DHCPD: input i/f override GigabitEthernet0/1.33 for client
Sep 25 12:51:05.045: DHCPD: Reload workspace interface GigabitEthernet0/1.33 tableid 0.
Sep 25 12:51:05.049: DHCPD: tableid for 193.200.84.232 on GigabitEthernet0/1.33 is 0
Sep 25 12:51:05.049: DHCPD: client's VPN is .
Sep 25 12:51:05.049: DHCPD: using received relay info.
Sep 25 12:51:05.049: DHCPD: Sending notification of DISCOVER:
Sep 25 12:51:05.049:   DHCPD: htype 1 chaddr 00e0.9110.8347
Sep 25 12:51:05.049:   DHCPD: remote id 000600226b2a8d52
Sep 25 12:51:05.049:   DHCPD: circuit id 000400210103
Sep 25 12:51:05.049:   DHCPD: interface = GigabitEthernet0/1.33
Sep 25 12:51:05.049:   DHCPD: class id 4d53465420352e30
Sep 25 12:51:05.049: DHCPD: No internally specified class returned
Sep 25 12:51:05.049: DHCPD: Looking up binding using address 193.200.84.232
Sep 25 12:51:05.049: DHCPD: Found previous binding with giaddr 193.200.84.232
Sep 25 12:51:05.049: DHCPD: Keeping state for received DHCPDISCOVER, from UNNUM-IF
Sep 25 12:51:05.049: DHCPD: setting giaddr to 193.200.84.232.
Sep 25 12:51:05.053: DHCPD: BOOTREQUEST from 0100.e091.1083.47 forwarded to 193.200.85.22.

freeradius listens 67 port on 193.200.85.22:
# sockstat |grep rad
freeradius radiusd  94903 5  udp4   193.200.85.22:67      *:*

I see incoming packets:
# tcpdump -vvvni re0 port 67
tcpdump: listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes
16:05:23.403248 IP (tos 0x0, ttl 254, id 142, offset 0, flags [none], proto UDP (17), length 345)
    193.200.84.232.67 > 193.200.85.22.67: BOOTP/DHCP, Request from 00:e0:91:10:83:47, length 317, hops 1, xid 0x4bb0c74b, Flags [none] (0x0000)
          Gateway-IP 193.200.84.232
          Client-Ethernet-Address 00:e0:91:10:83:47 [|bootp]
16:05:26.404455 IP (tos 0x0, ttl 254, id 143, offset 0, flags [none], proto UDP (17), length 345)
    193.200.84.232.67 > 193.200.85.22.67: BOOTP/DHCP, Request from 00:e0:91:10:83:47, length 317, hops 1, xid 0x4bb0c74b, secs 768, Flags [none] (0x0000)
          Gateway-IP 193.200.84.232
          Client-Ethernet-Address 00:e0:91:10:83:47 [|bootp]

But radiusd does not process them: I see no any debug output when
running 'radiusd -X'.

The dhcp configuration is default from raddb/sites-available, I only added
'detail' in every dhcp-section.

Any ideas? Thanks in advance.

-- 
MINO-RIPE



More information about the Freeradius-Users mailing list