Community discussions

MikroTik App
sdrenner
Member Candidate
Member Candidate
Topic Author
Posts: 138
加入: 2005年结婚3月2日下午帕克
Contact:

Framed-ip-address question

Wed Jun 01, 2005 10:25 pm

I have my Mikrotiks running both Hotspot and PPPoe.
I have a dhcp-pool for hotspot customers.
I have pppoe-private and pppoe-public pools as well.
The in my billing program I have attributes set for pppoe customers that tell the mikrotik which pppoe-pool to put them in "private or public" this is working fine.

What I need help with is: I need to be able to set some of the pppoe-public customers to static ip's.

I have been trying "framed-ip-address" from my billing software (rodopi) to pass this through my radius (vircom) on to the mikrotik.

This is not working customers always get ip form the pppoe-public pool.

Help
Steve
Top
mperdue
Member Candidate
Member Candidate
Posts: 290
加入: Wed Jun 30, 2004 8:18 pm

Wed Jun 01, 2005 10:42 pm

I found this note in the aaa documents.

Framed-IP-Address - IP address of HotSpot client (for HotSpot enabled-address login method only)

might not be able to do it for pppoe as per the side note above.

----------------------
But I havea question for you how did you get your pppoe users to autenticate agaist radius? I have one radius sever setup, one profile. it's set for ppp,hotspot.

the hotspot users autenticate just fine, but when i try pppoe the radius server rejects stating that thers no secret sent.. MT logs time outs.

-Michael
Top
sdrenner
Member Candidate
Member Candidate
Topic Author
Posts: 138
加入: 2005年结婚3月2日下午帕克
Contact:

Wed Jun 01, 2005 10:58 pm

Well I had to do some stuff in my billing server first:
Create some radius attributes: Framed-pool with a value of what the pppoe-pools name is form the mikrotik example mine is pppoe-public or pppoe-private

Then in my plan for the customers account they are set to a pppoe plan for either public or private and it worked.

I could go into more detail but if we don't have the same type of billing server and radius, you know.

Steve
Top
nhalachev
常客
常客
Posts: 99
加入: Fri May 28, 2004 4:41 pm
Location:Bulgaria

Re: Framed-ip-address question

Thu Jun 02, 2005 9:06 am

I have been trying "framed-ip-address" from my billing software (rodopi) to pass this through my radius (vircom) on to the mikrotik.

This is not working customers always get ip form the pppoe-public pool.
You may have missconfiguration somewere ...
I am using freearadius with mikrotik pppoe server and some of my customers recieve ip addressess via framed-ip-address atribute. No glitches at all.
Check you radius logs to see which attribites return radius to mikrotik ....
Top
sdrenner
Member Candidate
Member Candidate
Topic Author
Posts: 138
加入: 2005年结婚3月2日下午帕克
Contact:

Re: Framed-ip-address question

Mon Jun 13, 2005 6:48 pm

I have been trying "framed-ip-address" from my billing software (rodopi) to pass this through my radius (vircom) on to the mikrotik.

This is not working customers always get ip form the pppoe-public pool.
You may have missconfiguration somewere ...
I am using freearadius with mikrotik pppoe server and some of my customers recieve ip addressess via framed-ip-address atribute. No glitches at all.
Check you radius logs to see which attribites return radius to mikrotik ....
Are you having them log in via "hotspot or PPPoe"?
Top
edzix
Member
Member
Posts: 333
加入: Thu Jul 01, 2004 3:01 pm
Location:Latvia

Tue Jun 14, 2005 1:53 pm

in v2.9 there is possibility to wach athe content of packet sent from RADIUS to MikroTik. Do as follows:

Code:Select all
/system logging add topics=debug,packet,radius
Edgars
Top
vince
newbie
Posts: 40
加入: Fri May 20, 2005 12:17 pm

Sun Jun 26, 2005 7:17 pm

Hi sdrenner,

I'm using it with Freeradius. And had the same problem. I don't know your billing software but on freeradius my problem was sending the address pool name on the replay. If radius server send an address pool name and framed IP on the replay, the pool has precedence.

By the way, I found using pool on the radius server more convenient.

Kind regards.
Top

Who is online

Users browsing this forum:Moba,nigelvm,sas2k,Semrush [Bot]and 24 guests