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

Andrew Miskell andrewmiskell at mac.com
Sun Jun 27 15:48:56 UTC 2021



> On Jun 27, 2021, at 09:30, Carl Karsten <carl at nextdayvideo.com> wrote:
> 
> 
> 
> 
>> On Sun, Jun 27, 2021 at 7:56 AM john doe <johndoe65534 at mail.com> wrote:
>> 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.
> 
> I'm trying to reduce the amount of work I need to do when I show up and discover there is no dhcp server.
> 
> Example locations: university, coffee shop, convention center, office meeting room.   In all cases I am a guest for a few days.  
> 
>  
>> 
>> Why do you need dnsmasq into the mix?
> 
> I don't - I am just working on client config.
> 
>  
>> 
>> --
>> John Doe
>> 
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
> 
> 
> -- 
> Carl K
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

A couple things. It might help to state what the client device is running (Windows, Linux and what distribution/version). 

dnsmasq is a DNS/DHCP server not a client, so I’m unsure what the role of dnsmasq would be here. 

Most of the places you listed would already have a DHCP server available to hand out IP addresses (and associated network information) on its own. Otherwise, there’s no easy way to connect to the internet without knowing all that particular networks details (e.g. gateway address, subnet mask, etc, etc) which defeats the point of providing network access in a number of the locations you listed. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20210627/cbcacfac/attachment.htm>


More information about the Dnsmasq-discuss mailing list