[rbak-nsp] Subnet mask and default gateway for CLIPS from RADIUS.

Илья Савин savin at orn.ru
Fri Jun 19 08:02:36 EDT 2009


Hi.

 

I'm using dynamic CLIPS with RADIUS auth. 

DHCP server running on RedBack (SE100) and nearest to RB switch acts as
DHCP-Proxy. On RB configured large net (/18) for DHCP clients:

 

interface dhcp_int multibind

  ip address 188.116.128.254/18

  dhcp server interface

 

But actually this network divided to some /24 nets. 

 

I want to assign from RADIUS subnet mask and default gateway for clients.

Radius send attributes:

 

  Framed-IP-Address = 188.116.130.99

  Framed-IP-Netmask = 255.255.255.0

  Framed-Route = "0.0.0.0 188.116.130.253 1"

 

In RB logs I see:

  Jun 19 10:04:17: %AAA-7-RAD_ATTR: Receive RFC attr 9 (Framed_IP_Netmask),
tag = 32, status = success

  Jun 19 10:04:17: %AAA-7-RAD_ATTR: Receive RFC attr 22 (Framed_Route), tag
= 32, status = success 

 

In sh subscribers active:

       ip route 0.0.0.0 255.255.255.255 188.116.130.253 1 (applied)

       ip address 188.116.130 255.255.255.0 (applied)

 

but in DHCP reply mask is 255.255.192.0 (from interface dhcp_int).

 

If I describe subnet in dhcp server policy:

   subnet 188.116.130.0/24 name n10

     option subnet-mask 255.255.255.0

     option router 188.116.130.253

Both netmask and gateway applied fine, but I don't want describe all
networks in RB config, its already described in billing.

 

How can I assign netmask and gateway from RADIUS?


 

Best regards,

Ilya Savin.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/redback-nsp/attachments/20090619/36ae1558/attachment.html>


More information about the redback-nsp mailing list