Assigning ip address (FreeRadius or NAS)
Randeep
randeep123 at gmail.com
Tue Jun 23 18:52:33 CEST 2015
Hi Alan,
I'm getting the following request from the NAS:
On the NAS network team has configured Hotspot. And authentication is done
by FreeRadius. But the issue is I've already configured an ip pool and
freeradius is giving the IP to the host. But networking team has installed
a DHCP service in the NAS. Is it necessary? What is the right scenario?
Also, the radgroupreply data is common for Hotspot and PPP ?
rad_recv: Access-Request packet from host 192.168.1.1 port 55333, id=30,
length=194
NAS-Port-Type = Ethernet
Calling-Station-Id = "74:E6:E2:07:AE:E4"
Called-Station-Id = "server1"
NAS-Port-Id = "LAN"
User-Name = "bharath"
NAS-Port = 2148532247
Acct-Session-Id = "80100017"
Framed-IP-Address = 192.168.1.181
Mikrotik-Host-IP = 192.168.1.181
CHAP-Challenge = 0xec984023b1454f201cdab9df9df74cea
CHAP-Password = 0xfe010b623a889ef072db40ec62e6848e44
Service-Type = Login-User
WISPr-Logoff-URL = "http://192.168.1.1/logout"
NAS-Identifier = "MikroTik"
NAS-IP-Address = 192.168.1.1
This is the Reply:
Sending Access-Accept of id 30 to 192.168.1.1 port 55333
Framed-Protocol == PPP
Framed-IP-Netmask == 255.255.255.0
Framed-MTU == 1500
Framed-Routing == Broadcast-Listen
Framed-Compression == Van-Jacobson-TCP-IP
Service-Type == Framed-User
MS-Primary-DNS-Server == 8.8.8.8
MS-Secondary-DNS-Server == 8.8.4.4
Mikrotik-Rate-Limit == "1024k/1024k"
Service-Type == Framed-User
Framed-IP-Address = 192.168.1.42
Regards,
Randeep
On Sat, Jun 20, 2015 at 8:14 PM, Randeep <randeep123 at gmail.com> wrote:
> Thanks Alan.
>
> Regards,
> Randeep
>
> On Sat, Jun 20, 2015 at 6:50 PM, Alan DeKok <aland at deployingradius.com>
> wrote:
>
>> On Jun 20, 2015, at 5:12 AM, Randeep <randeep123 at gmail.com> wrote:
>> > But in this it is telling the NAS to give the IP 192.168.1.39 to the
>> client
>> > right?
>>
>> Yes.
>>
>> > NAS should have PPPoE / DHCP running in that right?
>>
>> Probably PPPoE.
>>
>> > Also the Private IP to Public IP nating also will happen on the NAS
>> right?
>>
>> I suppose. That depends on the NAS.
>>
>> > Can someone please explain how it works in the production environment
>>
>> Read the NAS documentation to see how the NAS works, and what it does.
>>
>> Alan DeKok.
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>
>
>
>
> --
> Randeep
> Mob: +919447831699[kerala]
> Mob: +919880050349[B'lore]
> http://twitter.com/Randeeppr
> http://in.linkedin.com/in/randeeppr
>
> [image: --]
> Randeep Raman
> [image: http://]about.me/Randeeppr
> <http://about.me/Randeeppr>
>
>
--
Randeep
Mob: +919447831699[kerala]
Mob: +919880050349[B'lore]
http://twitter.com/Randeeppr
http://in.linkedin.com/in/randeeppr
[image: --]
Randeep Raman
[image: http://]about.me/Randeeppr
<http://about.me/Randeeppr>
More information about the Freeradius-Users
mailing list