Community discussions

MikroTik App
 
mhugo
Member Candidate
Member Candidate
Topic Author
Posts: 179
Joined: Mon Sep 19, 2005 11:48 am

DCHP, Radius and /24

Fri Feb 03, 2017 12:23 pm

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
 
User avatar
arturportella
newbie
Posts: 46
Joined: Wed Oct 30, 2013 3:16 pm

Re: DCHP, Radius and /24

Fri Feb 03, 2017 6:12 pm

Good way: OSPF or other dynamic routing protocol.
 
mhugo
Member Candidate
Member Candidate
Topic Author
Posts: 179
Joined: Mon Sep 19, 2005 11:48 am

Re: DCHP, Radius and /24

Tue Feb 07, 2017 5:02 pm

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

Who is online

Users browsing this forum: Google [Bot], hazem, jaclaz, McSee and 187 guests