|
Re: Anyone using Arris Cornerstone 1000?: msg#00376network.dhcp.isc.dhcp-server
*** From dhcp-server -- To unsubscribe, see the end of this message. *** Nevermind, discovered man dhcp-eval :-) For archival - relevant part of dhcpd.conf class "Cable-Modems" { match if substring (hardware, 1, 3) = 00:10:95; } shared-network all { subnet 1.2.3.64 netmask 255.255.255.192 { #CPE Network pool { deny members of "Cable-Modems"; range 1.2.3.66 1.2.3.126; } default-lease-time 14400; # 4 hour lease on non-static IP's max-lease-time 28800; # 8 hour max lease filename "noaccess.cm"; option subnet-mask 255.255.255.192; option broadcast-address 1.2.3.127; option routers 1.2.3.65; } # CPE Network On Wed, 2003-01-29 at 09:51, Justin Ellison wrote: > Thanks for the tip. I was running the old 2.x versions, so this server > got a quick upgrade. I got the subclass thing working, and all is > good. One quick question though: > > Most (95%) of our customers lease our cable modems from us. We use RCA > modems entirely. I can guarantee that if it's an RCA modem of ours, it > will have a MAC starting 00:10:95. It would save a lot of work if I > could make a wildcard statement matching all modems. I tried the > manpage, and a couple of guesses, but the daemon barfs on hitting the > wildcard statement. > > Any way to do that? > > Justin > > On Tue, 2003-01-28 at 17:09, Greg wrote: > > *** From dhcp-server -- To unsubscribe, see the end of this message. *** > > > > > > > Basically, I know the problem is in the CMTS. In every other CMTS, > > > there is a giaddr setting that you can manipulate. I haven't found it > > > in this one. I either need to find that, or come up with a hack to the > > > dhcp server.... > > okay heres how you do it (and this keeps ppl from running rogue on your > > network as well. > > > > setup a subclass. specify in the dhcpd.conf file on a line like this: > > subclass "name" 1:XX:XX:XX:XX:XX:XX; > > > > where the X's are the MAC addy of the modem. > > > > In the modem pool specify to allow only from that subclass and in the > > other pool specify to deny that class. > > > > The thing that will hapen is that all modems not in your system will get > > a real world ip. > > > > have fun ;) > > > > -- > > Greg <gsml@xxxxxxxxxxxxxxx> > > > > > > ----------------------------------------------------------------------- > > List Archives : http://www.isc.org/ml-archives/dhcp-server/ > > Unsubscribe : http://www.isc.org/dhcp-lists.html > > -or- : mailto:dhcp-server-request@xxxxxxx?Subject=unsubscribe > > ----------------------------------------------------------------------- > > > -- > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQA8hO+VBOGVGcv6DNwRAnATAJ41CA57cwrv71e3qhTzVFv2Pz6j0QCgonV7 > TPZfyZ+m7eZX3oHeZ3YhT9E= > =fFbZ > -----END PGP SIGNATURE----- -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA8hO+VBOGVGcv6DNwRAnATAJ41CA57cwrv71e3qhTzVFv2Pz6j0QCgonV7 TPZfyZ+m7eZX3oHeZ3YhT9E= =fFbZ -----END PGP SIGNATURE----- -- Attached file included as plaintext by Ecartis -- -- File: signature.asc -- Desc: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA+N/+UBOGVGcv6DNwRAmUnAKCPWgXuz9+pQXoYZrSQAkv/B9GixQCaAn3O OoFi3p6A1Cp4V5KhpP7d1J8= =Sn1E -----END PGP SIGNATURE----- ----------------------------------------------------------------------- List Archives : http://www.isc.org/ml-archives/dhcp-server/ Unsubscribe : http://www.isc.org/dhcp-lists.html -or- : mailto:dhcp-server-request@xxxxxxx?Subject=unsubscribe ----------------------------------------------------------------------- |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Anyone using Arris Cornerstone 1000?: 00376, Justin Ellison |
|---|---|
| Next by Date: | on commit, no such function error: 00376, Brzozowski, John Jason (p) |
| Previous by Thread: | Re: Anyone using Arris Cornerstone 1000?i: 00376, Justin Ellison |
| Next by Thread: | Looping dhclient-script: 00376, Dirk-Willem van Gulik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |