Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #264820 > unrolled thread
| Started by | gene heskett <gheskett@shentel.net> |
|---|---|
| First post | 2023-12-16 16:50 +0100 |
| Last post | 2023-12-16 19:40 +0100 |
| Articles | 7 — 4 participants |
Back to article view | Back to linux.debian.user
dhcpd.conf Q? gene heskett <gheskett@shentel.net> - 2023-12-16 16:50 +0100
Re: dhcpd.conf Q? Andy Smith <andy@strugglers.net> - 2023-12-16 17:10 +0100
Re: dhcpd.conf Q? gene heskett <gheskett@shentel.net> - 2023-12-16 18:20 +0100
Re: dhcpd.conf Q? debian-user@howorth.org.uk - 2023-12-16 19:20 +0100
Re: dhcpd.conf Q? gene heskett <gheskett@shentel.net> - 2023-12-16 20:30 +0100
Re: dhcpd.conf Q? David Wright <deblis@lionunicorn.co.uk> - 2023-12-17 06:20 +0100
Re: dhcpd.conf Q? Andy Smith <andy@strugglers.net> - 2023-12-16 19:40 +0100
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-12-16 16:50 +0100 |
| Subject | dhcpd.conf Q? |
| Message-ID | <HLF5n-dZZq-11@gated-at.bofh.it> |
Greetings; Persuant to the dhcpd discussion, I have install a local isc-dhpd-server. I setup a $20 wide block, starting at 192.168.71.100 then setup 3 host entries. I have it working but apparently I need some clarification as a status request gets me a squawk about the host paragraph that is actually working: ------------------- Dec 16 09:47:16 coyote dhcpd[1895]: Dynamic and static leases present for 192.168.71.110. Dec 16 09:47:16 coyote dhcpd[1895]: Remove host declaration printer or remove 192.168.71.110 Dec 16 09:47:16 coyote dhcpd[1895]: from the dynamic address pool for 192.168.71.0/24 ------------------- Q#1:Is this telling me I should move that mac's assignment to .90 or .121, out of that "pool" from $100 to $120? Or move the pool so 110 does clash with it? Q#2: can the current phrase host "printer" be replaced by the alias in the servers /etc/hosts file? Q#3: gets a bit subjective. These arm64 boards don't usually come with a unique mac address for the net ports, so they usually "clone" whatever mac suits your fancy, so is it safe in a closed environment to use the same mac string in a host description by just incrementing the last hex byte of the dummy mac and the last .nnn of the address assigned? Thank you all. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
[toc] | [next] | [standalone]
| From | Andy Smith <andy@strugglers.net> |
|---|---|
| Date | 2023-12-16 17:10 +0100 |
| Message-ID | <HLFoK-e0lr-5@gated-at.bofh.it> |
| In reply to | #264820 |
Hello,
On Sat, Dec 16, 2023 at 10:42:33AM -0500, gene heskett wrote:
> Persuant to the dhcpd discussion, I have install a local isc-dhpd-server. I
> setup a $20 wide block, starting at 192.168.71.100
I'm going to take a guess that you mean your pool is from .100 to
.119 (or .120?) as I've never in my life heard or seen the phrase "a
$20 wide block".
> then setup 3 host entries. I have it working but apparently I need some
> clarification as a status request gets me a squawk about the host paragraph
> that is actually working:
> -------------------
> Dec 16 09:47:16 coyote dhcpd[1895]: Dynamic and static leases present for
> 192.168.71.110.
It just means that you have a declaration for 192.168.71.110 while
also having a dynamic range that includes 192.168.71.110. dhcpd will
generally know it has assigned 192.168.71.110 already and not hand
it out when asked, so this is just a warning, but it is better
fixed.
> Q#1:Is this telling me I should move that mac's assignment to .90 or .121,
> out of that "pool" from $100 to $120? Or move the pool so 110 does clash
> with it?
Whichever you prefer. Just don't have static assignments that use
IPs from a range you hand out dynamically.
> Q#2: can the current phrase host "printer" be replaced by the alias in the
> servers /etc/hosts file?
I don't understand the question, sorry. You can call your hosts
whatever you like.
Show us the "host" block you have now and what you would like it
to be, if you want to ask questions about it, but I don't see what
issue it will make to call it whatever.
> is it safe in a closed environment to use the same mac string in a
> host description by just incrementing the last hex byte of the
> dummy mac and the last .nnn of the address assigned?
You already made a choice as to what MAC address to use, so I fail
to see what relevance DHCP has here. Once you've decided what MAC
address you're setting, use that and put it in DHCP. Or are you
asking what MAC addresses are safe for you to use, generally?
Locally Administered MAC address ranges are any of:
X2‑XX-XX-XX-XX-XX
X6‑XX-XX-XX-XX-XX
XA‑XX-XX-XX-XX-XX
XE‑XX-XX-XX-XX-XX
where X can be any hex value.
Thanks,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-12-16 18:20 +0100 |
| Message-ID | <HLGuu-e10U-7@gated-at.bofh.it> |
| In reply to | #264823 |
On 12/16/23 11:41, Andy Smith wrote:
> Hello,
>
> On Sat, Dec 16, 2023 at 10:42:33AM -0500, gene heskett wrote:
>> Persuant to the dhcpd discussion, I have install a local isc-dhpd-server. I
>> setup a $20 wide block, starting at 192.168.71.100
>
> I'm going to take a guess that you mean your pool is from .100 to
> .119 (or .120?) as I've never in my life heard or seen the phrase "a
> $20 wide block".
>
Actually I was thinking in hex when I wrote that, what I meant was 20
addresses in the pool.
>> then setup 3 host entries. I have it working but apparently I need some
>> clarification as a status request gets me a squawk about the host paragraph
>> that is actually working:
>> -------------------
>> Dec 16 09:47:16 coyote dhcpd[1895]: Dynamic and static leases present for
>> 192.168.71.110.
>
> It just means that you have a declaration for 192.168.71.110 while
> also having a dynamic range that includes 192.168.71.110. dhcpd will
> generally know it has assigned 192.168.71.110 already and not hand
> it out when asked, so this is just a warning, but it is better
> fixed.
>
I have now changed the printer phrase of the host definition to it
hostname, mkspi, and moved that fixed-address out of the pool
declaration. Also declared the domainname at the top and it is happy.
But it does an exit stage w/o logging any reason if I uncomment the next
host definition, shown as a copy/paste here:
subnet 192.168.71.0 netmask 255.255.255.0 {
range 192.168.71.100 192.168.71.120;
option routers 192.168.71.1;
option domain-name-servers 192.168.71.1;
}
host mkspi {
hardware ethernet 5a:c1:f0:8b:00:54;
fixed-address 192.168.71.121;
}
#host e5plus {
# hardware ethernet 5a:c1:f0:8b:00:55;
# fixed-address 192.168.71.122;
#}
#host tronxy {
# hardware ethernet 5a:c1:f0:8b:00:56;
# fixed-address 192.168.71,123;
#}
------------------
I get the impression I can have an unlimited number of "host" paragraphs
as long as there is not an actual clash in the addresses or macs? Aha!
slightly larger font in the paste and I now see a , where a . s/b fixing
that fixed it. I use nano a lot, but it could use a larger font for
these ancient eyeballs. So now I know how to add fixed-address use to
dhcpd.conf. Problem solve although I may have to do more editing to the
hosts file eventually. Thank you for your patience.
>> Q#1:Is this telling me I should move that mac's assignment to .90 or .121,
>> out of that "pool" from $100 to $120? Or move the pool so 110 does clash
>> with it?
>
> Whichever you prefer. Just don't have static assignments that use
> IPs from a range you hand out dynamically.
>
>> Q#2: can the current phrase host "printer" be replaced by the alias in the
>> servers /etc/hosts file?
>
> I don't understand the question, sorry. You can call your hosts
> whatever you like.
>
> Show us the "host" block you have now and what you would like it
> to be, if you want to ask questions about it, but I don't see what
> issue it will make to call it whatever.
>
>> is it safe in a closed environment to use the same mac string in a
>> host description by just incrementing the last hex byte of the
>> dummy mac and the last .nnn of the address assigned?
>
> You already made a choice as to what MAC address to use, so I fail
> to see what relevance DHCP has here. Once you've decided what MAC
> address you're setting, use that and put it in DHCP. Or are you
> asking what MAC addresses are safe for you to use, generally?
>
> Locally Administered MAC address ranges are any of:
>
> X2‑XX-XX-XX-XX-XX
> X6‑XX-XX-XX-XX-XX
> XA‑XX-XX-XX-XX-XX
> XE‑XX-XX-XX-XX-XX
>
> where X can be any hex value.
>
> Thanks,
> Andy
>
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
[toc] | [prev] | [next] | [standalone]
| From | debian-user@howorth.org.uk |
|---|---|
| Date | 2023-12-16 19:20 +0100 |
| Message-ID | <HLHqx-e1zG-1@gated-at.bofh.it> |
| In reply to | #264825 |
gene heskett <gheskett@shentel.net> wrote: [snip] > I use nano a lot, but it could use a larger font for these ancient > eyeballs. nano runs in a terminal so it doesn't control the font - the terminal does. How you change the font size in a terminal depends on which terminal program you are using. I expect $ man xterm (or whatever) will be helpful. [snip]
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2023-12-16 20:30 +0100 |
| Message-ID | <HLIwh-e2bx-11@gated-at.bofh.it> |
| In reply to | #264828 |
On 12/16/23 14:17, debian-user@howorth.org.uk wrote: > gene heskett <gheskett@shentel.net> wrote: > > [snip] >> I use nano a lot, but it could use a larger font for these ancient >> eyeballs. > > nano runs in a terminal so it doesn't control the font - the terminal > does. How you change the font size in a terminal depends on which > terminal program you are using. I expect $ man xterm (or whatever) will > be helpful. > > [snip] > XFCE ctl + or - > . Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2023-12-17 06:20 +0100 |
| Message-ID | <HLRJg-e7KE-5@gated-at.bofh.it> |
| In reply to | #264834 |
On Sat 16 Dec 2023 at 14:21:48 (-0500), gene heskett wrote: > On 12/16/23 14:17, debian-user@howorth.org.uk wrote: > > gene heskett <gheskett@shentel.net> wrote: > > > > [snip] > > > I use nano a lot, but it could use a larger font for these ancient > > > eyeballs. > > > > nano runs in a terminal so it doesn't control the font - the terminal > > does. How you change the font size in a terminal depends on which > > terminal program you are using. I expect $ man xterm (or whatever) will > > be helpful. > > > > [snip] > > > XFCE ctl + or - I know you use the hack font, so you can make it arbitrarily large by increasing the final number of: xterm -geometry 80x20+0+0 -fa hack -fs 24 Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Andy Smith <andy@strugglers.net> |
|---|---|
| Date | 2023-12-16 19:40 +0100 |
| Message-ID | <HLHJT-e1FD-5@gated-at.bofh.it> |
| In reply to | #264825 |
Hello, On Sat, Dec 16, 2023 at 12:16:41PM -0500, gene heskett wrote: > On 12/16/23 11:41, Andy Smith wrote: > > Hello, > > > > On Sat, Dec 16, 2023 at 10:42:33AM -0500, gene heskett wrote: > > > Persuant to the dhcpd discussion, I have install a local isc-dhpd-server. I > > > setup a $20 wide block, starting at 192.168.71.100 > > > > I'm going to take a guess that you mean your pool is from .100 to > > .119 (or .120?) as I've never in my life heard or seen the phrase "a > > $20 wide block". > > > Actually I was thinking in hex when I wrote that, what I meant was 20 > addresses in the pool. But 20 in hex is 32 decimal… you really don't make it easy for people trying to understand your emails. :( Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web