Community discussions

 
neos14
just joined
Topic Author
Posts: 5
Joined: Thu Feb 09, 2012 2:29 pm

DHCP lease assigned based on agent-circuit-id

Mon Dec 21, 2015 3:04 pm

Hello,

is there a possibility to assign static DHCP server leases to clients based on agent-circuit-id and not on client MAC address?

We use GPON and we would like to assign clients IP's based on ONU serial number, not their MAC address. This would free us from recording client routers MAC addressess and the clients would get same IP based on ONU serial. The ONU's are in bridge mode so they are basically "media converters".
 
User avatar
ConnectivityEngineer
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Sat Dec 19, 2015 10:57 pm
Location: Ohio, USA
Contact:

Re: DHCP lease assigned based on agent-circuit-id

Tue Dec 22, 2015 10:48 am

Most likely the ONU is NOT passing this data upstream to the DHCP server. By definition a Layer 2 CPE does not have any Layer 3 capabilities (well depending upon your system it may allow communication with the captive portal for entering the Registration ID

The issue is that your looking for the ONU to operate @ Layer2 as a bridge device.

One option would be to have the customer enter in the ONU as the user/pass into a captive Portal (hotspot) and then obtain an IP address based on what you had in Radius. This way if the customer changes their CPE the ONU is agnostic to this change and just used for the Serial Number Username from the customers view point.

Prior to DOCSIS being what it has become - we did this because of the 3COM CMTS being such a pain in the booty...

Not the best fix - but should work.
Glenn Kelley | MCTNA, MTCWE, MTCTCE, RHCE, RHCSS
http://Connectivity.Engineer
USA Based 24x7x365 Mikrotik, Juniper, Ubiquiti TAC & WISP / ISP Blind Label Support Call Center
 
neos14
just joined
Topic Author
Posts: 5
Joined: Thu Feb 09, 2012 2:29 pm

Re: DHCP lease assigned based on agent-circuit-id

Tue Dec 22, 2015 11:12 am

I forgot to mention that of course the ONU is passing correct agent-circuit-id which is based on ONU serial number.
Mikrotik DHCP server can see it. This information is visible in Active tab for the respective lease.

My question still is: how to match a lease based on this option and not on MAC address?

Who is online

Users browsing this forum: belits17 and 101 guests