Deutsch English Français Italiano |
<uv2g3g$39k$1@tncsrv09.home.tnetconsulting.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail From: Grant Taylor <gtaylor@tnetconsulting.net> Newsgroups: comp.os.linux.misc Subject: Re: I never thought of this scenario Date: Mon, 8 Apr 2024 23:27:28 -0500 Organization: TNet Consulting Message-ID: <uv2g3g$39k$1@tncsrv09.home.tnetconsulting.net> References: <uutq04$2n9pt$1@dont-email.me> <07WdnchvLrr2GI_7nZ2dnZfqn_qdnZ2d@giganews.com> <uuu39t$2pd0s$1@dont-email.me> <uuvblp$32mbm$1@dont-email.me> <uuve5k$6pq$1@tncsrv09.home.tnetconsulting.net> <uuvf2e$33bqs$1@dont-email.me> <uuvhp6$g0s$1@tncsrv09.home.tnetconsulting.net> <uuvij0$340q8$2@dont-email.me> <uuvl9j$uaf$1@tncsrv09.home.tnetconsulting.net> <uv0017$3ajd1$1@dont-email.me> <uv1ucj$sti$1@tncsrv09.home.tnetconsulting.net> <uv2e9m$jin$2@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 9 Apr 2024 04:27:28 -0000 (UTC) Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140"; logging-data="3380"; mail-complaints-to="newsmaster@tnetconsulting.net" User-Agent: Mozilla Thunderbird Content-Language: en-US In-Reply-To: <uv2e9m$jin$2@dont-email.me> Bytes: 3121 Lines: 44 On 4/8/24 22:56, Lawrence D'Oliveiro wrote: > It works specifically on 169.254 addresses, because those are the only > kind you can use without a proper IP configuration. The DHCP protocol doesn't operate any differently for 169.254.0.0/16 vs 192.168.0.0/16 vs 203.0.113.0/24. 169.254.0.0/16 is actually not part of the DHCP protocol. 169.254.0.0/16 is an IPv4 network reserved for link-local addresses, often called Automatic Private IP Addressing (APIPA). This is a convention of DHCP /client/ implementations when the DHCP protocol fails to successfully obtain a lease. But the DHCP protocol operates the same independent of the prefix it's being used for. > They are both non-routable. Nope. DHCP *IS* routable. When you use DHCP relay agents, they use the DHCP protocol to talk to the DHCP server. They do so from known / configured IP addresses and they are PERFECTLY HAPPY to send DHCP requests through a routed IP network. > You might say that DHCP is technically layer 3, but it is restricted > to the domain of layer 2. No it is not. The 0.0.0.0 source IP address and 255.255.255.255 destination IP address are what's supposed to be not routed. The DHCP protocol has no problem using other IPs and is perfectly happy to be routed. In fact, I believe that a DHCP client that used a DHCP relay helper to obtain it's release originally is perfectly capable of communicating with a remote DHCP server itself w/o the use of the helper. DHCP uses the UDP protocol which uses the IP protocol and is routable. I agree that DHCP is almost never routed. But lack of doing something doesn't mean that it's not possible to do it. -- Grant. . . .