Hello freeradius team, Currently I am doing some experiment for my home setup to assign static IP address using freeradius "Frame-IP-Address" but it is not assigned. Can you let me know how and why it is creating this? Also, in response how to remove all the messages and simple reply with Frame-IP-Address only? Request messages : Received Access-Request Id 0 from 192.168.1.1:49671 to 192.168.1.110:1812 length 199 Tue Oct 19 09:34:19 2021 : Debug: (9) User-Name = "bob" Tue Oct 19 09:34:19 2021 : Debug: (9) NAS-IP-Address = 192.168.1.1 Tue Oct 19 09:34:19 2021 : Debug: (9) Called-Station-Id = "" Tue Oct 19 09:34:19 2021 : Debug: (9) Calling-Station-Id = "XXXXXXXXXXXXXXXX" Tue Oct 19 09:34:19 2021 : Debug: (9) NAS-Identifier = "XXXXXXXXX" Tue Oct 19 09:34:19 2021 : Debug: (9) NAS-Port = 122 Tue Oct 19 09:34:19 2021 : Debug: (9) Framed-MTU = 1400 Tue Oct 19 09:34:19 2021 : Debug: (9) State = 0xd5087246dd016bbc3cccb89e1542d61a Tue Oct 19 09:34:19 2021 : Debug: (9) NAS-Port-Type = Wireless-802.11 Tue Oct 19 09:34:19 2021 : Debug: (9) EAP-Message = 0x0209002e190017030300230000000000000004a462aee4b621fe152e45dfee6d01ababa665d70d651f4101369737 Tue Oct 19 09:34:19 2021 : Debug: (9) Message-Authenticator = 0xf047b70fb44507050a2916afb4482524 Response Message : Sent Access-Accept Id 0 from 192.168.1.110:1812 to 192.168.1.1:49671 length 0 Tue Oct 19 09:34:19 2021 : Debug: (9) MS-MPPE-Recv-Key = 0x73891bd4ad6882551acefc226fb0b3d2fcfc9a66f6e098099b3f1b635daad835 Tue Oct 19 09:34:19 2021 : Debug: (9) MS-MPPE-Send-Key = 0x9eea9b7294f8d12d70bce316148439b65cca6050774f58b0064571c6302691e4 Tue Oct 19 09:34:19 2021 : Debug: (9) EAP-Message = 0x03090004 Tue Oct 19 09:34:19 2021 : Debug: (9) Message-Authenticator = 0x00000000000000000000000000000000 Tue Oct 19 09:34:19 2021 : Debug: (9) User-Name = "bob" Tue Oct 19 09:34:19 2021 : Debug: (9) Framed-IP-Address = 192.168.1.240 Tue Oct 19 09:34:19 2021 : Debug: (9) Finished request Kabin
On 19 October 2021 04:54:11 BST, kabin mool <kabin_mool@hotmail.com> wrote:
Currently I am doing some experiment for my home setup to assign static IP address using freeradius "Frame-IP-Address" but it is not assigned. Can you let me know how and why it is creating this?
You can't assign IP addresses with Framed-IP-Address when using EAP. The RADIUS packet goes only to the NAS, not the end device. Use DHCP.
Also, in response how to remove all the messages and simple reply with Frame-IP-Address only?
If you remove all the other attributes the EAP tunnel will be broken and the authentication will fail. -- Matthew
Thanks Matthew. Using dhcp - of radius itself or of router DHCP. kabin ________________________________ From: Matthew Newton <mcn@freeradius.org> Sent: Tuesday, October 19, 2021, 2:34 PM To: FreeRadius users mailing list; kabin mool Subject: Re: Frame-IP-Address is not assigned in EAP On 19 October 2021 04:54:11 BST, kabin mool <kabin_mool@hotmail.com> wrote:
Currently I am doing some experiment for my home setup to assign static IP address using freeradius "Frame-IP-Address" but it is not assigned. Can you let me know how and why it is creating this?
You can't assign IP addresses with Framed-IP-Address when using EAP. The RADIUS packet goes only to the NAS, not the end device. Use DHCP.
Also, in response how to remove all the messages and simple reply with Frame-IP-Address only?
If you remove all the other attributes the EAP tunnel will be broken and the authentication will fail. -- Matthew
participants (2)
-
kabin mool -
Matthew Newton