Ubuntu 24.04 and DHCP question

Jerry Geis jerry.geis at gmail.com
Wed Nov 27 13:43:12 UTC 2024


On Wed, Nov 27, 2024 at 8:30 AM Jerry Geis <jerry.geis at gmail.com> wrote:

> I am installing 24.04 on a computer - using DHCP
> I get TWO DHCP addresses on same NIC enp3s0
> 192.168.2.189 - which is valid
> and then also 192.168.10.136 - which is not valid
>
> my config is below I added the 192.168.10.0 range to try and DENY it on
> the network.
>
> Why is Ubuntu 24.04 getting this address? I dont recall it on 22.04.
> The linux offering DHCP is 24.04 and the machine asking for DHCP is also
> 24.04. It fails install then because the 192.168.10.X network is the
> default route and is totally not valid.
>
> Thanks
>
> Jerry
>
> ----
> # dhcpd.conf
> #
> # Configuration file for ISC dhcpd (see 'man dhcpd.conf')
> #
>
> authoritative;
>
> option domain-name-servers 8.8.8.8;
> option tftp-server-name "192.168.1.8";
> option ntp-servers 17.151.16.20;
> option routers 192.168.1.1;
>
> default-lease-time 86400;
>
> ddns-update-style none;
>
> subnet 192.168.0.0 netmask 255.255.252.0 {
> range 192.168.2.1 192.168.2.254;
> }
>
> # Block or 24.04
> subnet 192.168.10.0 netmask 255.255.255.0 {
> range  192.168.10.1 192.168.10.254;
> deny unknown-clients;
> }
>

Sorry, it appears there was another device on my network "obi202" that was
ALSO offering DHCP. I have turned it off. :)
Happy Wed!

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20241127/9a6d249e/attachment.html>


More information about the ubuntu-users mailing list