Re: DHCP woes
Eric Oberlander <[email protected]> Mon, 19 Jun 2017 20:40:55 +0100
| Newsgroups | gmane.comp.security.ipcop.user |
|---|---|
| Message-ID | <CAPkz44FMSdiAf12U29QLWECeuk5bWmXgZKO09yCCv8wh7GNsxA@mail.gmail.com> |
Hi It's a good few years since I knew this all backwards, but files to look at would be /var/ipcop/dhcp/settings /var/ipcop/dhcp/fixedleases /var/run/dnsmasq/dnsmasq.leases I think the 'add fixed lease' icon should be greyed out if the IP address is in the 'fixedlease' file. I'd have to dig through dhcp,cgi to check. Try adding and deleting fixed leases and see how the files change, and if the correct, or expected, values are saved. How long are the dynamic leases? Are they 60 minutes, or over a number days or longer? When testing I cut it down to 10 minutes so I could watch the Requests, Offers and Acks in the system logs, which would also be a good place to look. It goes without saying that green and blue are on different subnets. Are they saved correctly in the settings file? Are the static leases within the range of dynamic leases? Just guessing now... Eric On 19 June 2017 at 18:13, Joe Acquisto-j4 <[email protected]> wrote: > >>> On 6/19/2017 at 10:17 AM, Chris Bell <[email protected]> > wrote: > > On Monday 19 Jun 2017 09:12:45 Joe Acquisto-j4 wrote: > >> IPCop v2.1.9 > >> > >> I continue to have DHCP oddities. For instance one device, on GREEN > >> segment, was handed out a dynamic address for BLUE. That has happened > to > >> several devices. > >> > >> GREEN and BLUE are on different NIC. However, after several power > cycles > >> on the device, now it is being handed out a GREEN address. One oddness > is > >> that the "edit" icon is greyed out for that address. > >> > >> I added that device to the "fixed lease" list yet it continues to hand > it > >> GREEN address. > > > > The BIOS in some boxes finds devices in random order, first to reply, and > > passes > > the list to Linux. I had to sort this while testing a shorewall setup by > . . . . > > -- > > Chris Bell > > website chrisbell.org.uk > > This applies to the IPCOP power cycles, correct? I should have been more > specific, it is the client device power cycles. Sorry. > > joe a. > > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > IPCop-user mailing list > [email protected] > Manage your subscription or unsubscribe > https://lists.sourceforge.net/lists/listinfo/ipcop-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ IPCop-user mailing list [email protected] Manage your subscription or unsubscribe https://lists.sourceforge.net/lists/listinfo/ipcop-user