Deutsch English Français Italiano |
<v05ek6$t7cf$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: The Natural Philosopher <tnp@invalid.invalid> Newsgroups: comp.os.linux.misc Subject: Re: I never thought of this scenario Date: Mon, 22 Apr 2024 11:36:54 +0100 Organization: A little, after lunch Lines: 29 Message-ID: <v05ek6$t7cf$2@dont-email.me> 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> <v0576c$pr04$1@news1.tnib.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 22 Apr 2024 12:36:55 +0200 (CEST) Injection-Info: dont-email.me; posting-host="f04344f786f6c37351c4358375a244b5"; logging-data="957839"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+SI2JvPrKfQ8B2J6RFuRt5wob1dIKt3P8=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:1SWvAsnhWdxhdR+mTMFUzKsuepo= Content-Language: en-GB In-Reply-To: <v0576c$pr04$1@news1.tnib.de> Bytes: 2768 On 22/04/2024 09:30, Marc Haber wrote: > 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. > I.e it does a bit of address translation, like NAT. It messes with the return address as well as the destination addrress -- How fortunate for governments that the people they administer don't think. Adolf Hitler