<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jun 28, 2021, at 7:42 AM, Carl Karsten <<a href="mailto:carl@nextdayvideo.com" class="">carl@nextdayvideo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><br class="Apple-interchange-newline"><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div class="gmail_quote" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div dir="ltr" class="gmail_attr">On Sun, Jun 27, 2021 at 12:17 PM Andrew Miskell <<a href="mailto:andrewmiskell@mac.com" class="">andrewmiskell@mac.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="auto" class=""><br class=""><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">On Jun 27, 2021, at 12:02, Carl Karsten <<a href="mailto:carl@nextdayvideo.com" target="_blank" class="">carl@nextdayvideo.com</a>> wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 27, 2021 at 10:49 AM Andrew Miskell <<a href="mailto:andrewmiskell@mac.com" target="_blank" class="">andrewmiskell@mac.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="auto" class=""><br class=""><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">On Jun 27, 2021, at 09:30, Carl Karsten <<a href="mailto:carl@nextdayvideo.com" target="_blank" class="">carl@nextdayvideo.com</a>> wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 27, 2021 at 7:56 AM john doe <<a href="mailto:johndoe65534@mail.com" target="_blank" class="">johndoe65534@mail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">On 6/27/2021 9:17 AM, Carl Karsten wrote:<br class="">> On Sun, Jun 27, 2021 at 2:10 AM john doe <<a href="mailto:johndoe65534@mail.com" target="_blank" class="">johndoe65534@mail.com</a>> wrote:<br class="">><br class="">>> On 6/27/2021 7:03 AM, Dominik wrote:<br class="">>>> Hey Carl,<br class="">>>><br class="">>>> On Sat, 2021-06-26 at 19:16 -0500, Carl Karsten wrote:<br class="">>>>> I'm looking for advice on haveing some boxes to have both dynamic and<br class="">>>>> static IPs.<br class="">>>><br class="">>>> Why use a static IP at all? We have often enough seen people use static<br class="">>>> addresses for the wrong reasons.<br class="">>>><br class="">>><br class="">>> As I understand it, the OP wants to use DHCP static leases.<br class="">>><br class="">><br class="">> No.<br class="">><br class="">> I need this for when move put a box on someone else's network.<br class="">> So I don't have any control over the dhcp server.<br class="">><br class=""><br class="">Then set an fix IP on dhcp client (dhclient ...) and remove it when you<br class="">don't need it.<br class=""><br class="">Basically, you set the dhcp client to have a static address or let the<br class="">client get a lease from a dhcp server.<br class=""></blockquote><div class=""><br class=""></div><div class="">I'm trying to reduce the amount of work I need to do when I show up and discover there is no dhcp server.<br class=""></div><div class=""><br class=""></div><div class="">Example locations: university, coffee shop, convention center, office meeting room.   In all cases I am a guest for a few days. <span class="Apple-converted-space"> </span><br class=""></div><div class=""><br class=""></div><div class=""> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><br class="">Why do you need dnsmasq into the mix?<br class=""></blockquote><div class=""><br class=""></div><div class="">I don't - I am just working on client config.<br class=""></div><div class=""><br class=""></div><div class=""> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><br class="">--<br class="">John Doe<br class=""><br class="">_______________________________________________<br class="">Dnsmasq-discuss mailing list<br class=""><a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank" class="">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br class=""><a href="https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss" rel="noreferrer" target="_blank" class="">https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss</a><br class=""></blockquote></div><br clear="all" class=""><br class="">--<span class="Apple-converted-space"> </span><br class=""><div dir="ltr" class=""><div dir="ltr" class=""><span class="">Carl K<br class=""></span></div></div></div><span class="">_______________________________________________</span><br class=""><span class="">Dnsmasq-discuss mailing list</span><br class=""><span class=""><a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank" class="">Dnsmasq-discuss@lists.thekelleys.org.uk</a></span><br class=""><span class=""><a href="https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss" target="_blank" class="">https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss</a></span><br class=""></div></blockquote><br class=""><div class="">A couple things. It might help to state what the client device is running (Windows, Linux and what distribution/version). </div><div class=""><br class=""></div></div></blockquote><div class=""><br class=""></div><div class="">Opsis PC: Ubuntu 20.04.2 LTS<span class="Apple-converted-space"> </span><br class=""></div><div class="">Voctomix:  Debian GNU/Linux 11<span class="Apple-converted-space"> </span><br class=""></div><div class=""><div class=""></div></div><div class=""><br class=""></div><div class=""> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="auto" class=""><div class=""></div><div class="">dnsmasq is a DNS/DHCP server not a client, so I’m unsure what the role of dnsmasq would be here. </div><div class=""><br class=""></div></div></blockquote><div class=""><br class=""></div><div class=""></div><div class="">This is a bit OT (Off Topic) as in it is not a dnsmasq server question. <span class="Apple-converted-space"> </span><br class=""></div><div class="">I am asking about client config.</div><div class="">to a group qualified to know about such things.<span class="Apple-converted-space"> </span><br class=""></div><div class="">if there is a better place to ask such questions, let me know.<span class="Apple-converted-space"> </span></div><div class=""><br class=""></div><div class=""> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="auto" class=""><div class=""></div><div class="">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. </div></div></blockquote></div><div class=""><br class=""></div>If I could always plug a wire into a jack and get to a dhcp server, I would not have a problem.   <span class="Apple-converted-space"> </span><br class=""><div class="">I do not want to route 400mbs video traffic though the coffee shop wifi.  Which isn't a problem as my devices don't have wifi.  So yes the coffee shop does have a dhcp server, I may not want to use it.</div><div class=""></div><div class=""><br class=""></div><div class="">If I do not have access to the venue network, then my networking needs are just my 2 devices.  This is the  case I am trying to provide for, without having to edit<span class="Apple-converted-space"> </span><br class=""></div><div class="">a config file.  the Opsis PC is often headless,  so editing is done via ssh from the voctomix pc, which is hard if the 2 don't have networking setup.<span class="Apple-converted-space"> </span><br class=""></div><br class="">--<span class="Apple-converted-space"> </span><br class=""><div dir="ltr" class=""><div dir="ltr" class=""><span class="">Carl K<br class=""></span></div></div></div></div></blockquote><br class=""><div class="">If you are using NetworkManager for configuring your interfaces on those linux machines, you can have two profiles bound to the same interface with the dhcp profile having a higher priority over the static profile. So if DHCP fails, the static profile takes over. </div><div class=""><br class=""></div></div></blockquote><div class=""><br class=""></div><div class="">That sounds like I won't have both static and dhcp IPs at the same time?<br class=""></div><div class=""> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="auto" class=""><div class=""></div><div class="">Ubuntu switched to NetPlan sometime back and I’m not sure if it has the same options, you’d have the check netplan’s documentation. </div></div></blockquote></div><br clear="all" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">I seem to remember working this out for NetPlan and being happy with how simple the .conf was.   That was about 2 years ago and I'm not sure if it worked.<br class=""></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div dir="ltr" class="gmail_signature" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div dir="ltr" class=""><span class="">Carl K</span></div></div></div></blockquote><br class=""></div><div>If you want both DHCP and Static IPs on the same interface, then maybe using what’s described here (<a href="https://askubuntu.com/questions/1031278/does-netplan-support-dhcp-and-static-addresses-on-one-interface" class="">https://askubuntu.com/questions/1031278/does-netplan-support-dhcp-and-static-addresses-on-one-interface</a>) under NetPlan would be helpful for you. I don’t know if NetPlan is available under Debian, but it should work on your Ubuntu instance at least.</div><div><br class=""></div><br class=""></body></html>