Deutsch English Français Italiano |
<v0576c$pr04$1@news1.tnib.de> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!weretis.net!feeder8.news.weretis.net!news1.tnib.de!feed.news.tnib.de!news.tnib.de!.POSTED.torres.zugschlus.de!not-for-mail From: Marc Haber <mh+usenetspam1118@zugschl.us> Newsgroups: comp.os.linux.misc Subject: Re: I never thought of this scenario Date: Mon, 22 Apr 2024 10:30:04 +0200 Organization: private site, see http://www.zugschlus.de/ for details Message-ID: <v0576c$pr04$1@news1.tnib.de> References: <uvhtft$3th0n$6@dont-email.me> <uvhv0m$kq3$1@tncsrv09.home.tnetconsulting.net> <uvs61u$2g9b9$5@dont-email.me> <uvsv4f$3cvv$1@news1.tnib.de> <uvv1qf$392q8$2@dont-email.me> <uvve26$3f4ea$1@dont-email.me> <wwvh6fwxy7q.fsf@LkoBDZeT.terraraq.uk> <v0108c$3q01h$1@dont-email.me> <v0111s$3q1fd$1@dont-email.me> <v013pv$3qmkf$1@dont-email.me> <v014gp$3qp0c$1@dont-email.me> <v017q3$td0$4@tncsrv09.home.tnetconsulting.net> <v018mo$3rj12$1@dont-email.me> <v02p3o$894n$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Date: Mon, 22 Apr 2024 08:30:04 -0000 (UTC) Injection-Info: news1.tnib.de; posting-host="torres.zugschlus.de:81.169.166.32"; logging-data="846852"; mail-complaints-to="abuse@tnib.de" X-Newsreader: Forte Agent 6.00/32.1186 Bytes: 2530 Lines: 23 The Natural Philosopher <tnp@invalid.invalid> wrote: >DHCP is similar in that the on;y thing a router has to do is determine >its a UDP broadcast, and if it is, work out where to send it, and what >return address to give it if any.. > >One would expect the router to simply spoof a MAC address on its >interface, and relay responses to that MAC address back to the client >network. >In short its acting like an ethernet switch or bridge > >I am more curious as to how the DHCP server 'knows' which network >address to give the client, but not interested enough to look it up. :-) That's because the DHCP relay agent does not simply "route" the broadcast packet, it generates a new packet with the client message, adds information about itself (such as, for example, the IP address of the Interface where the DHCP broadcast was received on) and forwards the resulting NEW message as routable unicast to the DHCP server. -- ---------------------------------------------------------------------------- Marc Haber | " Questions are the | Mailadresse im Header Rhein-Neckar, DE | Beginning of Wisdom " | Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 6224 1600402