[Dnsmasq-discuss] client q: both static and dhcp

john doe johndoe65534 at mail.com
Sun Jun 27 12:41:11 UTC 2021

On 6/27/2021 9:17 AM, Carl Karsten wrote:
> On Sun, Jun 27, 2021 at 2:10 AM john doe <johndoe65534 at mail.com> wrote:
>> On 6/27/2021 7:03 AM, Dominik wrote:
>>> Hey Carl,
>>> On Sat, 2021-06-26 at 19:16 -0500, Carl Karsten wrote:
>>>> I'm looking for advice on haveing some boxes to have both dynamic and
>>>> static IPs.
>>> Why use a static IP at all? We have often enough seen people use static
>>> addresses for the wrong reasons.
>> As I understand it, the OP wants to use DHCP static leases.
> No.
> I need this for when move put a box on someone else's network.
> So I don't have any control over the dhcp server.

Then set an fix IP on dhcp client (dhclient ...) and remove it when you
don't need it.

Basically, you set the dhcp client to have a static address or let the
client get a lease from a dhcp server.

Why do you need dnsmasq into the mix?

John Doe

More information about the Dnsmasq-discuss mailing list