Hello people !
I am playing around with MikroTik the last 2 days.
I got the PPPoE thingy working, and that works quite well, have tried Cisco equipment which gave a quite poor performance …
Anyhow, since we want to have quite a few customers connected via PPPoE soon, I was trying to setup a RADIUS Server.
I used FreeRadius and the box seem to work, tried with radtest and it replies as it should.
I added the MikroTik box in the clients.conf and tried, but no go.
In the debug mode of FreeRadius I see that the request from the Router comes in, but isn´t processed correctly, I get a rejected message.
So basically it is a FreeRADIUS problem, but since FreeRADIUS works stand alone and just with MikroTik as client it breaks, I guess I have over seen something withing the MikroTik config or the FreeRADIUS config.
Maybe somebody could give me a hint ?
Here the incoming RADIUS packet:
rad_recv: Access-Request packet from host 192.168.81.4:32768, id=8, length=184
Service-Type = Framed-User
Framed-Protocol = PPP
NAS-Identifier = “MikroTik”
NAS-Port = 20
NAS-Port-Type = Ethernet
User-Name = “daniel”
Calling-Station-Id = “00:D0:59:XX:XX:XX”
Called-Station-Id = “pppoetestx”
NAS-Port-Id = “ether2”
MS-CHAP-Challenge = 0x38857ee1c50f1e8b5774959511d06695
MS-CHAP2-Response = 0x0100b76faf76adc7f74af96c9140cd39288c0000000000000000d4b821d476a843d0558c30f7e295633cd76ebe83904af08a
NAS-IP-Address = 192.168.81.4
And here the response:
rad_recv: Access-Request packet from host 192.168.81.4:32768, id=8, length=184
Sending Access-Reject of id 8 to 192.168.81.4:32768
In first place I thought MS-CHAP might be the problem. Double checked on that, seems to be enabled in authorize {} section …
Hmm, hope somebody can give me a hand, the demo will run out soon and I really hope we can go with MikroTik.
Regards,
Daniel