DCHP, Radius and /24

Hi,

Im planning to implement a network assigning /24s to customer using radius enabled dhcp from same subnet all over the network so it is not part of a bigger subnet in each router.

Has anyone succeed in a good way to add the routes into the central routers table when an IP is assigned? I think the scripting can solve it, but what if the DHCP address is not deassigned properly like at an outage.

Any thoughts?

/Mikael

Good way: OSPF or other dynamic routing protocol.

I was unclear on what I meant.

Assigning a /24 via DHCP does not add the route and with no route OSPF wont announce anything. If /24s are assigned scattered over a routed network static routes would be needed for each /24 and then using ospf.

I was asking if anybody had good scripts for the DHCP server to achieve this when the address is assigned and deassigned, but Im little worried about housekeeping after a routercrash or similar. Not good having a network with routes to addresses not assigned or assigned elsewhere.

/Mikael