Hi all!
I suppose to use DHCP option 82 and to control rate-limit of dhcp clients with radius attributes. Now Mikrotik send RADIUS request with option 82 information to billing/radius server. so I trying to setup freeradius…
If anybody use such application? Who has succesful story?
So I already start to join FreeRADIUS to billing system. Mirkotik DHCP server send Radius Access-Request to RADIUS server, but it consider strange password. Where it takes this password ??
the documentation says that password is empty
The router supports an individual server for each Ethernet-like interface. The MikroTik RouterOS DHCP server supports the basic functions of giving each requesting client an IP address/netmask lease, default gateway, domain name, DNS-server(s) and WINS-server(s) (for Windows clients) information (set up in the DHCP networks submenu)
In order DHCP server to work, you must set up also IP pools (do not include the DHCP server’s own IP address into the pool range) and DHCP networks.
It is also possible to hand out leases for DHCP clients using the RADIUS server, here are listed the parameters for used in RADIUS server.
Access-Request:
NAS-Identifier - router identity
NAS-IP-Address - IP address of the router itself
NAS-Port - unique session ID
NAS-Port-Type - Ethernet
Calling-Station-Id - client identifier (active-client-id)
Framed-IP-Address - IP address of the client (active-address)
Called-Station-Id - name of DHCP server
User-Name - MAC address of the client (active-mac-address)
Password - “”
we use vlan-per-user , DHCP server lease /32 address for every VLAN. but how to setup routing in this case?
I found example for cisco
interface Loopback2
ip address 123.123.123.1 255.255.255.0 ! наша публичная сеть
no ip redirects
!
!
interface Vlan555
des Abonent1
ip unnumbered Loopback2
no ip proxy-arp
!
interface Vlan556
des Abonent2
ip unnumbered Loopback2
no ip proxy-arp
!
!
interface FastEthernet0/1
des Port Abonenta 1
switchport access vlan 555
switchport mode access
!
interface FastEthernet0/2
des Port Abonenta 2
switchport access vlan 556
switchport mode access
end
!
ip route 123.123.123.2 255.255.255.255 Vl555
ip route 123.123.123.3 255.255.255.255 Vl556