• I never thought of this scenario

    From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Sun Apr 7 10:45:39 2024
    From Newsgroup: comp.os.linux.misc


    I decided on a quiet breezy Sunday morning, to upgrade my routers
    firmware. Which required a router reboot.

    So it lost all its DHCP tables.

    However apart from 10 seconds of internet outage, the rest of the
    network carried on nicely (nothing uses the router's wifi, as it's in a
    remote space).

    I then restarted a piece of kit I am working on, and it popped up in the
    first available DHCP slot.

    My question is, if that had already been occupied by another piece of
    kit, would I have ended up with an IP address clash?

    It seems to me that checking for conflicts only happens at lease start
    or lease renewal times?

    Or does that imply that the router did check the ip address first before allocating the IP?
    --
    Canada is all right really, though not for the whole weekend.

    "Saki"
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Andy Burns@usenet@andyburns.uk to comp.os.linux.misc on Sun Apr 7 11:10:53 2024
    From Newsgroup: comp.os.linux.misc

    The Natural Philosopher wrote:

    I then restarted a piece of kit I am working on, and it popped up in the first available DHCP slot.

    My question is, if that had already been occupied by another piece of
    kit, would I have ended up with an IP address clash?

    Most kit will try a gratuitous ARP for the IP addr it's contemplating
    using, which will show up most clashes before they happen, less
    sophisticated devices may not bother ...

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Robert Heller@heller@deepsoft.com to comp.os.linux.misc on Sun Apr 7 11:37:15 2024
    From Newsgroup: comp.os.linux.misc

    At Sun, 7 Apr 2024 10:45:39 +0100 The Natural Philosopher <tnp@invalid.invalid> wrote:


    I decided on a quiet breezy Sunday morning, to upgrade my routers
    firmware. Which required a router reboot.

    So it lost all its DHCP tables.

    However apart from 10 seconds of internet outage, the rest of the
    network carried on nicely (nothing uses the router's wifi, as it's in a remote space).

    I then restarted a piece of kit I am working on, and it popped up in the first available DHCP slot.

    My question is, if that had already been occupied by another piece of
    kit, would I have ended up with an IP address clash?
    This would not happen. I believe that the DHCP server process does something like an "arp" before it assigns leaases. Also, anything with an "old" (pre-reboot) lease would eventually ask for a lease renewal sooner or later
    (eg when the lease runs out). It would ask for its existing IP address and the router would likely grant that and create an entry int its lease table.
    So, even if the router does not have any persistant lease data (eg saved
    across reboots), the data would eventually be re-created is pretty shourt order. I suspect the lease time for most od these little routersis fairly should (an hour?), so the problem you fear is a non-problem.

    It seems to me that checking for conflicts only happens at lease start
    or lease renewal times?

    Or does that imply that the router did check the ip address first before allocating the IP?

    --
    Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
    Deepwoods Software -- Custom Software Services
    http://www.deepsoft.com/ -- Linux Administration Services
    heller@deepsoft.com -- Webhosting Services
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Sun Apr 7 13:24:28 2024
    From Newsgroup: comp.os.linux.misc

    On 07/04/2024 12:37, Robert Heller wrote:
    My question is, if that had already been occupied by another piece of
    kit, would I have ended up with an IP address clash?
    This would not happen. I believe that the DHCP server process does something like an "arp" before it assigns leaases.

    I think it may in fact do a *ping*. In fact this led me to the
    realisation that none of my Raspberry PI PICO W widgets were responding
    to pings...another 2 hours of my life working out why...:-)

    "To prevent a newly allocated IP address conflicting with existing IP addresses, the DHCP server sends an ICMP Echo Request packet before
    sending a DHCP Offer message. This ICMP packet contains the IP address
    to be allocated in both the source and destination IP address fields.
    The server can allocate the IP address if it receives no ICMP Echo Reply packet within the detection period (no client is using this IP address).
    If the server receives an ICMP Echo Reply packet within the detection
    period, the DHCP server lists this IP address as a conflicting IP
    address (as it is in use by another client), and then waits for the next
    DHCP Discover message to start the IP address selection process again."

    https://support.huawei.com/enterprise/en/doc/EDOC1100126920/5cef90ad/how-a-dhcp-server-allocates-network-parameters-to-new-dhcp-clients

    >Also, anything with an "old"
    (pre-reboot) lease would eventually ask for a lease renewal sooner or later (eg when the lease runs out). It would ask for its existing IP address and the
    router would likely grant that and create an entry int its lease table.

    yes.

    So, even if the router does not have any persistant lease data (eg saved across reboots), the data would eventually be re-created is pretty shourt order. I suspect the lease time for most od these little routersis fairly should (an hour?),

    24 hours...

    so the problem you fear is a non-problem.

    It was a potential problem when my Pi Picos didnt respond to pings
    --
    Climate Change: Socialism wearing a lab coat.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Robert Heller@heller@deepsoft.com to comp.os.linux.misc on Sun Apr 7 13:29:40 2024
    From Newsgroup: comp.os.linux.misc

    At Sun, 7 Apr 2024 13:24:28 +0100 The Natural Philosopher <tnp@invalid.invalid> wrote:

    On 07/04/2024 12:37, Robert Heller wrote:
    My question is, if that had already been occupied by another piece of
    kit, would I have ended up with an IP address clash?
    This would not happen. I believe that the DHCP server process does something
    like an "arp" before it assigns leaases.

    I think it may in fact do a *ping*. In fact this led me to the
    realisation that none of my Raspberry PI PICO W widgets were responding
    to pings...another 2 hours of my life working out why...:-)

    "To prevent a newly allocated IP address conflicting with existing IP addresses, the DHCP server sends an ICMP Echo Request packet before
    sending a DHCP Offer message. This ICMP packet contains the IP address
    to be allocated in both the source and destination IP address fields.
    The server can allocate the IP address if it receives no ICMP Echo Reply packet within the detection period (no client is using this IP address).
    If the server receives an ICMP Echo Reply packet within the detection
    period, the DHCP server lists this IP address as a conflicting IP
    address (as it is in use by another client), and then waits for the next
    DHCP Discover message to start the IP address selection process again."

    https://support.huawei.com/enterprise/en/doc/EDOC1100126920/5cef90ad/how-a-dhcp-server-allocates-network-parameters-to-new-dhcp-clients

    >Also, anything with an "old"
    (pre-reboot) lease would eventually ask for a lease renewal sooner or later (eg when the lease runs out). It would ask for its existing IP address and the
    router would likely grant that and create an entry int its lease table.

    yes.

    So, even if the router does not have any persistant lease data (eg saved across reboots), the data would eventually be re-created is pretty shourt order. I suspect the lease time for most od these little routersis fairly should (an hour?),

    24 hours...

    so the problem you fear is a non-problem.

    It was a potential problem when my Pi Picos didnt respond to pings
    Which is not the *router's* problem, but a mis-configuration problem with the Pi Picos...

    --
    Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
    Deepwoods Software -- Custom Software Services
    http://www.deepsoft.com/ -- Linux Administration Services
    heller@deepsoft.com -- Webhosting Services
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marco Moock@mm+usenet-es@dorfdsl.de to comp.os.linux.misc on Sun Apr 7 15:57:45 2024
    From Newsgroup: comp.os.linux.misc

    On 07.04.2024 um 10:45 Uhr The Natural Philosopher wrote:

    I decided on a quiet breezy Sunday morning, to upgrade my routers
    firmware. Which required a router reboot.

    So it lost all its DHCP tables.

    Normal.

    I then restarted a piece of kit I am working on, and it popped up in
    the first available DHCP slot.

    My question is, if that had already been occupied by another piece of
    kit, would I have ended up with an IP address clash?

    2 parties can do duplicate address detection (DHCP server and the
    client). None of them did.

    It seems to me that checking for conflicts only happens at lease
    start or lease renewal times?

    When a device requests a lease, the DHCP server should check the address
    with an ARP/NDP request.

    The client should do that too. For IPv6, this is mandatory.
    --
    kind regards
    Marco

    Send spam to 1712479539muell@cartoonies.org

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Sun Apr 7 23:53:30 2024
    From Newsgroup: comp.os.linux.misc

    On Sun, 7 Apr 2024 13:24:28 +0100, The Natural Philosopher wrote:

    On 07/04/2024 12:37, Robert Heller wrote:

    I believe that the DHCP server process does
    something like an "arp" before it assigns leaases.

    I think it may in fact do a *ping*.

    You want it to do an ARP, not a ping. Ping is routable, ARP is not.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sun Apr 7 19:36:04 2024
    From Newsgroup: comp.os.linux.misc

    On 4/7/24 18:53, Lawrence D'Oliveiro wrote:
    You want it to do an ARP, not a ping. Ping is routable, ARP is not.

    What is the down side of ping being routable in the context of
    determining if an IP in the directly attached subnet is reachable or not?

    The only reason I'd prefer to use ARP over ping (ICMP) is that ping can
    easily be filtered and may give a false negative. While ARP more
    directly deals with the ARP cache and thus looking at where responses
    would show up even if ping is filtered.

    N.B. to be able to ping something in the local directly attached subnet,
    ARP is going to be used to resolve the IP address to a MAC address.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Mon Apr 8 00:51:26 2024
    From Newsgroup: comp.os.linux.misc

    On Sun, 7 Apr 2024 19:36:04 -0500, Grant Taylor wrote:

    On 4/7/24 18:53, Lawrence D'Oliveiro wrote:

    You want it to do an ARP, not a ping. Ping is routable, ARP is not.

    What is the down side of ping being routable ...

    You wouldn’t expect it to be routed. Nevertheless, better to use a
    protocol that can never be routed.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sun Apr 7 20:37:42 2024
    From Newsgroup: comp.os.linux.misc

    On 4/7/24 19:51, Lawrence D'Oliveiro wrote:
    You wouldn’t expect it to be routed.

    Expectations have a way of biting.

    Nevertheless, better to use a protocol that can never be routed.

    There are ways to route ARP. }:-)

    But I agree that ARP is better than ping for this use case.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Mon Apr 8 01:51:28 2024
    From Newsgroup: comp.os.linux.misc

    On Sun, 7 Apr 2024 20:37:42 -0500, Grant Taylor wrote:

    There are ways to route ARP. }:-)

    You are thinking of proxy ARP, perhaps?
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sun Apr 7 21:37:39 2024
    From Newsgroup: comp.os.linux.misc

    On 4/7/24 20:51, Lawrence D'Oliveiro wrote:
    You are thinking of proxy ARP, perhaps?

    You might think that, but even proxy ARP is traditional ARP all be it
    for remote IPs.

    I was thinking more along the lines of bridged routing (brouting) and /
    or tunnels.

    OpenFlow can really break traditional networking paradigms.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Mon Apr 8 05:40:55 2024
    From Newsgroup: comp.os.linux.misc

    On Sun, 7 Apr 2024 21:37:39 -0500, Grant Taylor wrote:

    I was thinking more along the lines of bridged routing (brouting) and /
    or tunnels.

    OpenFlow can really break traditional networking paradigms.

    Tunnels/SDN are irrelevant, because they happen at a lower level that is transparent to the level we are talking about (virtual layer 2).

    Remember, we were talking about DHCP, and ARP operates at the same level.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Mon Apr 8 08:34:40 2024
    From Newsgroup: comp.os.linux.misc

    On 07/04/2024 14:29, Robert Heller wrote:
    At Sun, 7 Apr 2024 13:24:28 +0100 The Natural Philosopher <tnp@invalid.invalid> wrote:


    On 07/04/2024 12:37, Robert Heller wrote:
    My question is, if that had already been occupied by another piece of
    kit, would I have ended up with an IP address clash?
    This would not happen. I believe that the DHCP server process does something
    like an "arp" before it assigns leaases.

    I think it may in fact do a *ping*. In fact this led me to the
    realisation that none of my Raspberry PI PICO W widgets were responding
    to pings...another 2 hours of my life working out why...:-)

    "To prevent a newly allocated IP address conflicting with existing IP
    addresses, the DHCP server sends an ICMP Echo Request packet before
    sending a DHCP Offer message. This ICMP packet contains the IP address
    to be allocated in both the source and destination IP address fields.
    The server can allocate the IP address if it receives no ICMP Echo Reply
    packet within the detection period (no client is using this IP address).
    If the server receives an ICMP Echo Reply packet within the detection
    period, the DHCP server lists this IP address as a conflicting IP
    address (as it is in use by another client), and then waits for the next
    DHCP Discover message to start the IP address selection process again."

    https://support.huawei.com/enterprise/en/doc/EDOC1100126920/5cef90ad/how-a-dhcp-server-allocates-network-parameters-to-new-dhcp-clients

    >Also, anything with an "old"
    (pre-reboot) lease would eventually ask for a lease renewal sooner or later >>> (eg when the lease runs out). It would ask for its existing IP address and the
    router would likely grant that and create an entry int its lease table.

    yes.

    So, even if the router does not have any persistant lease data (eg saved >>> across reboots), the data would eventually be re-created is pretty shourt >>> order. I suspect the lease time for most od these little routersis fairly >>> should (an hour?),

    24 hours...

    so the problem you fear is a non-problem.

    It was a potential problem when my Pi Picos didnt respond to pings

    Which is not the *router's* problem, but a mis-configuration problem with the Pi Picos...

    No argument there!



    --
    "In our post-modern world, climate science is not powerful because it is
    true: it is true because it is powerful."

    Lucas Bergkamp

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Mon Apr 8 08:35:32 2024
    From Newsgroup: comp.os.linux.misc

    On 08/04/2024 00:53, Lawrence D'Oliveiro wrote:
    On Sun, 7 Apr 2024 13:24:28 +0100, The Natural Philosopher wrote:

    On 07/04/2024 12:37, Robert Heller wrote:

    I believe that the DHCP server process does
    something like an "arp" before it assigns leaases.

    I think it may in fact do a *ping*.

    You want it to do an ARP, not a ping. Ping is routable, ARP is not.
    What I want to do is not in question, What is (apparently) generally
    accepted practice, is.
    --
    "In our post-modern world, climate science is not powerful because it is
    true: it is true because it is powerful."

    Lucas Bergkamp

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Mon Apr 8 09:19:24 2024
    From Newsgroup: comp.os.linux.misc

    On 08/04/2024 08:35, The Natural Philosopher wrote:
    On 08/04/2024 00:53, Lawrence D'Oliveiro wrote:
    On Sun, 7 Apr 2024 13:24:28 +0100, The Natural Philosopher wrote:

    On 07/04/2024 12:37, Robert Heller wrote:

    I believe that the DHCP server process does
    something like an "arp" before it assigns leaases.

    I think it may in fact do a *ping*.

    You want it to do an ARP, not a ping. Ping is routable, ARP is not.
    What I want to do is not in question, What is (apparently) generally accepted practice, is.

    I found this, which seems relatively authoritative.

    "With conflict detection enabled, the DHCP Server will ping the IP
    address it wants to grant a lease for to make sure no other computers
    are using that IP address. If the ping request receives a reply, the
    server will mark the IP as BAD_ADDRESS. If no response is received, the
    server will assign the IP address to the requesting client (The DHCP
    client probes the IP address by sending gratuitous ARP packets)."

    Apparently the use of ping is preferred because a DHCP server *can*
    operate across various routed subdomains.
    --
    No Apple devices were knowingly used in the preparation of this post.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Carlos E.R.@robin_listas@es.invalid to comp.os.linux.misc on Mon Apr 8 14:47:58 2024
    From Newsgroup: comp.os.linux.misc

    On 2024-04-08 01:53, Lawrence D'Oliveiro wrote:
    On Sun, 7 Apr 2024 13:24:28 +0100, The Natural Philosopher wrote:

    On 07/04/2024 12:37, Robert Heller wrote:

    I believe that the DHCP server process does
    something like an "arp" before it assigns leaases.

    I think it may in fact do a *ping*.

    You want it to do an ARP, not a ping. Ping is routable, ARP is not.

    Actually, you want the query to be routed in this scenario. You do not
    want any machine in the entire network to have the same IP, no matter
    how far it is.
    --
    Cheers, Carlos.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Andy Burns@usenet@andyburns.uk to comp.os.linux.misc on Mon Apr 8 15:22:47 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro wrote:

    The Natural Philosopher wrote:

    I think it may in fact do a *ping*.

    You want it to do an ARP, not a ping. Ping is routable, ARP is not.

    ping is blockable, ARP is not (if you want a functioning IP stack).

    The oddest device I have doesn't actually respond to ARP requests,
    instead it continually sends out an ARP reply containing its own MAC and
    IP addrs.


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Mon Apr 8 18:25:07 2024
    From Newsgroup: comp.os.linux.misc

    On 4/8/24 00:40, Lawrence D'Oliveiro wrote:
    Tunnels/SDN are irrelevant, because they happen at a lower level that
    is transparent to the level we are talking about (virtual layer 2).

    Not all tunnels are created equally.

    Remember, we were talking about DHCP, and ARP operates at the same level.

    No, DHCP and ARP do not operate on the same layers.

    DHCP operates on top of UDP which operates on top of IP.

    ARP operates on the same level as and /beside/ IP.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Mon Apr 8 18:30:37 2024
    From Newsgroup: comp.os.linux.misc

    On 4/8/24 03:19, The Natural Philosopher wrote:
    "With conflict detection enabled, the DHCP Server will ping the IP
    address it wants to grant a lease for to make sure no other computers
    are using that IP address. If the ping request receives a reply, the
    server will mark the IP as BAD_ADDRESS. If no response is received, the server will assign the IP address to the requesting client...."

    This usually works well enough. But it breaks down when the system
    using the IP the DHCP server is ping testing refuses to send echo reply responses to the ping.

    (The DHCP client probes the IP address by sending gratuitous ARP
    packets)

    I wonder if this happens after the client receives the DHCP OFFER from
    the server and before the client sends the DHCP REQUEST (for the offered
    IP).

    Apparently the use of ping is preferred because a DHCP server can
    operate across various routed subdomains.

    That doesn't surprise me. But it does have limitations in some probably
    rare cases.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Mon Apr 8 18:32:47 2024
    From Newsgroup: comp.os.linux.misc

    On 4/8/24 07:47, Carlos E.R. wrote:
    Actually, you want the query to be routed in this scenario. You do not
    want any machine in the entire network to have the same IP, no matter
    how far it is.

    Anycast IPs beg to differ with you.

    All IPs are locally significant. It's just a question of how local
    locally significant actually is.

    There is a good chance that the DHCP server's ping will only go to the
    subnet containing the IP in question which the DHCP has a route to. It
    won't find other instances of the IP where it doesn't have a route to.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Mon Apr 8 18:37:53 2024
    From Newsgroup: comp.os.linux.misc

    On 4/8/24 09:22, Andy Burns wrote:
    ping is blockable, ARP is not.

    ARP is blockable. arptables, ebtables, and even iptables (with the
    proper configuration) can block ARP quite easily.

    ARP is rarely blocked.

    (if you want a functioning IP stack)

    ARP is not required for a functional IP stack. There are multiple types
    of networks that don't even support ARP.

    IP just needs a way to know what MAC address to send traffic to or what
    port to send traffic out.

    It's perfectly feasible to configure static ARP entries on systems in a
    LAN and disable ARP. The systems will work perfectly fine.

    This will likely be familiar to anyone that has needed to de-conflict
    IPs remotely across a (layer 2) network.

    I've heard tell of people purposefully using conflicting IP addresses on systems that don't need to communicate with each other as a security
    measure (of sorts). (I'm not saying it's a good security measure. It's
    more an obfuscation.)

    Aside: I suspect static ARP entries and disabling ARP is more secure. }:-)
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Tue Apr 9 03:54:41 2024
    From Newsgroup: comp.os.linux.misc

    On Mon, 8 Apr 2024 09:19:24 +0100, The Natural Philosopher wrote:

    Apparently the use of ping is preferred because a DHCP server *can*
    operate across various routed subdomains.

    No it cannot. How is a client supposed to figure out how routing works to
    get to the DHCP server, if not from info it gets from the DHCP server?
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Tue Apr 9 03:56:39 2024
    From Newsgroup: comp.os.linux.misc

    On Mon, 8 Apr 2024 18:25:07 -0500, Grant Taylor wrote:

    DHCP operates on top of UDP which operates on top of IP.

    It works specifically on 169.254 addresses, because those are the only
    kind you can use without a proper IP configuration.

    ARP operates on the same level as and /beside/ IP.

    They are both non-routable. You might say that DHCP is technically layer
    3, but it is restricted to the domain of layer 2.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Tue Apr 9 03:57:37 2024
    From Newsgroup: comp.os.linux.misc

    On Mon, 8 Apr 2024 14:47:58 +0200, Carlos E.R. wrote:

    You do not want any machine in the entire network to have the same IP,
    no matter how far it is.

    <https://datatracker.ietf.org/doc/html/rfc1918>
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Tue Apr 9 04:00:13 2024
    From Newsgroup: comp.os.linux.misc

    On Mon, 8 Apr 2024 18:37:53 -0500, Grant Taylor wrote:

    There are multiple types of networks that don't even support ARP.

    Like DECnet? But then you had to have a fixed relationship between your
    MAC address and your DECnet address.

    So how would you run more than one ARP-less protocol stack on the same set
    of machines?

    Even humble AppleTalk, back in the day, had its own ARP. All the good
    protocol stacks do.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Tue Apr 9 04:01:07 2024
    From Newsgroup: comp.os.linux.misc

    On Mon, 8 Apr 2024 15:22:47 +0100, Andy Burns wrote:

    The oddest device I have doesn't actually respond to ARP requests,
    instead it continually sends out an ARP reply containing its own MAC and
    IP addrs.

    That sounds very, um ... Novell Netware-ish, for some reason ...
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Tue Apr 9 06:16:51 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Mon, 8 Apr 2024 18:25:07 -0500, Grant Taylor wrote:
    DHCP operates on top of UDP which operates on top of IP.

    It works specifically on 169.254 addresses,

    No. Have you ever looked at a tcpdump output of a DHCP transaction?

    They are both non-routable. You might say that DHCP is technically layer
    3, but it is restricted to the domain of layer 2.

    Broadcast domain.

    Both protocols depend on broadcast. That's about the only thing they
    have in common.

    And they're both legacy protocols.

    Btw, DHCPv6 and IPv6 Neighbor Discovery do have more in comon than
    DHCPv4 and ARP. Both DHCPv6 and IPv6 operate based on ICMPv6.

    Greetings
    Marc
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Mon Apr 8 23:27:28 2024
    From Newsgroup: comp.os.linux.misc

    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. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Mon Apr 8 23:30:04 2024
    From Newsgroup: comp.os.linux.misc

    On 4/8/24 22:54, Lawrence D'Oliveiro wrote:
    No it cannot. How is a client supposed to figure out how routing
    works to get to the DHCP server, if not from info it gets from the
    DHCP server?

    DHCP helper receives the request from the client and passes it to the
    DHCP server using the DHCP protocol across a routed network.

    Subsequently, DHCP clients can renew their lease with the DHCP server
    without the involvement of the DHCP relay.

    You seem to be focusing on the most common use for DHCP. There are
    other less common uses for DHCP that invalidate some of your statements.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Mon Apr 8 23:42:48 2024
    From Newsgroup: comp.os.linux.misc

    On 4/8/24 23:00, Lawrence D'Oliveiro wrote:
    Like DECnet? But then you had to have a fixed relationship between your
    MAC address and your DECnet address.

    Similar, but definitely not the same. DECnet addresses were directly
    related to the MAC address. As in there was a direct algorithmic
    mapping between them.

    Conversely IP can use any MAC address it wants without any algorithmic relationship.

    Static is not the same as algorithmic.

    Host1 = 192.0.2.1 = 06:00:00:00:00:01
    Host2 = 192.0.2.2 = 06:00:00:00:00:02
    Host3 = 192.0.2.1 = 06:00:00:00:00:03
    Host4 = 192.0.2.2 = 06:00:00:00:00:04
    Host5 = 192.0.2.1 = 06:00:00:00:00:05
    Host6 = 192.0.2.2 = 06:00:00:00:00:06

    Host1 & Host2 have each other's MAC addresses statically entered in
    their ARP cache and can communicate with each other.

    Host1: 192.0.2.2 = 06:00:00:00:00:02
    Host2: 192.0.2.1 = 06:00:00:00:00:01

    Host3 & Host4 have each other's MAC addresses statically entered in
    their ARP cache and can communicate with each other.

    Host3: 192.0.2.2 = 06:00:00:00:00:03
    Host4: 192.0.2.1 = 06:00:00:00:00:04

    Host1 & Host2 have each other's MAC addresses statically entered in
    their ARP cache and can communicate with each other.

    Host5: 192.0.2.2 = 06:00:00:00:00:05
    Host6: 192.0.2.1 = 06:00:00:00:00:06

    So how would you run more than one ARP-less protocol stack on the same set
    of machines?

    Remember what ARP's sole purpose is; figuring out the MAC address for an
    IP address.

    If you statically configure the MAC address for IP addresses, there is
    no need for ARP.

    Even humble AppleTalk, back in the day, had its own ARP. All the good protocol stacks do.

    IP over ATM didn't have ARP. Did you like using IPv4 in the '90s?
    Many, if not most, smaller ISPs used IPv4 uplinks over ATM to larger providers. ARP wasn't used.

    Have you ever used IPv4 over PPP? It doesn't use ARP.

    It's possible to use IPv4 on Ethernet on Linux without ARP. I can add a
    route that uses an outgoing device instead of a remote IP and the need
    for an ARP cache, be it dynamic or statically pre-configured.

    Ethernet being used in a point-to-point configuration with a /31 doesn't
    need ARP.

    Ever hear of an "unnumbered" interface in Cisco parlance? That's
    venerable IPv4 using a device route that doesn't use ARP.

    ARP is needed in LANs ONLY when the remote MAC address is not known and
    is needed. If you know the remote MAC address or don't need it (e.g.
    device route) then ARP isn't needed.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Mon Apr 8 23:51:21 2024
    From Newsgroup: comp.os.linux.misc

    On 4/8/24 23:01, Lawrence D'Oliveiro wrote:
    That sounds very, um ... Novell Netware-ish, for some reason ...

    LOL We're talking TCP/IPv4, not IPX/SPX*.

    It's actually called a Gratuitous ARP, or GARP for short. GARP is a
    fairly common thing.

    GARP works by populating the cache of systems that will want to talk to
    the system sending the GARP. This works because systems that would send
    to a GARP sender will see the GARP announcement that ${IP} is at ${MAC}
    and will (usually, but not always) update their local ARP cache.

    A white hat use for GARP is when an IP address fails over from one
    router to another router using something like VRRP or HSRP. (I don't
    know if CARP uses GARP or not.)

    A black hat use for GARP is for something like FireSheep and WiFi Pineapple.

    There are LOTS of things that you can do with ARP.

    Interestingly enough, almost none of them work when you use static ARP entries. }:-) -- I don't care how many times you tell me that you are 192.0.2.1 at MAC address 06:00:00:00:06:66 when I happen to know for a
    fact -- because I've been statically configured -- that 192.0.2.1 is at 06:00:00:00:00:01. Also, the fact that you keep trying to tell me that
    you're someone I know that you aren't, is a really big indicator of compromise. Don't forget that the GARP that you are sending to try to
    hook someone is being heard by all network intrusion sensors on the LAN segment. }:-)

    *Yes, I know that NetWare 3.x onward can use TCP/IP, but it didn't
    default to do so until version 5.x.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Tue Apr 9 09:33:10 2024
    From Newsgroup: comp.os.linux.misc

    On Mon, 8 Apr 2024 23:27:28 -0500, Grant Taylor wrote:

    When you use DHCP relay agents, they use the
    DHCP protocol to talk to the DHCP server.

    If DHCP were routable, you wouldn’t need “relay agents”.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Carlos E.R.@robin_listas@es.invalid to comp.os.linux.misc on Tue Apr 9 13:30:22 2024
    From Newsgroup: comp.os.linux.misc

    On 2024-04-09 01:30, Grant Taylor wrote:
    On 4/8/24 03:19, The Natural Philosopher wrote:
    "With conflict detection enabled, the DHCP Server will ping the IP
    address it wants to grant a lease for to make sure no other computers
    are using that IP address. If the ping request receives a reply, the
    server will mark the IP as BAD_ADDRESS. If no response is received,
    the server will assign the IP address to the requesting client...."

    This usually works well enough.  But it breaks down when the system
    using the IP the DHCP server is ping testing refuses to send echo reply responses to the ping.

    If that happens, they deserve the breakage that will happen :-P
    --
    Cheers, Carlos.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Tue Apr 9 13:52:48 2024
    From Newsgroup: comp.os.linux.misc

    Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    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.

    Although a DHCP relay agent is something like an application level
    gateway. It is true that the communication between the relay agent and
    the actual server MAY be Unicast, and is thus routable; the
    communication between DHCP client and relay agent relies on broadcast
    being available.

    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.

    DHCPDISCOVER is broadcast and needs a relay agent if the server is not
    in the same broadcast domain. I am not sure wether the DHCPREQUEST
    that a client uses to renew its lease (even when it's just rebooting)
    is broadcast or not, I would not be surprised if it was.

    I agree that DHCP is almost never routed. But lack of doing something >doesn't mean that it's not possible to do it.

    I think that in realistic deployments, the communiation between relay
    agent and server is probably almost always routed.

    Greetings
    Marc
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Tue Apr 9 13:53:16 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    If DHCP were routable, you wouldn’t need “relay agents”.

    DHCP is obviously a more complex protocol than you think it is.

    Greetings
    Marc
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Tue Apr 9 14:00:18 2024
    From Newsgroup: comp.os.linux.misc

    On 09/04/2024 12:30, Carlos E.R. wrote:
    On 2024-04-09 01:30, Grant Taylor wrote:
    On 4/8/24 03:19, The Natural Philosopher wrote:
    "With conflict detection enabled, the DHCP Server will ping the IP
    address it wants to grant a lease for to make sure no other computers
    are using that IP address. If the ping request receives a reply, the
    server will mark the IP as BAD_ADDRESS. If no response is received,
    the server will assign the IP address to the requesting client...."

    This usually works well enough.  But it breaks down when the system
    using the IP the DHCP server is ping testing refuses to send echo
    reply responses to the ping.

    If that happens, they deserve the breakage that will happen :-P

    If the client does an ARP and gets a clash, then it should refuse the
    DHCP offer.
    I am not sure if the server issues an alternative or not.
    --
    "Fanaticism consists in redoubling your effort when you have
    forgotten your aim."

    George Santayana

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Tue Apr 9 14:01:45 2024
    From Newsgroup: comp.os.linux.misc

    On 09/04/2024 04:54, Lawrence D'Oliveiro wrote:
    On Mon, 8 Apr 2024 09:19:24 +0100, The Natural Philosopher wrote:

    Apparently the use of ping is preferred because a DHCP server *can*
    operate across various routed subdomains.

    No it cannot. How is a client supposed to figure out how routing works to
    get to the DHCP server, if not from info it gets from the DHCP server?

    Broadcast

    If you route broadcasts then all things are possible
    --
    WOKE is an acronym... Without Originality, Knowledge or Education.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Tue Apr 9 18:34:22 2024
    From Newsgroup: comp.os.linux.misc

    On 4/9/24 06:53, Marc Haber wrote:
    DHCP is obviously a more complex protocol than you think it is.
    +2
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Tue Apr 9 18:36:03 2024
    From Newsgroup: comp.os.linux.misc

    On 4/9/24 04:33, Lawrence D'Oliveiro wrote:
    If DHCP were routable, you wouldn’t need “relay agents”.

    DHCP is routable.

    Not all uses of DHCP are routable.

    There is a big difference.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Wed Apr 10 07:05:04 2024
    From Newsgroup: comp.os.linux.misc

    On Tue, 09 Apr 2024 13:53:16 +0200, Marc Haber wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    If DHCP were routable, you wouldn’t need “relay agents”.

    DHCP is obviously a more complex protocol than you think it is.

    Regardless of passive-aggressive innuendo hints to try to distract from
    the discussion at hand, the mere fact that a separate component called “relay agents” needs to be mentioned when I talk about “routability” proves my point.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Wed Apr 10 07:05:50 2024
    From Newsgroup: comp.os.linux.misc

    On Tue, 9 Apr 2024 18:36:03 -0500, Grant Taylor wrote:

    On 4/9/24 04:33, Lawrence D'Oliveiro wrote:

    If DHCP were routable, you wouldn’t need “relay agents”.

    DHCP is routable.

    Not all uses of DHCP are routable.

    What is the point of adding something to make those non-routable uses routable, if the protocol is already supposed to be routable?
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Tauno Voipio@tauno.voipio@notused.fi.invalid to comp.os.linux.misc on Wed Apr 10 10:28:55 2024
    From Newsgroup: comp.os.linux.misc

    On 10.4.2024 10.05, Lawrence D'Oliveiro wrote:
    On Tue, 9 Apr 2024 18:36:03 -0500, Grant Taylor wrote:

    On 4/9/24 04:33, Lawrence D'Oliveiro wrote:

    If DHCP were routable, you wouldn’t need “relay agents”.

    DHCP is routable.

    Not all uses of DHCP are routable.

    What is the point of adding something to make those non-routable uses routable, if the protocol is already supposed to be routable?


    This discussion is in a loop. To break out, get RFC2131 and read it.
    There are plenty of later extensions, findable easily with e.g. Google.
    --

    -TV

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Wed Apr 10 09:52:53 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Tue, 9 Apr 2024 18:36:03 -0500, Grant Taylor wrote:

    On 4/9/24 04:33, Lawrence D'Oliveiro wrote:

    If DHCP were routable, you wouldn’t need “relay agents”.

    DHCP is routable.

    Not all uses of DHCP are routable.

    What is the point of adding something to make those non-routable uses >routable, if the protocol is already supposed to be routable?

    The purpose of DHCP is to bring a new device in the posession of an IP
    address, which is necessary to use IP beyond the local broadcast
    domain.

    Having used DHCP for about 30 years now, and not being a native
    speaker of English, I'm having a hard time to explain that on a novice
    level. I apologize for that.

    What Grant says in <uv4jd3$mj2$2@tncsrv09.home.tnetconsulting.net> is
    probably the best explanation of the thing in this thread.

    EOD now from my part.
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From nospam@nospam@example.net to comp.os.linux.misc on Wed Apr 10 10:02:36 2024
    From Newsgroup: comp.os.linux.misc

    This message is in MIME format. The first part should be readable text,
    while the remaining parts are likely unreadable without MIME-aware tools.

    --8323328-1063391095-1712736158=:13976
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT



    On Wed, 10 Apr 2024, Tauno Voipio wrote:

    On 10.4.2024 10.05, Lawrence D'Oliveiro wrote:
    On Tue, 9 Apr 2024 18:36:03 -0500, Grant Taylor wrote:

    On 4/9/24 04:33, Lawrence D'Oliveiro wrote:

    If DHCP were routable, you wouldn’t need “relay agents”.

    DHCP is routable.

    Not all uses of DHCP are routable.

    What is the point of adding something to make those non-routable uses
    routable, if the protocol is already supposed to be routable?


    This discussion is in a loop. To break out, get RFC2131 and read it.
    There are plenty of later extensions, findable easily with e.g. Google.

    Note that a loop in this context, in itself, is not necessarily a bad
    thing. It could very well be that the participants enjoy the loop and the
    rush of pleasant emotions due to being right until the next message
    arrives. In that context, the RFC would be counter productive to the
    beautiful dance they are engaged in.
    --8323328-1063391095-1712736158=:13976--
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Wed Apr 10 09:07:33 2024
    From Newsgroup: comp.os.linux.misc

    On 4/10/24 02:05, Lawrence D'Oliveiro wrote:
    What is the point of adding something to make those non-routable uses routable, if the protocol is already supposed to be routable?

    What is the point of handing someone a microphone in conference so that
    others further away can hear them? Does handing them a microphone
    change what they are saying?

    The purpose of DHCP relay / helper agents is to take the DHCP packet
    which is using non-routable source (0.0.0.0) and destination (255.255.255.255.) and send send / proxy them to the DHCP server using routable source (relay) and destination (remote DHCP server).

    The only other modification that I'm aware that a DHCP relay / helper
    does is add an additional field to identify the the relay / helper and
    the source client's MAC address in the outgoing DHCP packet. The rest
    of the contents of the DHCP packet is substantively unmodified.

    What's more is that the DHCP packet format (the unit the protocol speaks
    in) is the same for both use cases, client <-> relay as well as relay
    <-> server.

    If a child picks up a basket of toys but can't reach the shelf, does the basket of toys change when an adult takes the basket and places it on
    the shelf for the child? Does adding the child's name to the front of
    the basket alter the basket contents? No, and no, tt is still the same
    basket of toys.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Thu Apr 11 11:29:07 2024
    From Newsgroup: comp.os.linux.misc

    Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    The only other modification that I'm aware that a DHCP relay / helper
    does is add an additional field to identify the the relay / helper and
    the source client's MAC address in the outgoing DHCP packet. The rest
    of the contents of the DHCP packet is substantively unmodified.

    The server needs information about the client, to reassign its old
    lease or to hand out its reserved IP address, and in which LAN segment
    the booting client is connected to choose the correct pool. Yes.

    Greetings
    Marc
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Fri Apr 12 23:50:55 2024
    From Newsgroup: comp.os.linux.misc

    On Wed, 10 Apr 2024 09:07:33 -0500, Grant Taylor wrote:

    What is the point of handing someone a microphone in conference so that others further away can hear them?

    It’s certainly not an IQ booster, that’s for sure.

    -1 for spurious argument by analogy.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Fri Apr 12 23:57:55 2024
    From Newsgroup: comp.os.linux.misc

    On Wed, 10 Apr 2024 10:28:55 +0300, Tauno Voipio wrote:

    To break out, get RFC2131 and read it.

    Here we go <https://datatracker.ietf.org/doc/html/rfc2131>:

    * Client sends out DHCPDISCOVER. The only IP address involved is the
    local-net broadcast address, 255.255.255.255, which is non-routable.
    * Server responds with DHCPOFFER. Since there is no IP address it can
    route this response to, it, too, is non-routable.
    * The client may send out ARP broadcasts to ensure nobody else has already claimed the offered address.
    * The client accepts an offered address with DHCPREQUEST, which, again, is sent to the (non-routable) broadcast address.
    * The server responds with DHCPACK or DHCPNAK.

    Remember, the client’s IP stack can not be considered to be fully operational until after all these steps have been completed.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Fri Apr 12 20:22:33 2024
    From Newsgroup: comp.os.linux.misc

    On 4/12/24 18:57, Lawrence D'Oliveiro wrote:
    Remember, the client’s IP stack can not be considered to be fully operational until after all these steps have been completed.

    So what.

    What you just described is what I said about using 0.0.0.0 and
    255.255.255.255 and the fact that those addresses are not routable.

    There are other aspects of DHCP that are routable. Like a DHCP helper /
    relay agent using the DHCP protocol to communicate with a remote DHCP
    server, or when clients use the IP they previously received via a DHCP
    helper / relay agent to communicate directly with said remote DHCP server.

    How the DHCP protocol is being used doesn't mean that the DHCP protocol
    is unroutable. Especially when the same DHCP protocol is used in a
    routed manner other times.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Sat Apr 13 03:26:32 2024
    From Newsgroup: comp.os.linux.misc

    On Mon, 8 Apr 2024 23:30:04 -0500, Grant Taylor wrote:

    ... using the DHCP protocol across a routed network.

    DHCP does not route. Somebody suggested looking at the actual RFC, which I have done elsewhere. You should do it too.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Sat Apr 13 03:26:56 2024
    From Newsgroup: comp.os.linux.misc

    On Tue, 9 Apr 2024 14:01:45 +0100, The Natural Philosopher wrote:

    Broadcast

    If you route broadcasts then all things are possible

    The broadcast used in DHCP is 255.255.255.255, which is by definition not routable.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Sat Apr 13 03:27:41 2024
    From Newsgroup: comp.os.linux.misc

    On Tue, 9 Apr 2024 14:00:18 +0100, The Natural Philosopher wrote:

    I am not sure if the server issues an alternative or not.

    The obvious answer is, it does if it has one, otherwise it doesn’t.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Sat Apr 13 03:28:43 2024
    From Newsgroup: comp.os.linux.misc

    On Fri, 12 Apr 2024 20:22:33 -0500, Grant Taylor wrote:

    There are other aspects of DHCP that are routable. Like a DHCP helper / relay agent using the DHCP protocol to communicate with a remote DHCP
    server ...

    DHCP is not routable, otherwise it wouldn’t need a helper to route it.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Sat Apr 13 03:30:01 2024
    From Newsgroup: comp.os.linux.misc

    On Mon, 8 Apr 2024 23:42:48 -0500, Grant Taylor wrote:

    On 4/8/24 23:00, Lawrence D'Oliveiro wrote:

    Like DECnet? But then you had to have a fixed relationship between your
    MAC address and your DECnet address.

    Similar, but definitely not the same.

    I didn’t say “same”.

    As in there was a direct algorithmic mapping between them.

    So how would you run two simultaneous protocol stacks, each requiring its
    own “algorithmic mapping” between MAC address and layer-3 address?
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Sat Apr 13 03:31:07 2024
    From Newsgroup: comp.os.linux.misc

    On Mon, 8 Apr 2024 23:51:21 -0500, Grant Taylor wrote:

    It's actually called a Gratuitous ARP, or GARP for short. GARP is a
    fairly common thing.

    Ah. The World According To ...

    .. never mind.

    (RIP Robin Williams.)
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sat Apr 13 00:40:12 2024
    From Newsgroup: comp.os.linux.misc

    On 4/12/24 22:26, Lawrence D'Oliveiro wrote:
    The broadcast used in DHCP is 255.255.255.255, which is by definition not routable.

    That's not the only (destination) address that DHCP uses.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sat Apr 13 00:42:38 2024
    From Newsgroup: comp.os.linux.misc

    On 4/12/24 22:30, Lawrence D'Oliveiro wrote:
    So how would you run two simultaneous protocol stacks, each requiring its
    own “algorithmic mapping” between MAC address and layer-3 address?

    I was referring to the MAC address DECnet uses and the DECnet address.
    There is an algorithmic relation ship between the MAC address a DECnet
    station uses and it's DECnet address.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sat Apr 13 00:54:11 2024
    From Newsgroup: comp.os.linux.misc

    On 4/12/24 22:28, Lawrence D'Oliveiro wrote:
    DHCP is not routable, otherwise it wouldn’t need a helper to route it.

    Yes, DHCP is routable.

    Check out the very bottom graphic of the following URL:

    https://support.huawei.com/enterprise/en/doc/EDOC1100112351/4b2f29de/how-a-dhcp-client-renews-its-ip-address-lease

    Notice how the client sends a DHCP renew request to the DHCP server, not
    the DHCP relay agent. It does this across a routed network.

    The DHCP relay agent is only needed when the DHCP client doesn't have a
    valid IP address and / or sends to the broadcast address.

    When the client does have a valid IP address it uses routed unicast to
    talk to the DHCP server using the very same DHCP protocol.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Sat Apr 13 09:39:27 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Fri, 12 Apr 2024 20:22:33 -0500, Grant Taylor wrote:
    There are other aspects of DHCP that are routable. Like a DHCP helper /
    relay agent using the DHCP protocol to communicate with a remote DHCP
    server ...

    DHCP is not routable, otherwise it wouldn’t need a helper to route it.

    Repeating this doesnt make it right.
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Sat Apr 13 09:04:55 2024
    From Newsgroup: comp.os.linux.misc

    On 13/04/2024 04:26, Lawrence D'Oliveiro wrote:
    On Tue, 9 Apr 2024 14:01:45 +0100, The Natural Philosopher wrote:

    Broadcast

    If you route broadcasts then all things are possible

    The broadcast used in DHCP is 255.255.255.255, which is by definition not routable.

    It is routable.

    It's an 'all stations' broadcast.

    You may choose not to route it, but that is not inherent in its qualities.
    --
    For in reason, all government without the consent of the governed is the
    very definition of slavery.

    Jonathan Swift


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Mon Apr 15 00:41:54 2024
    From Newsgroup: comp.os.linux.misc

    On Sat, 13 Apr 2024 09:04:55 +0100, The Natural Philosopher wrote:

    On 13/04/2024 04:26, Lawrence D'Oliveiro wrote:

    The broadcast used in DHCP is 255.255.255.255, which is by definition
    not routable.

    It is routable.

    It's an 'all stations' broadcast.

    You need to go read some basic TCP/IP docs. Would you like me to point you
    at some?
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Mon Apr 15 00:42:25 2024
    From Newsgroup: comp.os.linux.misc

    On Sat, 13 Apr 2024 00:40:12 -0500, Grant Taylor wrote:

    On 4/12/24 22:26, Lawrence D'Oliveiro wrote:

    The broadcast used in DHCP is 255.255.255.255, which is by definition
    not routable.

    That's not the only (destination) address that DHCP uses.

    It can’t use any other, because remember, the client doesn’t have an address that anybody can use, at this point.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Mon Apr 15 00:45:14 2024
    From Newsgroup: comp.os.linux.misc

    On Sat, 13 Apr 2024 09:39:27 +0200, Marc Haber wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    DHCP is not routable, otherwise it wouldn’t need a helper to route it.

    Repeating this doesnt make it right.

    I went through the details of RFC2131 in another posting. Go read it (the
    RFC and my posting).
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Mon Apr 15 00:46:28 2024
    From Newsgroup: comp.os.linux.misc

    On Sat, 13 Apr 2024 00:42:38 -0500, Grant Taylor wrote:

    I was referring to the MAC address DECnet uses and the DECnet address.
    There is an algorithmic relation ship between the MAC address a DECnet station uses and it's DECnet address.

    So how would you run two simultaneous protocol stacks, each requiring
    its own “algorithmic relationship” between MAC address and layer-3 address?
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Mon Apr 15 00:47:57 2024
    From Newsgroup: comp.os.linux.misc

    On Sat, 13 Apr 2024 00:54:11 -0500, Grant Taylor wrote:

    Notice how the client sends a DHCP renew request to the DHCP server, not
    the DHCP relay agent. It does this across a routed network.

    The only reason the relay agent is needed is because DHCP itself is not routable.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sun Apr 14 20:13:58 2024
    From Newsgroup: comp.os.linux.misc

    On 4/14/24 19:47, Lawrence D'Oliveiro wrote:
    The only reason the relay agent is needed is because DHCP itself is not routable.

    You're still wrong, on multiple accounts.

    The DHCP agent is needed because at the time the client sends a DHCP
    DISCOVER it's using 0.0.0.0 as it's source and sending to
    255.255.255.255, which are not routed IPs.

    And DHCP is routable, as I and others have told you.

    I'm done telling you and going to start treating you like a troll.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sun Apr 14 20:15:32 2024
    From Newsgroup: comp.os.linux.misc

    On 4/14/24 19:42, Lawrence D'Oliveiro wrote:
    It can’t use any other, because remember, the client doesn’t have an address that anybody can use, at this point.

    As I've told you multiple times, when a DHCP client /renews/ it's lease,
    it has a valid IP address and can use that to talk to the DHCP server on
    a remote subnet using standard DHCP protocol.

    DHCP can be routed.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.os.linux.misc on Mon Apr 15 02:08:09 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Sat, 13 Apr 2024 09:39:27 +0200, Marc Haber wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    DHCP is not routable, otherwise it wouldn’t need a helper to route it.

    Repeating this doesnt make it right.

    I went through the details of RFC2131 in another posting. Go read it (the RFC and my posting).

    And, yet, you seem to have missed this statement from the RFC:

    https://www.rfc-editor.org/rfc/rfc2131 - page 6:

    DHCP should not require a server on each subnet. To allow for
    scale and economy, DHCP must work across routers or through the
    intervention of BOOTP relay agents.

    Note they use "must" above in the statement "DHCP must work across
    routers". Page 4 defines "must" as:

    o "MUST"

    This word or the adjective "REQUIRED" means that the item is an
    absolute requirement of this specification.

    Therefore the RFC explicitly allows for DHCP to be routed.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sun Apr 14 21:40:43 2024
    From Newsgroup: comp.os.linux.misc

    On 4/14/24 21:08, Rich wrote:
    Therefore the RFC explicitly allows for DHCP to be routed.

    Nice find Rich. :-)
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Mon Apr 15 08:01:12 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Sat, 13 Apr 2024 00:40:12 -0500, Grant Taylor wrote:

    On 4/12/24 22:26, Lawrence D'Oliveiro wrote:

    The broadcast used in DHCP is 255.255.255.255, which is by definition
    not routable.

    That's not the only (destination) address that DHCP uses.

    It can’t use any other, because remember, the client doesn’t have an >address that anybody can use, at this point.

    "This point" being the start of the protocol. You should look beyond
    the initial exchange.
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Nuno Silva@nunojsilva@invalid.invalid to comp.os.linux.misc on Mon Apr 15 07:50:53 2024
    From Newsgroup: comp.os.linux.misc

    On 2024-04-15, Lawrence D'Oliveiro wrote:

    On Sat, 13 Apr 2024 09:04:55 +0100, The Natural Philosopher wrote:

    On 13/04/2024 04:26, Lawrence D'Oliveiro wrote:

    The broadcast used in DHCP is 255.255.255.255, which is by definition
    not routable.

    It is routable.

    It's an 'all stations' broadcast.

    You need to go read some basic TCP/IP docs. Would you like me to point you at some?

    Why does it get called "TCP/IP" so often? What is the origin of that
    name?

    These are two different protocols for different layers and that name
    does not include, say, UDP.
    --
    Nuno Silva
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Mon Apr 15 08:51:01 2024
    From Newsgroup: comp.os.linux.misc

    On 4/15/24 01:50, Nuno Silva wrote:
    Why does it get called "TCP/IP" so often? What is the origin of
    that name?

    That's at lease partially becuase IPv1-3 was a single protocol. There
    was lots of debating going on during the development of IPv1-3 for the
    raw point to point that IP provides and in order delivery circuit that
    TCP provides. It was part way through the development that the realized
    that they could split IP into two layers TCP for end-to-end / in-order delivery and IP for point to point connectivity that other protocols
    could use.

    These are two different protocols for different layers and that name
    does not include, say, UDP.

    IPv1-3 was split into TCP/IPv4. TCP was the first protocol that ran on
    top of IPv4. I think part of the reason for the split name was to
    emphasize the split protocol design.

    I think UDP was officially documented within a year of TCP/IPv4 being documented. But the progenitor of UDP existed before TCP/IPv4 was
    documented. Experiments were ongoing with the parts of IPv3 that became UDP/IP. Some of the experiments were for voice transmission.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Wed Apr 17 03:17:59 2024
    From Newsgroup: comp.os.linux.misc

    On Mon, 15 Apr 2024 02:08:09 -0000 (UTC), Rich wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    I went through the details of RFC2131 in another posting. Go read it
    (the RFC and my posting).

    And, yet, you seem to have missed this statement from the RFC:

    https://www.rfc-editor.org/rfc/rfc2131 - page 6:

    DHCP should not require a server on each subnet. To allow for
    scale and economy, DHCP must work across routers or through the
    intervention of BOOTP relay agents.

    No, I didn’t miss it at all. It’s listed under “design goals”, not actually under how the spec works.

    By definition such a protocol cannot work across routers, because clients don’t know what routers are available until a DHCP server tells them.

    Is there a section that describes which of the “design goals” were actually met?
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Thu Apr 18 22:14:27 2024
    From Newsgroup: comp.os.linux.misc

    On Mon, 15 Apr 2024 08:01:12 +0200, Marc Haber wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    On Sat, 13 Apr 2024 00:40:12 -0500, Grant Taylor wrote:

    On 4/12/24 22:26, Lawrence D'Oliveiro wrote:

    The broadcast used in DHCP is 255.255.255.255, which is by definition
    not routable.

    That's not the only (destination) address that DHCP uses.

    It can’t use any other, because remember, the client doesn’t have an >>address that anybody can use, at this point.

    "This point" being the start of the protocol. You should look beyond
    the initial exchange.

    Once the protocol has done its thing, the client can do routable things.

    At that point, it can stop worrying about DHCP for now.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Thu Apr 18 22:15:26 2024
    From Newsgroup: comp.os.linux.misc

    On Sun, 14 Apr 2024 20:13:58 -0500, Grant Taylor wrote:

    The DHCP agent is needed ...
    And DHCP is routable ...

    Routable protocols get through routers without the help of special “agents”.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Thu Apr 18 22:16:32 2024
    From Newsgroup: comp.os.linux.misc

    On Sun, 14 Apr 2024 20:15:32 -0500, Grant Taylor wrote:

    .. when a DHCP client /renews/ it's lease,
    it has a valid IP address and can use that to talk to the DHCP server on
    a remote subnet using standard DHCP protocol.

    Why would it need to? The DHCP server is on the same subnet, otherwise the client could not have got that address in the first place.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.os.linux.misc on Fri Apr 19 01:55:18 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Mon, 15 Apr 2024 08:01:12 +0200, Marc Haber wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    On Sat, 13 Apr 2024 00:40:12 -0500, Grant Taylor wrote:

    On 4/12/24 22:26, Lawrence D'Oliveiro wrote:

    The broadcast used in DHCP is 255.255.255.255, which is by definition >>>>> not routable.

    That's not the only (destination) address that DHCP uses.

    It can’t use any other, because remember, the client doesn’t have an >>>address that anybody can use, at this point.

    "This point" being the start of the protocol. You should look beyond
    the initial exchange.

    Once the protocol has done its thing, the client can do routable things.

    At that point, it can stop worrying about DHCP for now.

    RFC2131: https://www.rfc-editor.org/rfc/rfc2131 - page 6:

    DHCP should not require a server on each subnet. To allow for
    scale and economy, DHCP must work across routers or through the
    intervention of BOOTP relay agents.

    Note they use "must" above in the statement "DHCP must work across
    routers". Page 4 defines "must" as:

    o "MUST"

    This word or the adjective "REQUIRED" means that the item is an
    absolute requirement of this specification.

    Therefore the RFC explicitly allows for DHCP to be routed.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Thu Apr 18 22:07:48 2024
    From Newsgroup: comp.os.linux.misc

    On 4/18/24 17:14, Lawrence D'Oliveiro wrote:
    At that point, it can stop worrying about DHCP for now.

    Quantify "for now".

    Because a DHCP client can't forget about DHCP until it shuts down. The
    DHCP client MUST renew the lease or loose the lease when it expires.

    The DHCP client can do that perfectly fine through routers without a
    DHCP / BOOTP helper.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Fri Apr 19 07:23:27 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Sun, 14 Apr 2024 20:13:58 -0500, Grant Taylor wrote:

    The DHCP agent is needed ...
    And DHCP is routable ...

    Routable protocols get through routers without the help of special >“agents”.

    The unicast part¹ of DHCP gets through a router just fine without
    agent.

    Greetings
    Marc

    ¹ which is about 80 % of the protocol
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Fri Apr 19 07:26:05 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Sun, 14 Apr 2024 20:15:32 -0500, Grant Taylor wrote:

    .. when a DHCP client /renews/ it's lease,
    it has a valid IP address and can use that to talk to the DHCP server on
    a remote subnet using standard DHCP protocol.

    Why would it need to? The DHCP server is on the same subnet, otherwise the >client could not have got that address in the first place.

    For the unmpteenth time: You don't know enough about DHCP to be a
    member of a fruitful discussion about that protocol.

    The fact that YOUR DHCP server is on the same subnet of your
    residential one-subnet setup does NOT mean that this is the case for
    all DHCP deployments.
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Fri Apr 19 10:47:44 2024
    From Newsgroup: comp.os.linux.misc

    On 18/04/2024 23:16, Lawrence D'Oliveiro wrote:
    On Sun, 14 Apr 2024 20:15:32 -0500, Grant Taylor wrote:

    .. when a DHCP client /renews/ it's lease,
    it has a valid IP address and can use that to talk to the DHCP server on
    a remote subnet using standard DHCP protocol.

    Why would it need to? The DHCP server is on the same subnet, otherwise the client could not have got that address in the first place.
    Sigh. Simply not true.

    DHCP servers can serve multiple local subnets

    The key is that the routers between each subnet and the DHCP machine
    need to be told to route DHCP *in some way*.
    --
    Karl Marx said religion is the opium of the people.
    But Marxism is the crack cocaine.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Fri Apr 19 09:10:53 2024
    From Newsgroup: comp.os.linux.misc

    On 4/19/24 00:26, Marc Haber wrote:
    The fact that YOUR DHCP server is on the same subnet of your
    residential one-subnet setup does NOT mean that this is the case for
    all DHCP deployments.

    I absolutely agree. Though it is proportionally probably one of the
    most common configurations. Considering all of the SOHO networks in the world.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Fri Apr 19 09:15:59 2024
    From Newsgroup: comp.os.linux.misc

    Minor nit-pick.

    I think we need to agree on what "local" means in T.N.P.'s use.

    On 4/19/24 04:47, The Natural Philosopher wrote:
    DHCP servers can serve multiple local subnets

    Yes, DHCP servers can easily server multiple /locally/ /attached/
    subnets. As in multiple physical interfaces and / or multiple logical
    VLAN interfaces. Wherein the DHCP server is in the same broadcast
    domain as the DHCP client.

    The key is that the routers between each subnet and the DHCP machine
    need to be told to route DHCP in some way.

    I would consider those to be remote subnets as they are not /locally/ /attached/ to the DHCP server. Meaning the DHCP server is not directly participating in the broadcast domain.

    DHCP servers can easily serve multiple /remote/ subnets.

    Being in the layer 2 broadcast domain means that everybody smells it
    when somebody farts for a browse maser election on the other side of the
    room.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.os.linux.misc on Fri Apr 19 15:16:35 2024
    From Newsgroup: comp.os.linux.misc

    Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    On 4/19/24 00:26, Marc Haber wrote:
    The fact that YOUR DHCP server is on the same subnet of your
    residential one-subnet setup does NOT mean that this is the case for
    all DHCP deployments.

    I absolutely agree. Though it is proportionally probably one of the
    most common configurations. Considering all of the SOHO networks in the world.

    Agreed, the number of DHCP servers that exist only on the same subnet
    as their clients likely dwarfs the count of those that serve plural
    subnets across one or more routers.

    However our local art-student's binary thinking prevents him from understanding that "by far the most common configuration" is not in any
    way equal to "all possible configurations".
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Sat Apr 20 00:21:35 2024
    From Newsgroup: comp.os.linux.misc

    On Fri, 19 Apr 2024 07:23:27 +0200, Marc Haber wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    On Sun, 14 Apr 2024 20:13:58 -0500, Grant Taylor wrote:

    The DHCP agent is needed ...
    And DHCP is routable ...

    Routable protocols get through routers without the help of special >>“agents”.

    The unicast part¹ of DHCP gets through a router just fine without agent.

    Get through to what? What is there on the other side of a router, that didn’t need to be involved in the rest of the exchange?

    ¹ which is about 80 % of the protocol

    Ah, I see now: you are all really talking about this “80% DHCP” or “discount DHCP” or “20%-off DHCP”, aren’t you. While the rest of us were
    talking about “proper DHCP” or “fully-implemented DHCP” or “DHCP according
    to the spec”.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Sat Apr 20 00:22:51 2024
    From Newsgroup: comp.os.linux.misc

    On Fri, 19 Apr 2024 07:26:05 +0200, Marc Haber wrote:

    You don't know enough about DHCP to be a member of a fruitful discussion about that protocol.

    I have already referred to the actual spec, you have not. So I think that criticism applies more to you than me.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Sat Apr 20 00:24:28 2024
    From Newsgroup: comp.os.linux.misc

    On Fri, 19 Apr 2024 10:47:44 +0100, The Natural Philosopher wrote:

    The key is that the routers between each subnet and the DHCP machine
    need to be told to route DHCP *in some way*.

    Finally, an admission that routability is something that has to be added
    via a special tunnelling mechanism, it is not part of the actual protocol.

    Thank you for admitting what some other parties still refuse to say.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.os.linux.misc on Sat Apr 20 03:50:30 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Fri, 19 Apr 2024 07:23:27 +0200, Marc Haber wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    On Sun, 14 Apr 2024 20:13:58 -0500, Grant Taylor wrote:

    The DHCP agent is needed ...
    And DHCP is routable ...

    Routable protocols get through routers without the help of special >>>“agents”.

    The unicast part¹ of DHCP gets through a router just fine without agent.

    Get through to what? What is there on the other side of a router, that didn’t need to be involved in the rest of the exchange?

    ¹ which is about 80 % of the protocol

    Ah, I see now: you are all really talking about this “80% DHCP” or “discount DHCP” or “20%-off DHCP”, aren’t you. While the rest of us were
    talking about “proper DHCP” or “fully-implemented DHCP” or “DHCP according
    to the spec”.

    We are talking about the *full* spec, you, however, are only talking
    about the initial IP allocation. There's much more to DHCP than just
    initial IP address allocations.

    And, the protocol "must" be routable:

    RFC2131: https://www.rfc-editor.org/rfc/rfc2131 - page 6:

    DHCP should not require a server on each subnet. To allow for
    scale and economy, DHCP must work across routers or through the
    intervention of BOOTP relay agents.

    Note they use "must" above in the statement "DHCP must work across
    routers". Page 4 defines "must" as:

    o "MUST"

    This word or the adjective "REQUIRED" means that the item is an
    absolute requirement of this specification.

    Therefore the RFC explicitly allows for DHCP to be routed.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.os.linux.misc on Sat Apr 20 03:51:46 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Fri, 19 Apr 2024 10:47:44 +0100, The Natural Philosopher wrote:

    The key is that the routers between each subnet and the DHCP machine
    need to be told to route DHCP *in some way*.

    Finally, an admission that routability is something that has to be added
    via a special tunnelling mechanism, it is not part of the actual protocol.

    Thank you for admitting what some other parties still refuse to say.

    RFC2131: https://www.rfc-editor.org/rfc/rfc2131 - page 6:

    DHCP should not require a server on each subnet. To allow for
    scale and economy, DHCP must work across routers or through the
    intervention of BOOTP relay agents.

    Note they use "must" above in the statement "DHCP must work across
    routers". Page 4 defines "must" as:

    o "MUST"

    This word or the adjective "REQUIRED" means that the item is an
    absolute requirement of this specification.

    Therefore the RFC explicitly allows for DHCP to be routed.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.os.linux.misc on Sat Apr 20 04:06:18 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Fri, 19 Apr 2024 07:26:05 +0200, Marc Haber wrote:

    You don't know enough about DHCP to be a member of a fruitful discussion
    about that protocol.

    I have already referred to the actual spec, you have not. So I think that criticism applies more to you than me.

    Plural posters on the group here assert that DHCP is routable.

    You, alone, assert, that it is not.

    I have supplied an actual quote *from RFC2131* that states that DHCP
    *must work across routers* (i.e., that it "be routable").

    Please supply any quote from RFC2131, or any other RFC, that supports
    your assertion.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Sat Apr 20 08:12:31 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Fri, 19 Apr 2024 07:23:27 +0200, Marc Haber wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    On Sun, 14 Apr 2024 20:13:58 -0500, Grant Taylor wrote:

    The DHCP agent is needed ...
    And DHCP is routable ...

    Routable protocols get through routers without the help of special >>>“agents”.

    The unicast part¹ of DHCP gets through a router just fine without agent.

    Get through to what? What is there on the other side of a router, that >didn’t need to be involved in the rest of the exchange?

    Please get yourself familiarized with the protocol before you continue
    talking about it.
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Sat Apr 20 08:15:34 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Fri, 19 Apr 2024 07:26:05 +0200, Marc Haber wrote:
    You don't know enough about DHCP to be a member of a fruitful discussion
    about that protocol.

    I have already referred to the actual spec, you have not.

    Other people have. Google DHCP RFC. There surely is other
    documentation available that shows communication diagrams and outlines
    which parts of the exchange are broadcast (and thus need an agent to
    cross broadcast domain boundaries) and which parts are unicast (to
    which boring IP routing applies).

    So I think that
    criticism applies more to you than me.

    My life is too short to explain a complex protocol to a person who
    suffers from knowledge resistance ("Lernresistenz" in my language).

    Greetings
    Marc
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Sat Apr 20 08:18:28 2024
    From Newsgroup: comp.os.linux.misc

    Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    On 4/19/24 04:47, The Natural Philosopher wrote:
    DHCP servers can serve multiple local subnets

    Yes, DHCP servers can easily server multiple /locally/ /attached/
    subnets. As in multiple physical interfaces and / or multiple logical
    VLAN interfaces. Wherein the DHCP server is in the same broadcast
    domain as the DHCP client.

    The don't need to be if a DHCP agent is available. DHCP agents are
    considerably easier to implement AND don't need persistent state. They
    can just be implemented in "less intellgent" network devices. This
    also considerably eases exchange of defective devices since you don't
    lose state unless it's the DHCP server itself that is exchanged.

    The key is that the routers between each subnet and the DHCP machine
    need to be told to route DHCP in some way.

    I would consider those to be remote subnets as they are not /locally/ >/attached/ to the DHCP server. Meaning the DHCP server is not directly >participating in the broadcast domain.

    DHCP servers can easily serve multiple /remote/ subnets.

    Being in the layer 2 broadcast domain means that everybody smells it
    when somebody farts for a browse maser election on the other side of the >room.

    That is unneccesarily confusing, DHCP has nothing to do with browse
    master elections. I surely hope that Windows doesn't do those any
    more.

    Greetings
    Marc
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Sat Apr 20 08:18:57 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Fri, 19 Apr 2024 10:47:44 +0100, The Natural Philosopher wrote:
    The key is that the routers between each subnet and the DHCP machine
    need to be told to route DHCP *in some way*.

    Finally, an admission that routability is something that has to be added
    via a special tunnelling mechanism, it is not part of the actual protocol.

    Thank you for admitting what some other parties still refuse to say.

    You're reasoning is flawed.
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Richard Kettlewell@invalid@invalid.invalid to comp.os.linux.misc on Sat Apr 20 08:58:01 2024
    From Newsgroup: comp.os.linux.misc

    Rich <rich@example.invalid> writes:
    And, the protocol "must" be routable:

    RFC2131: https://www.rfc-editor.org/rfc/rfc2131 - page 6:

    DHCP should not require a server on each subnet. To allow for
    scale and economy, DHCP must work across routers or through the
    intervention of BOOTP relay agents.

    Note they use "must" above in the statement "DHCP must work across
    routers". Page 4 defines "must" as:

    o "MUST"

    This word or the adjective "REQUIRED" means that the item is an
    absolute requirement of this specification.

    You missed a bit:

    Throughout this document, the words that are used to define the
    significance of particular requirements are capitalized. These words
    ^^^^^^^^^^^
    are:


    The ‘must’ in the design goals is not capitalized.

    Therefore the RFC explicitly allows for DHCP to be routed.

    A protocol is not its design goals. You can’t conclude that a protocol actually achieves a goal just by looking at the what the goals were. A
    good recent example would be SIKE, which totally failed to meet its
    design goals.

    I don’t personally care how DHCP gets across routers but from a quick
    skim it looks like it relies some kind of relay agent. Table 1 or
    section 3.1 might be reasonable references.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From nospam@nospam@example.net to comp.os.linux.misc on Sat Apr 20 12:37:24 2024
    From Newsgroup: comp.os.linux.misc



    On Sat, 20 Apr 2024, Rich wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Fri, 19 Apr 2024 07:26:05 +0200, Marc Haber wrote:

    You don't know enough about DHCP to be a member of a fruitful discussion >>> about that protocol.

    I have already referred to the actual spec, you have not. So I think that
    criticism applies more to you than me.

    Plural posters on the group here assert that DHCP is routable.

    You, alone, assert, that it is not.

    I have supplied an actual quote *from RFC2131* that states that DHCP
    *must work across routers* (i.e., that it "be routable").

    Please supply any quote from RFC2131, or any other RFC, that supports
    your assertion.

    I'm no DHCP ninja, so please forgive my ignorance, but wouldn't it be
    possible to just setup a test to prove who the winner is? Or is it the
    case that different DHCP server/client software is implemented differently
    so it might work with some and not others, and that that is the heart of
    the conflict?
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Sat Apr 20 13:54:05 2024
    From Newsgroup: comp.os.linux.misc

    Richard Kettlewell <invalid@invalid.invalid> wrote:
    I don’t personally care how DHCP gets across routers but from a quick
    skim it looks like it relies some kind of relay agent. Table 1 or
    section 3.1 might be reasonable references.

    DHCP uses both broadcast and unicast communication. Broadcast is
    mainly used in stages where the client system does not yet have a
    valid IP address and thus cannot use unicast.

    For the broadcast part of the protocol, a relay agent is needed when
    the DHCP server does not have access to the broadcast domain the
    client is connected to.

    As soon as the client can speak proper IP, it communicates directly
    with the DHCP server, this part of communication relys on regular IP
    routing and does not need the relay agent any more.

    Greetings
    Marc
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Sat Apr 20 13:24:36 2024
    From Newsgroup: comp.os.linux.misc

    On 20/04/2024 11:37, D wrote:

    I'm no DHCP ninja, so please forgive my ignorance, but wouldn't it be possible to just setup a test to prove who the winner is? Or is it the
    case that different DHCP server/client software is implemented
    differently so it might work with some and not others, and that that is
    the heart of the conflict?

    Honestly, who cares?
    DHCP is used in big corporate setups across many subdomains. The
    subdomains are connected by routers. The routers pass DHCP across. The
    fact that someone calls that a 'relay agent' is as weird as saying a
    router is an IP 'relay agent'.

    I am not really interested in a willy waving competiton with someone who
    knows the world always conforms to their conception of it, never the
    other way round.
    --
    "A point of view can be a dangerous luxury when substituted for insight
    and understanding".

    Marshall McLuhan


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Sat Apr 20 13:26:15 2024
    From Newsgroup: comp.os.linux.misc

    On 20/04/2024 01:24, Lawrence D'Oliveiro wrote:
    On Fri, 19 Apr 2024 10:47:44 +0100, The Natural Philosopher wrote:

    The key is that the routers between each subnet and the DHCP machine
    need to be told to route DHCP *in some way*.

    Finally, an admission that routability is something that has to be added
    via a special tunnelling mechanism, it is not part of the actual protocol.

    No, its part of a normal highe end routers capability


    Thank you for admitting what some other parties still refuse to say.

    I habvent admitted anything .

    A router *is* "a special tunnelling mechanism", not part of the actual protocol" for IP.
    And its NOT tunnelling.
    --
    “People believe certain stories because everyone important tells them,
    and people tell those stories because everyone important believes them. Indeed, when a conventional wisdom is at its fullest strength, one’s agreement with that conventional wisdom becomes almost a litmus test of one’s suitability to be taken seriously.”

    Paul Krugman

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Sat Apr 20 13:28:10 2024
    From Newsgroup: comp.os.linux.misc

    On 20/04/2024 12:54, Marc Haber wrote:
    Richard Kettlewell <invalid@invalid.invalid> wrote:
    I don’t personally care how DHCP gets across routers but from a quick
    skim it looks like it relies some kind of relay agent. Table 1 or
    section 3.1 might be reasonable references.

    DHCP uses both broadcast and unicast communication. Broadcast is
    mainly used in stages where the client system does not yet have a
    valid IP address and thus cannot use unicast.

    For the broadcast part of the protocol, a relay agent is needed when
    the DHCP server does not have access to the broadcast domain the
    client is connected to.

    As soon as the client can speak proper IP, it communicates directly
    with the DHCP server, this part of communication relys on regular IP
    routing and does not need the relay agent any more.

    Greetings
    Marc

    The so called 'relay agent' is simply part of what high end routers DO.
    A router is itself a 'relay agent'
    --
    “People believe certain stories because everyone important tells them,
    and people tell those stories because everyone important believes them. Indeed, when a conventional wisdom is at its fullest strength, one’s agreement with that conventional wisdom becomes almost a litmus test of one’s suitability to be taken seriously.”

    Paul Krugman

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marco Moock@mm+usenet-es@dorfdsl.de to comp.os.linux.misc on Sat Apr 20 17:12:19 2024
    From Newsgroup: comp.os.linux.misc

    On 20.04.2024 um 13:28 Uhr The Natural Philosopher wrote:
    On 20/04/2024 12:54, Marc Haber wrote:
    Richard Kettlewell <invalid@invalid.invalid> wrote:
    I don’t personally care how DHCP gets across routers but from a
    quick skim it looks like it relies some kind of relay agent. Table
    1 or section 3.1 might be reasonable references.

    DHCP uses both broadcast and unicast communication. Broadcast is
    mainly used in stages where the client system does not yet have a
    valid IP address and thus cannot use unicast.

    For the broadcast part of the protocol, a relay agent is needed when
    the DHCP server does not have access to the broadcast domain the
    client is connected to.

    As soon as the client can speak proper IP, it communicates directly
    with the DHCP server, this part of communication relys on regular IP routing and does not need the relay agent any more.

    Greetings
    Marc

    The so called 'relay agent' is simply part of what high end routers
    DO. A router is itself a 'relay agent'
    It is completely independent of routing. A normal computer can act as
    an DHCP relay agent.
    Professional routers simply include that because there is often a need
    for it and the amount of performance and work needed for the relay
    agent is small.
    --
    kind regards
    Marco
    Send spam to 1713612490muell@cartoonies.org
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sat Apr 20 10:17:31 2024
    From Newsgroup: comp.os.linux.misc

    On 4/20/24 05:37, D wrote:
    I'm no DHCP ninja, so please forgive my ignorance, but wouldn't it be possible to just setup a test to prove who the winner is?

    I thought about doing that very thing. Then I decided that it wasn't
    worth my time to do so. And that even if it was, there's no way that I
    could convince people that my results are genuine. So I'm not wasting
    my time.

    Or is it the case that different DHCP server/client software is
    implemented differently so it might work with some and not others,
    and that that is the heart of the conflict?

    No, I don't think that this would matter enough in different
    implementations. Assuming that it's a standard compliant
    implementation. Thus eliding incomplete implementations / early implementations.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marco Moock@mm+usenet-es@dorfdsl.de to comp.os.linux.misc on Sat Apr 20 17:21:00 2024
    From Newsgroup: comp.os.linux.misc

    On 17.04.2024 um 03:17 Uhr Lawrence D'Oliveiro wrote:
    No, I didn’t miss it at all. It’s listed under “design goals”, not actually under how the spec works.

    By definition such a protocol cannot work across routers, because
    clients don’t know what routers are available until a DHCP server
    tells them.
    It can't work across routers without helpers because the client knows
    nothing about the network, so the discover message will got to the
    non-directed broadcast 255.255.255.255. Traffic to that address is by
    design not being routed because that would mean forward it to the
    entire world. Another problem is to get the answer back because the src
    address is 0.0.0.0 at this stage. That is why the relay agent is needed
    and forward all that with src and dst being unicast addresses.
    Even with DHCPv6 a helper is needed if the DHCP server resides on
    another link (also called broadcast domain).
    --
    kind regards
    Marco
    Send spam to 1713316679muell@cartoonies.org
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sat Apr 20 10:26:03 2024
    From Newsgroup: comp.os.linux.misc

    On 4/20/24 01:18, Marc Haber wrote:
    The don't need to be if a DHCP agent is available. DHCP agents are considerably easier to implement AND don't need persistent state. They
    can just be implemented in "less intellgent" network devices. This
    also considerably eases exchange of defective devices since you don't
    lose state unless it's the DHCP server itself that is exchanged.

    I agree that they don't /need/ to be. But they /can/ be. ;-)

    That is unneccesarily confusing, DHCP has nothing to do with browse
    master elections. I surely hope that Windows doesn't do those any more.

    It was a reference to how a DHCP server can serve a /remote/ subnet and
    thus avoid undesirable traffic inherently local to the (remote) subnet.

    DHCP can provide node type and NBNS settings which influence if and when
    SMB broadcasts are sent.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sat Apr 20 10:27:48 2024
    From Newsgroup: comp.os.linux.misc

    On 4/20/24 10:12, Marco Moock wrote:
    It is completely independent of routing. A normal computer can act
    as an DHCP relay agent.

    +1

    Professional routers simply include that because there is often a
    need for it and the amount of performance and work needed for the
    relay agent is small.

    +1
    --
    Grant. . . .


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.os.linux.misc on Sat Apr 20 18:07:08 2024
    From Newsgroup: comp.os.linux.misc

    Richard Kettlewell <invalid@invalid.invalid> wrote:
    Rich <rich@example.invalid> writes:
    And, the protocol "must" be routable:

    RFC2131: https://www.rfc-editor.org/rfc/rfc2131 - page 6:

    DHCP should not require a server on each subnet. To allow for
    scale and economy, DHCP must work across routers or through the
    intervention of BOOTP relay agents.

    Note they use "must" above in the statement "DHCP must work across
    routers". Page 4 defines "must" as:

    o "MUST"

    This word or the adjective "REQUIRED" means that the item is an
    absolute requirement of this specification.

    You missed a bit:

    Throughout this document, the words that are used to define the
    significance of particular requirements are capitalized. These words
    ^^^^^^^^^^^
    are:


    The ‘must’ in the design goals is not capitalized.

    Indeed, I did miss that.

    Therefore the RFC explicitly allows for DHCP to be routed.

    A protocol is not its design goals. You can’t conclude that a protocol actually achieves a goal just by looking at the what the goals were. A
    good recent example would be SIKE, which totally failed to meet its
    design goals.

    Fair enough, however, given:

    1) no explicit statement requiring non-routability in the RFC (if the designers had wanted it to be "non-routable" as Lawrence continues to
    asssert, they would have said so);

    2) an explicit statement in the design goals of "working across
    routers"

    it therefore becomes reasonable to presume that "routability" was
    at a minimum, not excluded, and was likely intended.

    I don’t personally care how DHCP gets across routers but from a quick
    skim it looks like it relies some kind of relay agent. Table 1 or
    section 3.1 might be reasonable references.

    It relies on a BOOTP Relay agent only for the initial, unconfigured, no
    IP address state, of the client. Once the client has an IP, other DHCP protocol interactions happen using the client IP, and no BOOTP Relay
    agents are involved.

    DHCP is also not a "transport layer" protocol. Instead, it uses UDP
    for its transport layer (see RFC url above, page 22):

    "DHCP uses UDP as its transport protocol."

    Since UDP is itself routable, DHCP is also routable, because DHCP is
    simply a protocol definition for sending particular "messages" inside
    of UDP packets.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marco Moock@mm+usenet-es@dorfdsl.de to comp.os.linux.misc on Sat Apr 20 20:20:43 2024
    From Newsgroup: comp.os.linux.misc

    On 20.04.2024 um 18:07 Uhr Rich wrote:
    Richard Kettlewell <invalid@invalid.invalid> wrote:
    Rich <rich@example.invalid> writes:
    And, the protocol "must" be routable:

    RFC2131: https://www.rfc-editor.org/rfc/rfc2131 - page 6:

    DHCP should not require a server on each subnet. To allow
    for scale and economy, DHCP must work across routers or through the
    intervention of BOOTP relay agents.

    Note they use "must" above in the statement "DHCP must work across
    routers". Page 4 defines "must" as:

    o "MUST"

    This word or the adjective "REQUIRED" means that the item
    is an absolute requirement of this specification.

    You missed a bit:

    Throughout this document, the words that are used to define the
    significance of particular requirements are capitalized. These
    words ^^^^^^^^^^^
    are:


    The ‘must’ in the design goals is not capitalized.

    Indeed, I did miss that.
    Does that change the meaning?
    Therefore the RFC explicitly allows for DHCP to be routed.

    A protocol is not its design goals. You can’t conclude that a
    protocol actually achieves a goal just by looking at the what the
    goals were. A good recent example would be SIKE, which totally
    failed to meet its design goals.

    Fair enough, however, given:

    1) no explicit statement requiring non-routability in the RFC (if the designers had wanted it to be "non-routable" as Lawrence continues to asssert, they would have said so);
    I don't know how that should work because a DHCP machine doesn't know
    anything. ICMP address configuration exists (now deprecated) and Router advertisements for IPv4 are specified too. https://datatracker.ietf.org/doc/html/rfc6918 https://www.rfc-editor.org/rfc/rfc1256
    But I don't know any implementation for that.
    That means an DHCPv4 host doesn't know anything and can only use a "all machines" address. Such addresses can't be reasonably used to contact
    really all machines in the world.
    The packet must also go back to the DHCP client and sending it to
    everybody in the internet isn't reasonable too.
    The solution is to stay on the same link or use Unicast for
    transporting that through routers.
    2) an explicit statement in the design goals of "working across
    routers"

    it therefore becomes reasonable to presume that "routability" was
    at a minimum, not excluded, and was likely intended.
    True, but I doubt there would be a solution for that. Even DHCPv6 needs
    a relay agent. DHCPv6 over multicast is only for communication between
    DHCPv6 servers.
    I don’t personally care how DHCP gets across routers but from a
    quick skim it looks like it relies some kind of relay agent. Table
    1 or section 3.1 might be reasonable references.

    It relies on a BOOTP Relay agent only for the initial, unconfigured,
    no IP address state, of the client. Once the client has an IP, other
    DHCP protocol interactions happen using the client IP, and no BOOTP
    Relay agents are involved.

    DHCP is also not a "transport layer" protocol. Instead, it uses UDP
    for its transport layer (see RFC url above, page 22):

    "DHCP uses UDP as its transport protocol."

    Since UDP is itself routable, DHCP is also routable, because DHCP is
    simply a protocol definition for sending particular "messages" inside
    of UDP packets.
    That depends on the addresses being used. When being used on
    non-directed broadcast, link-local unicast or link-local multicast, UDP
    can't be routed because the IP layer forbids routing of those packages.
    --
    kind regards
    Marco
    Send spam to 1713629228muell@cartoonies.org
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From nospam@nospam@example.net to comp.os.linux.misc on Sat Apr 20 20:58:58 2024
    From Newsgroup: comp.os.linux.misc



    On Sat, 20 Apr 2024, Grant Taylor wrote:

    On 4/20/24 05:37, D wrote:
    I'm no DHCP ninja, so please forgive my ignorance, but wouldn't it be
    possible to just setup a test to prove who the winner is?

    I thought about doing that very thing. Then I decided that it wasn't worth my time to do so. And that even if it was, there's no way that I could convince people that my results are genuine. So I'm not wasting my time.

    Yes, that makes perfect sense.

    Or is it the case that different DHCP server/client software is implemented >> differently so it might work with some and not others, and that that is the >> heart of the conflict?

    No, I don't think that this would matter enough in different implementations.
    Assuming that it's a standard compliant implementation. Thus eliding incomplete implementations / early implementations.

    Thank you for the information. =)
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.os.linux.misc on Sat Apr 20 19:07:43 2024
    From Newsgroup: comp.os.linux.misc

    Marco Moock <mm+usenet-es@dorfdsl.de> wrote:
    On 20.04.2024 um 18:07 Uhr Rich wrote:
    DHCP is also not a "transport layer" protocol. Instead, it uses UDP
    for its transport layer (see RFC url above, page 22):

    "DHCP uses UDP as its transport protocol."

    Since UDP is itself routable, DHCP is also routable, because DHCP is
    simply a protocol definition for sending particular "messages"
    inside of UDP packets.

    That depends on the addresses being used. When being used on
    non-directed broadcast, link-local unicast or link-local multicast,
    UDP can't be routed because the IP layer forbids routing of those
    packages.

    Yes, correct. However, that is not "DHCP" the protocol itself
    specifying such. That is the IP layer specifying that certian
    addresses used in UDP packets are not routed.

    The reason it impacts DHCP is that the "bootstrap an IP address
    configuration" portion of DHCP means that those addresses are all the
    client can make use of until after it has been configured with a valid
    IP address for the local subnet.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Sat Apr 20 21:19:50 2024
    From Newsgroup: comp.os.linux.misc

    The Natural Philosopher <tnp@invalid.invalid> wrote:
    The
    fact that someone calls that a 'relay agent' is as weird as saying a
    router is an IP 'relay agent'.

    That is exactly correct terminology. You can have a router that is not
    a DHCP relay agent, and you can have a DHCP relay agent not run on a
    router.

    I am not really interested in a willy waving competiton with someone who >knows the world always conforms to their conception of it, never the
    other way round.

    Procotols usually don't have a conception, they have a specification.
    And for DHCP, the specification is open for everyone to read. The
    problem is that too many people want to talk about the protocol
    without having read the specs.
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.os.linux.misc on Sat Apr 20 19:19:53 2024
    From Newsgroup: comp.os.linux.misc

    Rich <rich@example.invalid> wrote:
    Marco Moock <mm+usenet-es@dorfdsl.de> wrote:
    On 20.04.2024 um 18:07 Uhr Rich wrote:
    DHCP is also not a "transport layer" protocol. Instead, it uses UDP
    for its transport layer (see RFC url above, page 22):

    "DHCP uses UDP as its transport protocol."

    Since UDP is itself routable, DHCP is also routable, because DHCP is
    simply a protocol definition for sending particular "messages"
    inside of UDP packets.

    That depends on the addresses being used. When being used on
    non-directed broadcast, link-local unicast or link-local multicast,
    UDP can't be routed because the IP layer forbids routing of those
    packages.

    Yes, correct. However, that is not "DHCP" the protocol itself
    specifying such. That is the IP layer specifying that certian
    addresses used in UDP packets are not routed.

    The reason it impacts DHCP is that the "bootstrap an IP address configuration" portion of DHCP means that those addresses are all the
    client can make use of until after it has been configured with a valid
    IP address for the local subnet.

    Which, thinking about this just now, ironically, makes Lawrence's
    statement correct.

    DHCP the protocol is itself is not routable -- because DHCP the
    protocol is not a transport layer protocol. It relies upon UDP for its transport.

    And whether a given DHCP message is routed or not is wholly dependent
    upon whether the UDP packet carrying the DHCP message is itself
    routable.


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Sat Apr 20 21:21:17 2024
    From Newsgroup: comp.os.linux.misc

    Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    DHCP can provide node type and NBNS settings which influence if and when
    SMB broadcasts are sent.

    Yes. And it can provide DNS and NTP servers, information about network
    boot and tens of other things.

    Greetings
    Marc
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Sat Apr 20 21:22:09 2024
    From Newsgroup: comp.os.linux.misc

    The Natural Philosopher <tnp@invalid.invalid> wrote:
    A router *is* "a special tunnelling mechanism", not part of the actual >protocol" for IP.

    IP was designed to be a routable protocol from the very first second.
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sat Apr 20 14:59:05 2024
    From Newsgroup: comp.os.linux.misc

    On 4/20/24 13:58, D wrote:
    Yes, that makes perfect sense.

    :-)

    Thank you for the information. =)

    You're welcome.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sat Apr 20 15:00:47 2024
    From Newsgroup: comp.os.linux.misc

    On 4/20/24 14:21, Marc Haber wrote:
    Yes. And it can provide DNS and NTP servers, information about network
    boot and tens of other things.

    I dare say that it can provide hundreds of other things.

    I /think/ that the option is an 8-bit field and I've seen options near 200.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sat Apr 20 15:13:19 2024
    From Newsgroup: comp.os.linux.misc

    On 4/20/24 14:07, Rich wrote:
    Yes, correct. However, that is not "DHCP" the protocol itself
    specifying such. That is the IP layer specifying that certian
    addresses used in UDP packets are not routed.

    Nit-pick: That's the IP layer saying that certain addresses can't be
    routed. It doesn't matter what transport is on top of those IP packets.

    The reason it impacts DHCP is that the "bootstrap an IP address configuration" portion of DHCP means that those addresses are all
    the client can make use of until after it has been configured with
    a valid IP address for the local subnet.

    Nit-pick: I believe I've read about DHCP implementations that remember
    what they used last time and will start to use them instead of 0.0.0.0.
    If that remembered IP fails / is rejected for some reason then it falls
    back to a discover.

    RFC 951 - Bootstrap Protocol - the precursor to DHCP - section 3
    paragraph 2 says: "In the IP header of a bootrequest, the client fills
    in its own IP source address if known, otherwise zero. When the server address is unknown, the IP destination address will be the 'broadcast
    address' 255.255.255.255."

    So I'm not sure that a client /must/ use 0.0.0.0 -> 255.255.255.255 when
    doing a BOOTP / DHCP request.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sat Apr 20 15:16:03 2024
    From Newsgroup: comp.os.linux.misc

    On 4/20/24 14:19, Rich wrote:
    DHCP the protocol is itself is not routable -- because DHCP the
    protocol is not a transport layer protocol. It relies upon UDP for
    its transport.

    Given that logic, HTTP(S) and NNTP(S), both of which are dependent on
    TCP, which is dependent on IP, aren't routable either.

    And whether a given DHCP message is routed or not is wholly dependent
    upon whether the UDP packet carrying the DHCP message is itself
    routable.

    I believe you want to go another layer and say that the UDP datagram is dependent on the IP packet carrying it. And the IP packet's routability
    is dependent on it's source IP and if there is a route to the
    destination IP or not.

    }:-)
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.os.linux.misc on Sat Apr 20 20:31:20 2024
    From Newsgroup: comp.os.linux.misc

    Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    On 4/20/24 14:19, Rich wrote:
    DHCP the protocol is itself is not routable -- because DHCP the
    protocol is not a transport layer protocol. It relies upon UDP for
    its transport.

    Given that logic, HTTP(S) and NNTP(S), both of which are dependent on
    TCP, which is dependent on IP, aren't routable either.

    In a way, yes, given that HTTP/NNTP are also not "transport layer
    protocols". Their routability is determined by the routability of the transport layer packet carrying them (which would be IP for both).

    It is a somewhat atypical way of viewing the definition of "routing",
    but it does match what is actually happening in routers. Exclusive of
    "deep packet inspection" a router is routing packets by looking at the
    IP header of that packet, not looking inside the IP packet's payload
    for HTTP/NNTP/DHCP/etc. contents and routing based on those contents.

    And whether a given DHCP message is routed or not is wholly dependent
    upon whether the UDP packet carrying the DHCP message is itself
    routable.

    I believe you want to go another layer and say that the UDP datagram
    is dependent on the IP packet carrying it. And the IP packet's
    routability is dependent on it's source IP and if there is a route to
    the destination IP or not.

    True, that is actually where the "routing" decision is made.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marco Moock@mm+usenet-es@dorfdsl.de to comp.os.linux.misc on Sat Apr 20 22:33:14 2024
    From Newsgroup: comp.os.linux.misc

    On 20.04.2024 um 15:13 Uhr Grant Taylor wrote:

    On 4/20/24 14:07, Rich wrote:
    Yes, correct. However, that is not "DHCP" the protocol itself
    specifying such. That is the IP layer specifying that certian
    addresses used in UDP packets are not routed.

    Nit-pick: That's the IP layer saying that certain addresses can't be routed. It doesn't matter what transport is on top of those IP
    packets.

    The reason it impacts DHCP is that the "bootstrap an IP address configuration" portion of DHCP means that those addresses are all
    the client can make use of until after it has been configured with
    a valid IP address for the local subnet.

    Nit-pick: I believe I've read about DHCP implementations that
    remember what they used last time and will start to use them instead
    of 0.0.0.0. If that remembered IP fails / is rejected for some reason
    then it falls back to a discover.

    RFC 951 - Bootstrap Protocol - the precursor to DHCP - section 3
    paragraph 2 says: "In the IP header of a bootrequest, the client
    fills in its own IP source address if known, otherwise zero. When
    the server address is unknown, the IP destination address will be the 'broadcast address' 255.255.255.255."

    So I'm not sure that a client /must/ use 0.0.0.0 -> 255.255.255.255
    when doing a BOOTP / DHCP request.

    How can a DHCP client assume that a remembered address can be still
    used?
    If the lease is still valid, it can use it and contact the server via
    unicast, if there is no valid lease, it must not use the IP anymore
    because it could be assigned to some other node.

    IIRC IP unicast src addr can only be used if the lease is still valid
    and the client wants to extend the lease.
    Of course asking the DHCP for additional information after the IP has
    been assigned is another situation where unicast can be used.

    Does anybody know other situations?
    --
    kind regards
    Marco

    Send spam to 1713618799muell@cartoonies.org

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sat Apr 20 19:26:21 2024
    From Newsgroup: comp.os.linux.misc

    On 4/20/24 15:33, Marco Moock wrote:
    How can a DHCP client assume that a remembered address can be still
    used?

    It can't assume.

    But I believe that it can test for duplicate and ask the DHCP server via
    DHCP Request.

    If the lease is still valid, it can use it and contact the server via unicast, if there is no valid lease, it must not use the IP anymore
    because it could be assigned to some other node.

    I think it SHOULDN'T use would be the proper nomenclature.

    IIRC IP unicast src addr can only be used if the lease is still valid
    and the client wants to extend the lease.

    Maybe.

    Of course asking the DHCP for additional information after the IP
    has been assigned is another situation where unicast can be used.

    Yep.

    Does anybody know other situations?

    I assume that a release would also be unicast.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Sun Apr 21 08:52:49 2024
    From Newsgroup: comp.os.linux.misc

    Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    On 4/20/24 14:21, Marc Haber wrote:
    Yes. And it can provide DNS and NTP servers, information about network
    boot and tens of other things.

    I dare say that it can provide hundreds of other things.

    I /think/ that the option is an 8-bit field and I've seen options near 200.

    I was not sure how sparse the option number allocation is and too lazy
    to look it up.

    Greetings
    Marc
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Sun Apr 21 11:10:49 2024
    From Newsgroup: comp.os.linux.misc

    On 20/04/2024 21:16, Grant Taylor wrote:
    On 4/20/24 14:19, Rich wrote:
    DHCP the protocol is itself is not routable -- because DHCP the
    protocol is not a transport layer protocol.  It relies upon UDP for
    its transport.

    Given that logic, HTTP(S) and NNTP(S), both of which are dependent on
    TCP, which is dependent on IP, aren't routable either.

    And whether a given DHCP message is routed or not is wholly dependent
    upon whether the UDP packet carrying the DHCP message is itself routable.

    I believe you want to go another layer and say that the UDP datagram is dependent on the IP packet carrying it.  And the IP packet's routability
    is dependent on it's source IP and if there is a route to the
    destination IP or not.

    }:-)

    Is a destination address of 255.255.255.255 routable?
    Of course it is, if a router is configured to do an 'all stations
    broadcast' across the internet!

    What changes is that the client which has no IP address at this stage,
    instead has to be given one by the first router it encounters. When the
    router receives a response it has to translate that back to the MAC
    address of the sender on its local port.

    It's not much different from address translation, in that the router
    needs to exercise intelligence about some packet contents, rather than
    juts their source and destination and next hop addresses.

    AS far as intelligence goes its nothing like as complex as running BGP
    or OSPF or other routing protocols.

    Calling this action a 'relay agent' makes it all into something it is
    not - a separate addition to routers in general. DHCP can be and is
    routed by routers.

    The rest is semantics
    --
    "What do you think about Gay Marriage?"
    "I don't."
    "Don't what?"
    "Think about Gay Marriage."


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Sun Apr 21 11:17:28 2024
    From Newsgroup: comp.os.linux.misc

    On 20/04/2024 21:31, Rich wrote:
    Exclusive of
    "deep packet inspection" a router is routing packets by looking at the
    IP header of that packet, not looking inside the IP packet's payload
    for HTTP/NNTP/DHCP/etc. contents and routing based on those contents.

    Not at all true in the case of address translation, routing protocols,
    traffic shaping and the like.

    The only thing that caries is how *much* of the packet you inspect.

    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. :-)
    --
    Climate is what you expect but weather is what you get.
    Mark Twain

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sun Apr 21 14:51:53 2024
    From Newsgroup: comp.os.linux.misc

    On 4/21/24 05:10, The Natural Philosopher wrote:
    Is a destination address of 255.255.255.255 routable?

    No it is not.

    IANA, the keeper of special things like this, has this to say about the "Limited Broadcast"

    Address Block: 255.255.255.255/32
    Name: Limited Broadcast
    RFC: RFC8190 RFC919
    Allocation Date: 1984-10
    Termination Date: N/A
    Source: False
    Destination: True
    Forwardable: False
    Globally Reachable: False
    Reserved-by-Protocol: True

    Link - IANA IPv4 Special-Purpose Address Registry
    - https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml

    Of course it is, if a router is configured to do an 'all stations
    broadcast' across the internet!

    I disagree.

    Even if one device is mis-configured to forward it, the next upstream
    device that is properly configured / default configuration won't forward it.

    What changes is that the client which has no IP address at this stage, instead has to be given one by the first router it encounters.

    Nope. The first router doesn't have to give it one.

    The DHCP *server* sends a DHCP /offer/ after receiving a DHCP /discover/
    and a DHCP /ACK/ after receiving a DHCP /request/.

    N.B. the DHCP relay agent can be running on an end system in the network
    that is not a router.

    The DHCP /relay/ running on a system in the broadcast domain receives
    the DHCP discover, sends sends the DHCP discover to the remote DHCP
    server's unicast IP using it's own relay IP as the source. The relay
    also adds information to the DHCP discover message to include the
    client's MAC address / possibly other identifying information; e.g.
    Client-ID.

    The DHCP server receives a unicast DHCP discover to it's unicast IP from
    the DHCP relay's unicast IP. The DHCP discover has information to
    identify the remote client that originally sent the discover and the
    network that it is on.

    The DHCP server sends a DHCP offer back to the DHCP relay's unicast IP
    from the DHCP server's unicast IP.

    The DHCP relay receives the DHCP offer to it's unicast IP from the DHCP server's unicast IP. -- The DHCP relay the relays the offer back to
    the client on the local network.

    The client receives the remote DHCP server's offer, send a DHCP request
    and receives a DHCP ACK through the same channels.

    Once the client has an IP address, it can talk to the DHCP server
    directly through the routed network without needing the aid of the DHCP
    relay agent.

    When the router receives a response it has to translate that back to
    the MAC address of the sender on its local port.

    The DHCP relay agent, not necessarily the router.

    It's not much different from address translation, in that the router
    needs to exercise intelligence about some packet contents, rather  than juts their source and destination  and next hop addresses.

    Nope.

    The router doesn't need to be involved in the DHCP relay agent process
    at all.

    It's perfectly valid to have a router that knows nothing about DHCP and
    a separate system on the network functioning as the DHCP relay agent.

    AS far as intelligence goes its nothing like as complex as running BGP
    or OSPF or  other routing protocols.

    Calling this action a 'relay agent' makes it all into something it is
    not - a separate addition to routers in general.  DHCP can be and is
    routed by routers.

    And yet the RFCs that define this behavior use the phrase "relay agent".
    And the functionality is not tied to a router.

    The rest is semantics

    Not quite.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sun Apr 21 14:58:22 2024
    From Newsgroup: comp.os.linux.misc

    On 4/21/24 05:17, The Natural Philosopher wrote:
    Not at all true in the case of address translation, routing protocols, traffic shaping and the like.

    Network address translation isn't routing. NAT happens /after/ routing happens.

    Routing protocols aren't routing. They exchange route information to
    program routing tables. Routing uses said information to do the
    routing. Routing protocols aren't required for routing. Manually
    entered static routes work perfectly fine.

    Traffic shaping isn't routing. It's altering how fast traffic is sent out.

    Routing is deciding which interface to send the packet out and doing so.
    Other things may be done before and / or after routing. But routing
    is it's own independent thing.

    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..

    Nope.

    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.

    Nope.

    In short its acting like an ethernet switch or bridge

    That's proxy ARP, which is a form of routing in it's own way.

    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. :-)

    See my most recent reply for a description of how DHCP relay agents
    interact with DHCP clients and DHCP servers. Hint: It populates a
    field in the DHCP packet, changes the source to be it's own unicast IP,
    and changes the destination to be the remote DHCP server's unicast IP.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sun Apr 21 15:00:51 2024
    From Newsgroup: comp.os.linux.misc

    On 4/21/24 01:52, Marc Haber wrote:
    I was not sure how sparse the option number allocation is and too lazy
    to look it up.

    There are a LOT of options specified. I think something like 150
    commonly known. Though few of them are used.

    You can even use DHCP as a quasi routing protocol in and of itself in
    that it can provide routes (destination prefixes and gateways thereto)
    via DHCP. I've done this and it works well. It's just not nearly as
    dynamic as most dynamic routing protocols in that it only changes at
    lease / renew time which could be hours / days. Conversely most dynamic routing protocols update at least every few minutes.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Mon Apr 22 10:30:04 2024
    From Newsgroup: comp.os.linux.misc

    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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Mon Apr 22 11:35:40 2024
    From Newsgroup: comp.os.linux.misc

    On 21/04/2024 20:58, Grant Taylor wrote:
    On 4/21/24 05:17, The Natural Philosopher wrote:
    Not at all true in the case of address translation, routing protocols,
    traffic shaping and the like.

    Network address translation isn't routing.  NAT happens /after/ routing happens.

    Routing itself *is* network address translation. The router removes the current next hop address and replaces it with a new one, and it reduces
    the TTL field. All NAT does is replace the *source* destination/port as
    well, and store the originating port/ip address ready for return packets.

    Where that happens in time is purely implementation dependent. It might
    even happen simultaneously with a multicore CPU


    Rest of semantic arguments about all the things a router does that are
    not 'routing' according to one persons ideal definition of it, removed.

    As an engineer all that a router does is modify some or all of the information in a packet header, look up where the next hop is in its
    routing tables, and receive dynamic updates to those routing tables
    where appropriate. And forward the *modified* packet to the next hop.

    If you want to take some academic position that defines some of those modifications as routing and others as not, I cant stop you.

    But I can avoid further argument
    --
    "The great thing about Glasgow is that if there's a nuclear attack it'll
    look exactly the same afterwards."

    Billy Connolly

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Mon Apr 22 11:36:54 2024
    From Newsgroup: comp.os.linux.misc

    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


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Mon Apr 22 15:05:52 2024
    From Newsgroup: comp.os.linux.misc

    The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 21/04/2024 20:58, Grant Taylor wrote:
    On 4/21/24 05:17, The Natural Philosopher wrote:
    Not at all true in the case of address translation, routing protocols,
    traffic shaping and the like.

    Network address translation isn't routing.  NAT happens /after/ routing
    happens.

    Routing itself *is* network address translation. The router removes the >current next hop address and replaces it with a new one, and it reduces
    the TTL field.

    The current next hop address is not part of the datagram.

    You're obviously speaking a different language than the experts in the
    field. It is not possible to have academic discourse with you.

    I rest my case. End of Discussion from my part.
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Mon Apr 22 18:00:05 2024
    From Newsgroup: comp.os.linux.misc

    On 4/22/24 05:35, The Natural Philosopher wrote:
    Routing itself *is* network address translation.

    Nope.

    The router removes the current next hop address and replaces it with
    a new one, and it reduces the TTL field.

    Nope.

    Run a sniffer on your Internet traffic and you will see that traffic is
    being sent to the destination IP address of the remote server, not your
    local router.

    In the spirit of the benefit of doubt / nomenclature type problem, I
    believe that you may be conflating what happens with MAC addresses and
    what happens with IP addresses on Ethernet (or probably any 802 network).

    Routing between Ethernet networks wholesale replaces the source and destination MAC address of the Ethernet frame. But without NAT, the
    source and destination IP address do not change.

    All NAT does is replace the *source* destination/port as well, and
    store the originating port/ip address ready for return packets.

    Source NAT replaces the source IP and possibly, but no guarantee, the
    source port.

    Destination NAT replaces the destination IP and possibly, but no
    guarantee, the destination port.

    Most, but not all, SOHO routers do source NAT to replace the private
    unrouted LAN IP with the public Internet IP of the SOHO router. But
    that is a very special configuration.

    All the routers at the ISP, the core of the Internet, and the server's
    hosting provider don't modify either the source nor destination IP address.

    Where that happens in time  is purely implementation dependent. It might even happen simultaneously with a multicore CPU

    There is a logical sequence of events. You have to choose where the IP
    packet is going to go before you can do anything else to it as that
    decision may influence what is done to it.

    As an engineer all  that a router does is modify some or all of the information in a packet header, look up where the next hop is in its
    routing tables, and receive dynamic updates to those routing tables
    where appropriate. And forward the *modified* packet to the next hop.

    The IP packet isn't modified save for a TTL decremnt

    The outgoing Ethernet frame is brand new and using different information
    than the incoming Ethernet frame.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Tue Apr 23 00:35:08 2024
    From Newsgroup: comp.os.linux.misc

    On Sat, 20 Apr 2024 08:12:31 +0200, Marc Haber wrote:

    Please get yourself familiarized with the protocol before you continue talking about it.

    I already went through the protocol RFC elsewhere--go read my posting on
    it.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Tue Apr 23 00:37:08 2024
    From Newsgroup: comp.os.linux.misc

    On Sat, 20 Apr 2024 15:16:03 -0500, Grant Taylor wrote:

    Given that logic, HTTP(S) and NNTP(S), both of which are dependent on
    TCP, which is dependent on IP, aren't routable either.

    You said it, none of us rational people did.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Tue Apr 23 00:42:42 2024
    From Newsgroup: comp.os.linux.misc

    On Sun, 21 Apr 2024 11:10:49 +0100, The Natural Philosopher wrote:

    Calling this action a 'relay agent' makes it all into something it is
    not - a separate addition to routers in general. DHCP can be and is
    routed by routers.

    Not without these separate “relay agents”, as even those who try to keep insisting that “DHCP is routable” have already admitted.

    Routable protocols can make it through routers without the help of special protocol-specific agents. Routers forward layer-3 packets, and whatever is embedded within them is taken along for the ride, transparently.

    But that requires a properly configured layer 3 in order to work. And that
    is what DHCP provides. Therefore, since DHCP’s function is to set up layer
    3 in the first place (without the requirement for individual node configuration), it cannot rely on the existence of a fully-functioning
    layer 3 to begin with. Therefore it cannot be routed. QED.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Tue Apr 23 00:44:47 2024
    From Newsgroup: comp.os.linux.misc

    On Sat, 20 Apr 2024 08:18:57 +0200, Marc Haber wrote:

    You're reasoning is flawed.

    I’m what reasoning is flawed??

    Does not parse.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Tue Apr 23 01:23:36 2024
    From Newsgroup: comp.os.linux.misc

    On Sat, 20 Apr 2024 13:26:15 +0100, The Natural Philosopher wrote:

    On 20/04/2024 01:24, Lawrence D'Oliveiro wrote:

    Thank you for admitting what some other parties still refuse to say.

    I habvent admitted anything .

    Then you need to retract the incriminating phrase: “need to be told to
    route DHCP *in some way*”. The fact that routers “need to be told” is what
    makes it “special”. Routable protocols don’t need this “special treatment”. Routers carry them as a matter of course.

    So go on, deny that routers “need to be told” anything about DHCP in particular.

    A router *is* "a special tunnelling mechanism", not part of the actual protocol" for IP. And its NOT tunnelling.

    So a “special tunnelling mechanism” is NOT tunnelling? Keep on tying yourself in knots ...
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Tue Apr 23 09:22:28 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Sun, 21 Apr 2024 11:10:49 +0100, The Natural Philosopher wrote:

    Calling this action a 'relay agent' makes it all into something it is
    not - a separate addition to routers in general. DHCP can be and is
    routed by routers.

    Not without these separate “relay agents”, as even those who try to keep >insisting that “DHCP is routable” have already admitted.

    You should not only read what we explain, you should also at least try
    to understand. Or, maybe, bother to read a packet trace.

    But that requires a properly configured layer 3 in order to work. And that >is what DHCP provides. Therefore, since DHCP’s function is to set up layer >3 in the first place (without the requirement for individual node >configuration), it cannot rely on the existence of a fully-functioning
    layer 3 to begin with. Therefore it cannot be routed. QED.

    Exercise: Outline how a host renews its lease.

    Greetings
    Marc
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Tue Apr 23 09:23:20 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Sat, 20 Apr 2024 08:12:31 +0200, Marc Haber wrote:

    Please get yourself familiarized with the protocol before you continue
    talking about it.

    I already went through the protocol RFC elsewhere--go read my posting on
    it.

    You still didnt understand how it works. Next step would be looking at
    a packet trace.
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Tue Apr 23 09:26:15 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Sat, 20 Apr 2024 08:18:57 +0200, Marc Haber wrote:

    You're reasoning is flawed.

    I’m what reasoning is flawed??

    Does not parse.

    Biting on someone else's typos is a sure sign of running out of
    factual arguments.

    I am sure that, as a native speaker, you're able to understand what I
    wanted to say while having my fingers type something different.
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Tue Apr 23 09:29:53 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    So a “special tunnelling mechanism” is NOT tunnelling? Keep on tying >yourself in knots ...

    Nothing that we are discussing in this thread is tunneling. DHCP needs something that vaguely resembles an applicaiton level gateway in the
    client's broadcast domain to forward the broadcast part of DHCP to the
    server; the rest of the exchange is routed IP unicast.

    I understand that it might be hard to comprehend that a protocol might
    change its transport method in mid-exchange, but DHCP does that.

    It took me a while to understand how a certain software distribution
    software can work without interacting with the DHCP server, so I have
    gone through the learning curve to grok DHCP myself, but it is time
    that people educate themselves before this discussion can become
    fruitful.

    Greetings
    Marc
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Harold Stevens@wookie@aspen.localdomain to comp.os.linux.misc on Tue Apr 23 05:04:49 2024
    From Newsgroup: comp.os.linux.misc

    In <v07o1h$106h3$1@news1.tnib.de> Marc Haber:
    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    [Snip...]

    people educate themselves before this discussion can become fruitful

    Indeed, but it's a troll. It's here for an argument, not info.

    Classic Monty Python skit:

    https://www.youtube.com/watch?v=uLlv_aZjHXc

    HTH, YMMV, yadayada ...
    --
    Regards, Weird (Harold Stevens) * IMPORTANT EMAIL INFO FOLLOWS *
    Pardon any bogus email addresses (wookie) in place for spambots.
    Really, it's (wyrd) at att, dotted with net. * DO NOT SPAM IT. *
    I toss GoogleGroup (http://twovoyagers.com/improve-usenet.org/).
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Tue Apr 23 11:59:14 2024
    From Newsgroup: comp.os.linux.misc

    On 23/04/2024 00:00, Grant Taylor wrote:
    There is a logical sequence of events.  You have to choose where the IP packet is going to go before you can do anything else to it as that
    decision may influence what is done to it.

    Why?
    --
    "Socialist governments traditionally do make a financial mess. They
    always run out of other people's money. It's quite a characteristic of them"

    Margaret Thatcher

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From nospam@nospam@example.net to comp.os.linux.misc on Tue Apr 23 21:33:36 2024
    From Newsgroup: comp.os.linux.misc

    This message is in MIME format. The first part should be readable text,
    while the remaining parts are likely unreadable without MIME-aware tools.

    --8323328-171898990-1713900819=:965
    Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT



    On Tue, 23 Apr 2024, Marc Haber wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Sat, 20 Apr 2024 08:18:57 +0200, Marc Haber wrote:

    You're reasoning is flawed.

    I’m what reasoning is flawed??

    Does not parse.

    Biting on someone else's typos is a sure sign of running out of
    factual arguments.

    I am sure that, as a native speaker, you're able to understand what I
    wanted to say while having my fingers type something different.



    Sorry Lawrence but I have to go with Marc on this one. Your position is starting to look very weak here.
    --8323328-171898990-1713900819=:965--
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.os.linux.misc on Wed Apr 24 01:39:41 2024
    From Newsgroup: comp.os.linux.misc

    Marc Haber <mh+usenetspam1118@zugschl.us> wrote:
    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Sun, 21 Apr 2024 11:10:49 +0100, The Natural Philosopher wrote:

    Calling this action a 'relay agent' makes it all into something it is
    not - a separate addition to routers in general. DHCP can be and is
    routed by routers.

    Not without these separate “relay agents”, as even those who try to keep >>insisting that “DHCP is routable” have already admitted.

    You should not only read what we explain, you should also at least try
    to understand. Or, maybe, bother to read a packet trace.

    But that requires a properly configured layer 3 in order to work. And that >>is what DHCP provides. Therefore, since DHCP’s function is to set up layer >>3 in the first place (without the requirement for individual node >>configuration), it cannot rely on the existence of a fully-functioning >>layer 3 to begin with. Therefore it cannot be routed. QED.

    Exercise: Outline how a host renews its lease.

    Prediction: he will not do so.

    Why?: Because doing so would pierce his carefully crafted bubble that
    DHCP is only ever used to provide an IP address to a device which does
    not yet have one, and so the UDP packets used for carrying those
    initial DHCP messages from the client that provide that initial setup
    have to use the link local broadcast IP address (which is itself what
    is defined as non-routable for the IP layer).

    If he were to pierce that bubble he'd have to admit his blanket
    assertions of non-routability were wrong, and cognitive dissonance
    won't let him do that.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.os.linux.misc on Wed Apr 24 01:58:13 2024
    From Newsgroup: comp.os.linux.misc

    D <nospam@example.net> wrote:
    [-- text/plain, encoding 8bit, charset: utf-8, 23 lines --]



    On Tue, 23 Apr 2024, Marc Haber wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Sat, 20 Apr 2024 08:18:57 +0200, Marc Haber wrote:

    You're reasoning is flawed.

    I’m what reasoning is flawed??

    Does not parse.

    Biting on someone else's typos is a sure sign of running out of
    factual arguments.

    I am sure that, as a native speaker, you're able to understand what I
    wanted to say while having my fingers type something different.



    Sorry Lawrence but I have to go with Marc on this one. Your position is starting to look very weak here.

    He's been lost from the beginning. DHCP the protocol is not itself
    routable, because it is not a network layer protocol. DHCP messages
    are carried in UDP packets, themselves carried in IP packets, and
    whether a DHCP message is routable or not depends wholly on the
    routability of the IP packet it resides within. If that IP packet uses
    a routable address, then the DHCP message is routable. If it uses a non-routable address (such as the network link broadcast address), the
    then IP packet is not routable.

    But routability depends only upon the address(s) used in the IP packet,
    not whether the UDP datagram is carrying a DHCP message.

    Lawrence has appeared to believe during this entire long thread that
    the only use of DHCP is for initial IP setup (and it is possible this
    is the only use he has ever seen and he may not know better, but if
    true that indicates he has not understood the RFC he claims to have
    read and relies on as his 'source').

    But there is a whole other portion of DHCP that is used *after* the
    initial IP address setup where the messages are fully routable because
    the client now has an actual assigned IP address. But for some reason Lawrence seems unaware of, or unwilling to understand, that there is
    that part of the DHCP protocol that is carried in routable UDP/IP
    packets.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.os.linux.misc on Wed Apr 24 02:05:42 2024
    From Newsgroup: comp.os.linux.misc

    Harold Stevens <wookie@aspen.localdomain> wrote:
    In <v07o1h$106h3$1@news1.tnib.de> Marc Haber:
    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    [Snip...]

    people educate themselves before this discussion can become fruitful

    Indeed, but it's a troll. It's here for an argument, not info.

    +100

    Classic Monty Python skit:

    https://www.youtube.com/watch?v=uLlv_aZjHXc

    Yep, that seems to be it to a T.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From nospam@nospam@example.net to comp.os.linux.misc on Wed Apr 24 11:48:12 2024
    From Newsgroup: comp.os.linux.misc

    This message is in MIME format. The first part should be readable text,
    while the remaining parts are likely unreadable without MIME-aware tools.

    --8323328-1477680696-1713952095=:965
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT



    On Wed, 24 Apr 2024, Rich wrote:

    D <nospam@example.net> wrote:
    [-- text/plain, encoding 8bit, charset: utf-8, 23 lines --]



    On Tue, 23 Apr 2024, Marc Haber wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Sat, 20 Apr 2024 08:18:57 +0200, Marc Haber wrote:

    You're reasoning is flawed.

    I’m what reasoning is flawed??

    Does not parse.

    Biting on someone else's typos is a sure sign of running out of
    factual arguments.

    I am sure that, as a native speaker, you're able to understand what I
    wanted to say while having my fingers type something different.



    Sorry Lawrence but I have to go with Marc on this one. Your position is
    starting to look very weak here.

    He's been lost from the beginning. DHCP the protocol is not itself
    routable, because it is not a network layer protocol. DHCP messages
    are carried in UDP packets, themselves carried in IP packets, and
    whether a DHCP message is routable or not depends wholly on the
    routability of the IP packet it resides within. If that IP packet uses
    a routable address, then the DHCP message is routable. If it uses a non-routable address (such as the network link broadcast address), the
    then IP packet is not routable.

    But routability depends only upon the address(s) used in the IP packet,
    not whether the UDP datagram is carrying a DHCP message.

    Lawrence has appeared to believe during this entire long thread that
    the only use of DHCP is for initial IP setup (and it is possible this
    is the only use he has ever seen and he may not know better, but if
    true that indicates he has not understood the RFC he claims to have
    read and relies on as his 'source').

    But there is a whole other portion of DHCP that is used *after* the
    initial IP address setup where the messages are fully routable because
    the client now has an actual assigned IP address. But for some reason Lawrence seems unaware of, or unwilling to understand, that there is
    that part of the DHCP protocol that is carried in routable UDP/IP
    packets.


    I am humbled by the level of knowledge of some people in this group. =) --8323328-1477680696-1713952095=:965--
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Thu Apr 25 02:18:43 2024
    From Newsgroup: comp.os.linux.misc

    On Sat, 20 Apr 2024 08:15:34 +0200, Marc Haber wrote:

    There surely is other documentation available ...

    There may or may not be other explanatory documentation, which may be more
    or less accurate, doesn’t change the fact that the RFC is the official
    spec.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Thu Apr 25 11:09:33 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Sat, 20 Apr 2024 08:15:34 +0200, Marc Haber wrote:

    There surely is other documentation available ...

    There may or may not be other explanatory documentation, which may be more >or less accurate, doesn’t change the fact that the RFC is the official >spec.

    I just wanted to help you to educate yourself about the protocol. I am sufficiently familiar with the protocol to not need a communications
    diagram and I am not aware whether the RFC even contains one, so I was
    just encouraging you to look for one as this might help you to clear
    up your misunderstandings about DHCP.
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Thu Apr 25 22:42:35 2024
    From Newsgroup: comp.os.linux.misc

    On Thu, 25 Apr 2024 11:09:33 +0200, Marc Haber wrote:

    I am sufficiently familiar with the protocol to not need a
    communications diagram and I am not aware whether the RFC even contains
    one ...

    Interesting. You claim to be “sufficiently familiar” with a protocol while admitting you have never read the official spec?
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Thu Apr 25 22:43:45 2024
    From Newsgroup: comp.os.linux.misc

    On Tue, 23 Apr 2024 09:23:20 +0200, Marc Haber wrote:

    You still didnt understand how it works. Next step would be looking at a packet trace.

    Go on, then. Show us one, and show us how it gets through a router the
    same way a “routable” protocol does.

    Otherwise you can’t call it “routable”, can you?
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Thu Apr 25 22:44:35 2024
    From Newsgroup: comp.os.linux.misc

    On Tue, 23 Apr 2024 09:22:28 +0200, Marc Haber wrote:

    Exercise: Outline how a host renews its lease.

    Through the same DHCP server it was able to contact without going through
    a router? Or does it somehow have to use a different server for this?
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Thu Apr 25 22:49:20 2024
    From Newsgroup: comp.os.linux.misc

    On Tue, 23 Apr 2024 09:29:53 +0200, Marc Haber wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    So a “special tunnelling mechanism” is NOT tunnelling? Keep on tying >>yourself in knots ...

    Nothing that we are discussing in this thread is tunneling.

    Then why did TNP talk about a “special tunnelling mechanism”? Seems to me your understanding of DHCP and that of some other “experts” trying to dispute with me don’t quite agree with one another. Maybe get your own
    story straight before trying to claim I’m wrong?
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.os.linux.misc on Thu Apr 25 22:51:15 2024
    From Newsgroup: comp.os.linux.misc

    On Tue, 23 Apr 2024 09:26:15 +0200, Marc Haber wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    On Sat, 20 Apr 2024 08:18:57 +0200, Marc Haber wrote:

    You're reasoning is flawed.

    I’m what reasoning is flawed??

    Does not parse.

    Biting on someone else's typos is a sure sign of running out of factual arguments.

    First you actually have to have arguments that make some kind of
    grammatical sense, before they can even be understood as “factual” (or not).
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Marc Haber@mh+usenetspam1118@zugschl.us to comp.os.linux.misc on Fri Apr 26 07:45:00 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Tue, 23 Apr 2024 09:22:28 +0200, Marc Haber wrote:

    Exercise: Outline how a host renews its lease.

    Through the same DHCP server it was able to contact without going through
    a router? Or does it somehow have to use a different server for this?

    You will find that information in your packet trace.
    -- ---------------------------------------------------------------------------- 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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Richard Kettlewell@invalid@invalid.invalid to comp.os.linux.misc on Fri Apr 26 08:38:10 2024
    From Newsgroup: comp.os.linux.misc

    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    Marc Haber wrote:
    You still didnt understand how it works. Next step would be looking
    at a packet trace.

    Go on, then. Show us one, and show us how it gets through a router the
    same way a “routable” protocol does.

    Marc already gave a clear explanation in <v00acu$cf1i$1@news1.tnib.de>.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Nuno Silva@nunojsilva@invalid.invalid to comp.os.linux.misc on Sat Apr 27 17:45:49 2024
    From Newsgroup: comp.os.linux.misc

    On 2024-04-15, Grant Taylor wrote:

    On 4/15/24 01:50, Nuno Silva wrote:
    Why does it get called "TCP/IP" so often? What is the origin of that
    name?

    That's at lease partially becuase IPv1-3 was a single protocol. There
    was lots of debating going on during the development of IPv1-3 for the
    raw point to point that IP provides and in order delivery circuit that
    TCP provides. It was part way through the development that the
    realized that they could split IP into two layers TCP for end-to-end / in-order delivery and IP for point to point connectivity that other
    protocols could use.

    These are two different protocols for different layers and that name
    does not include, say, UDP.

    IPv1-3 was split into TCP/IPv4. TCP was the first protocol that ran
    on top of IPv4. I think part of the reason for the split name was to emphasize the split protocol design.

    I think UDP was officially documented within a year of TCP/IPv4 being documented. But the progenitor of UDP existed before TCP/IPv4 was documented. Experiments were ongoing with the parts of IPv3 that
    became UDP/IP. Some of the experiments were for voice transmission.

    Thanks for this explanation! I can't believe I either never came across
    this information or I forgot it. Which probably means I have a lot of interesting reading to do regarding this area of computing history :-)
    --
    Nuno Silva
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Grant Taylor@gtaylor@tnetconsulting.net to comp.os.linux.misc on Sat Apr 27 17:26:41 2024
    From Newsgroup: comp.os.linux.misc

    On 4/27/24 11:45, Nuno Silva wrote:
    Thanks for this explanation!

    You're welcome.

    I can't believe I either never came across this information or I
    forgot it.

    Eh. I'm not too surprised. Most people got their introduction to
    TCP/IPv4 and never looked at what came before that.

    Which probably means I have a lot of interesting reading to do
    regarding this area of computing history :-)

    There's a lot of history. Some of it is interesting. Less of it is
    actually useful save for knowing where we have been / come from as
    influence to where we are going.

    But day to day, knowing about history doesn't help as much as one might
    hope.
    --
    Grant. . . .
    --- Synchronet 3.20a-Linux NewsLink 1.114