Re: Configure FreeRadius to send CoA-ACK
This is the output debug, honestly I can't understand why CoA-NAK is sent. rad_recv: CoA-Request packet from host 10.42.154.231 port 35046***Packet*** Code: 43 NAS-IP-Address = 10.10.10.10 Acct-Session-Id = "#000111#1#002" ERX-Attr-58 = 0xa33c42d191954d27c5d8c4d9a2c5f53a6bc9 ERX-Attr-59 = 0xa33c428191959627c5d8c4d9a2c5f53a6bc9 ERX-Attr-60 = 0xa33c42dbbb0fab27c5d8c4d9a2c5f53a6bc9 ERX-Attr-61 = 0xa33c42d191df7427c5d8c4d9a2c5f53a6bc9 server coa { No such virtual server "coa" No such virtual server "coa" } # server coa Sending CoA-NAK of id 0 to 10.42.154.231 port 35046 Finished request 1.
On Mon, Jun 18, 2012 at 03:59:46PM +0200, Gennaro Leo wrote:
rad_recv: CoA-Request packet from host 10.42.154.231 port
That's a CoA-Request, then, not an Accounting-Request....
35046***Packet*** Code: 43 NAS-IP-Address = 10.10.10.10 Acct-Session-Id = "#000111#1#002" ERX-Attr-58 = 0xa33c42d191954d27c5d8c4d9a2c5f53a6bc9 ERX-Attr-59 = 0xa33c428191959627c5d8c4d9a2c5f53a6bc9 ERX-Attr-60 = 0xa33c42dbbb0fab27c5d8c4d9a2c5f53a6bc9 ERX-Attr-61 = 0xa33c42d191df7427c5d8c4d9a2c5f53a6bc9 server coa { No such virtual server "coa" No such virtual server "coa"
...and there's no virtual server configured to handle coa requests...
} # server coa Sending CoA-NAK of id 0 to 10.42.154.231 port 35046
...which is why you get a CoA-NAK.
honestly I can't understand why CoA-NAK is sent.
Really? Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Architect (UNIX and Networks), Network Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
Gennaro Leo wrote:
This is the output debug, honestly I can't understand why CoA-NAK is sent. .. server coa { No such virtual server "coa" No such virtual server "coa" } # server coa Sending CoA-NAK of id 0 to 10.42.154.231 port 35046 Finished request 1.
It would help if there was a "coa" virtual server distributed with FreeRADIUS. Now, where would that be? You got far enough to set "listen type = coa". So... you read radiusd.conf. The comments describing how to set "listen type = coa" *also* point you to an example virtual server. And no, I won't tell you here. That's out of general principles. You should be reading the configuration sections you're editing. Alan DeKok.
participants (3)
-
Alan DeKok -
Gennaro Leo -
Matthew Newton