• Duplicate MAC addresses

    From bob prohaska@3:770/3 to All on Wed Jul 6 15:28:57 2022
    Two Raspberry Pi 3s purchased about a year apart turned out to
    have duplicate MAC addresses. Anybody else seen this?

    A correspondent told me about a config.txt variable
    force_mac_address which seems to have worked around
    the problem. I incremented the last digit by one and
    all seems well, but it was a real hair puller for six
    months. Kept thinking it was an error on my part.

    Thanks for reading,

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Tauno Voipio@3:770/3 to bob prohaska on Wed Jul 6 21:52:19 2022
    On 6.7.22 18.28, bob prohaska wrote:
    Two Raspberry Pi 3s purchased about a year apart turned out to
    have duplicate MAC addresses. Anybody else seen this?

    A correspondent told me about a config.txt variable
    force_mac_address which seems to have worked around
    the problem. I incremented the last digit by one and
    all seems well, but it was a real hair puller for six
    months. Kept thinking it was an error on my part.

    Thanks for reading,

    bob prohaska

    Not with RasPis, but a couple of decades ago, I was
    purchasiing and setting up an information system for
    the local airport. There were about 50 PC's as terminals,
    and the system worked fine, but only with one terminal.

    It made no difference which of the PC's was used, as soon
    as a second one was connected to the network, everything
    went awry, including messed IP addresses by DHCP.

    It took some time before we had a look at the MAC addresses,
    all the Ethernet cards had the same address.

    After all the network cards were swapped, everything
    did run fine.

    --

    -TV

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jim Jackson@3:770/3 to bob prohaska on Wed Jul 6 20:18:25 2022
    On 2022-07-06, bob prohaska <bp@www.zefox.net> wrote:
    Two Raspberry Pi 3s purchased about a year apart turned out to
    have duplicate MAC addresses. Anybody else seen this?

    I'm surprized. It's the sort of thing one expects with cheap copycat
    knockoffs.

    Have you put anything on the rpi forum?

    I run arpwatch on my lan server. If your Pi's have fixed IP configs, not
    DHCP, then it would tell you about the MAC address flipping between
    different IPs.

    cheers
    Jim


    A correspondent told me about a config.txt variable
    force_mac_address which seems to have worked around
    the problem. I incremented the last digit by one and
    all seems well, but it was a real hair puller for six
    months. Kept thinking it was an error on my part.

    Thanks for reading,

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From bob prohaska@3:770/3 to Jim Jackson on Thu Jul 7 01:42:39 2022
    Jim Jackson <jj@franjam.org.uk> wrote:
    On 2022-07-06, bob prohaska <bp@www.zefox.net> wrote:
    Two Raspberry Pi 3s purchased about a year apart turned out to
    have duplicate MAC addresses. Anybody else seen this?

    I'm surprized. It's the sort of thing one expects with cheap copycat knockoffs.

    Have you put anything on the rpi forum?

    Not until you asked 8-) Most of the hits were about Ethernet adapters,
    but I did find this gem:

    [quote}
    The trouble is, there are more Pi in the wild than there are unique serial numbers... Not sure what the odds of hitting two with the same serial number are though
    [endquote]

    Never would have thunk it.....

    Thanks for writing,

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jan Panteltje@3:770/3 to bp@www.zefox.net on Thu Jul 7 10:22:48 2022
    On a sunny day (Wed, 6 Jul 2022 15:28:57 -0000 (UTC)) it happened bob prohaska <bp@www.zefox.net> wrote in <ta49np$2f7v$1@dont-email.me>:

    Two Raspberry Pi 3s purchased about a year apart turned out to
    have duplicate MAC addresses. Anybody else seen this?

    A correspondent told me about a config.txt variable
    force_mac_address which seems to have worked around
    the problem. I incremented the last digit by one and
    all seems well, but it was a real hair puller for six
    months. Kept thinking it was an error on my part.

    Thanks for reading,

    bob prohaska

    Yea,
    wrong MAC .. there is a hacking opportunity too there,
    if someone's WiFi security setting is allowing only specific MACs
    then you could pose as one of those...
    Ran into that many many years ago, still on my site:
    http://panteltje.com/panteltje/wap54g/index.html

    Have not tried changing raspi MACs, thanks for mentioning the force_mac_address.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Fri Jul 8 19:56:05 2022
    Am Mittwoch, 06. Juli 2022, um 15:28:57 Uhr schrieb bob prohaska:

    Two Raspberry Pi 3s purchased about a year apart turned out to
    have duplicate MAC addresses. Anybody else seen this?

    A correspondent told me about a config.txt variable
    force_mac_address which seems to have worked around
    the problem. I incremented the last digit by one and
    all seems well, but it was a real hair puller for six
    months. Kept thinking it was an error on my part.

    Please check if they really have the same MAC address when booted from
    a new installed OS. It is possible to change the MAC address.
    The MAC address of the physical interface (not any virtual interface)
    should have an unique MAC address by default from the vendor.
    You can override this if they really have the same MAC by default.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to Marco Moock on Wed Jul 13 10:41:46 2022
    Marco Moock <mo01@posteo.de> wrote:
    Please check if they really have the same MAC address when booted from
    a new installed OS. It is possible to change the MAC address.
    The MAC address of the physical interface (not any virtual interface)
    should have an unique MAC address by default from the vendor.
    You can override this if they really have the same MAC by default.

    Are the MAC addresses in the Broadcom MAC address allocation - I think it starts B8: ?

    (a Pi 3 here has B8:27:EB)

    I vaguely understood that pre-Pi4 there's no nonvolatile storage on the
    board to hold the MAC address, so I believe it's generated programmatically
    in the boot process (from the serial number, I presume). It would seem surprising to have a collision.

    The Pi4 has a proper EEPROM holding the boot firmware so there's scope to
    store the MAC in there - I haven't checked they do that though.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Wed Jul 13 12:32:50 2022
    Am Dienstag, 12. Januar 106, um 10:41:46 Uhr schrieb Theo:

    Are the MAC addresses in the Broadcom MAC address allocation - I
    think it starts B8: ?

    (a Pi 3 here has B8:27:EB)

    Normally they are assigned to the board manufacturer - regardless of
    the Ethernet controller that is being used.
    My Pi 3 also begins with b8:27:eb that is assigned to Raspberry Pi
    Foundation.
    The chip is from Microchip Technology, Inc. (formerly SMSC).

    I vaguely understood that pre-Pi4 there's no nonvolatile storage on
    the board to hold the MAC address, so I believe it's generated programmatically in the boot process (from the serial number, I
    presume). It would seem surprising to have a collision.

    The Pi4 has a proper EEPROM holding the boot firmware so there's
    scope to store the MAC in there - I haven't checked they do that
    though.

    I don't know about that at all.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Marco Moock on Wed Jul 13 13:45:03 2022
    On 13/07/2022 11:32, Marco Moock wrote:
    Am Dienstag, 12. Januar 106, um 10:41:46 Uhr schrieb Theo:

    Are the MAC addresses in the Broadcom MAC address allocation - I
    think it starts B8: ?

    (a Pi 3 here has B8:27:EB)

    Normally they are assigned to the board manufacturer - regardless of
    the Ethernet controller that is being used.
    My Pi 3 also begins with b8:27:eb that is assigned to Raspberry Pi Foundation.
    The chip is from Microchip Technology, Inc. (formerly SMSC).

    My Zero-W

    b8:27:eb:a6:48:7b



    --
    Ideas are more powerful than guns. We would not let our enemies have
    guns, why should we let them have ideas?

    Josef Stalin

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From NY@3:770/3 to Theo on Thu Jul 14 09:35:08 2022
    "Theo" <theom+news@chiark.greenend.org.uk> wrote in message news:2YA*wt6Sy@news.chiark.greenend.org.uk...
    Marco Moock <mo01@posteo.de> wrote:
    Please check if they really have the same MAC address when booted from
    a new installed OS. It is possible to change the MAC address.
    The MAC address of the physical interface (not any virtual interface)
    should have an unique MAC address by default from the vendor.
    You can override this if they really have the same MAC by default.

    Are the MAC addresses in the Broadcom MAC address allocation - I think it starts B8: ?

    (a Pi 3 here has B8:27:EB)

    I vaguely understood that pre-Pi4 there's no nonvolatile storage on the
    board to hold the MAC address, so I believe it's generated
    programmatically
    in the boot process (from the serial number, I presume). It would seem surprising to have a collision.

    The Pi4 has a proper EEPROM holding the boot firmware so there's scope to store the MAC in there - I haven't checked they do that though.

    Where do network adapters (PCI card or onboard) normally hold their MAC address. I've never heard of two devices happening to have the same MAC
    address so I assumed that part of the manufacturing process was to allocate
    a unique, never-to-be-allocated-again address from a pool that the vendor
    had "bought". Sounds like a problem if RasPi have allocated duplicate MAC addresses. It would make sense for the Pi build process to allocate a serial number and a MAC address which were related, so the Pi 3 calculates it and
    the Pi 4 reads it from non-vol memory that is set at build time.

    What are the implications of duplicate MAC? Is it only a problem within a
    LAN, or can it be a problem when two devices are on different private LANs (192.168.x.x IP addresses) and the only communication is by different WAN addresses? Is it worse for IPv6 which has no NAT (network address
    translation) stage?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to All on Thu Jul 14 10:03:59 2022
    On 14/07/2022 09:35, NY wrote:
    "Theo" <theom+news@chiark.greenend.org.uk> wrote in message news:2YA*wt6Sy@news.chiark.greenend.org.uk...
    Marco Moock <mo01@posteo.de> wrote:
    Please check if they really have the same MAC address when booted from
    a new installed OS. It is possible to change the MAC address.
    The MAC address of the physical interface (not any virtual interface)
    should have an unique MAC address by default from the vendor.
    You can override this if they really have the same MAC by default.

    Are the MAC addresses in the Broadcom MAC address allocation - I think it
    starts B8: ?

    (a Pi 3 here has B8:27:EB)

    I vaguely understood that pre-Pi4 there's no nonvolatile storage on the
    board to hold the MAC address, so I believe it's generated
    programmatically
    in the boot process (from the serial number, I presume).  It would seem
    surprising to have a collision.

    The Pi4 has a proper EEPROM holding the boot firmware so there's scope to
    store the MAC in there - I haven't checked they do that though.

    Where do network adapters (PCI card or onboard) normally hold their MAC address.

    Normally there is some kind of prom on board. The software reads it but
    does not have to use it.


    I've never heard of two devices happening to have the same MAC
    address so I assumed that part of the manufacturing process was to
    allocate a unique, never-to-be-allocated-again address from a pool that
    the vendor had "bought". Sounds like a problem if RasPi have allocated duplicate MAC addresses. It would make sense for the Pi build process to allocate a serial number and a MAC address which were related, so the Pi
    3 calculates it and the Pi 4 reads it from non-vol memory that is set at build time.

    Indeed. Why they do not, is unclear.

    What are the implications of duplicate MAC? Is it only a problem within
    a LAN, or can it be a problem when two devices are on different private
    LANs (192.168.x.x IP addresses) and the only communication is by
    different WAN addresses? Is it worse for IPv6 which has no NAT (network address translation) stage?

    It's only an issue at the local Ethernet level. As a moments thought
    would tell you. Internet addresses do not contain the MAC address, It's
    been stripped out by the boundary router


    --
    How fortunate for governments that the people they administer don't think.

    Adolf Hitler

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Deloptes@3:770/3 to Theo on Thu Jul 14 11:12:02 2022
    Theo wrote:

    The Pi4 has a proper EEPROM holding the boot firmware so there's scope to store the MAC in there - I haven't checked they do that though.

    The MAC is usually burned into the ROM of the internet card.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to The Natural Philosopher on Thu Jul 14 11:26:59 2022
    On Thu, 14 Jul 2022 10:03:59 +0100, The Natural Philosopher wrote:


    Normally there is some kind of prom on board. The software reads it but
    does not have to use it.

    Yes. I've always set IPs for computers on my LAN by putting its IP in "/etc/hosts" (note that the first two lines wrap):

    $ cat /etc/hosts
    127.0.0.1 localhost localhost.localdomain localhost4
    localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6
    localhost6.localdomain6

    192.168.7.5 rpi.gregorie.lan rpi

    and I run a local copy of 'named' on my house server, which resolves the
    names of all computers on my local LAN and passes all other address to
    external name servers for resolution. This works well, with my Pi2 using
    the IP I configured it to use.


    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Thu Jul 14 14:13:21 2022
    Am Donnerstag, 14. Juli 2022, um 09:35:08 Uhr schrieb NY:

    What are the implications of duplicate MAC? Is it only a problem
    within a LAN, or can it be a problem when two devices are on
    different private LANs (192.168.x.x IP addresses) and the only
    communication is by different WAN addresses? Is it worse for IPv6
    which has no NAT (network address translation) stage?

    MAC addresses come from Ethernet and are not related to IP addresses.
    On an ethernet link (the network with patch cables, Repeaters, Hubs and Switched or even Buses for 10 Base2/5) a MAC address must be unique.
    A router separates two ethernet links. NAT is relevant here. IPv4/IPv6
    also not.

    They just have a problem too because packages will not reach their
    intended destination in a switched network if duplicated MACs exist.

    A router just forwards the IP packet. If the other link is also based
    on ethernet new MAC source and targets will be padded to the IP packet
    and are a new frame on a separate link.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From NY@3:770/3 to Martin Gregorie on Thu Jul 14 13:46:29 2022
    "Martin Gregorie" <martin@mydomain.invalid> wrote in message news:taoui3$2moa7$1@dont-email.me...
    On Thu, 14 Jul 2022 10:03:59 +0100, The Natural Philosopher wrote:


    Normally there is some kind of prom on board. The software reads it but
    does not have to use it.

    Yes. I've always set IPs for computers on my LAN by putting its IP in "/etc/hosts" (note that the first two lines wrap):

    $ cat /etc/hosts
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

    192.168.7.5 rpi.gregorie.lan rpi

    and I run a local copy of 'named' on my house server, which resolves the names of all computers on my local LAN and passes all other address to external name servers for resolution. This works well, with my Pi2 using
    the IP I configured it to use.

    I'm intrigued: why would you choose to set the IP address statically at the computer (equivalent of doing so with a Windows PC) rather than keeping the default DHCP configuration and letting the address-reservation feature of almost all modern routers take care of the fixed MAC-IP mapping for those devices which need fixed IP addresses?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From NY@3:770/3 to Marco Moock on Thu Jul 14 13:51:14 2022
    "Marco Moock" <mo01@posteo.de> wrote in message news:20220714141321.3b6a3772@ryz...
    Am Donnerstag, 14. Juli 2022, um 09:35:08 Uhr schrieb NY:

    What are the implications of duplicate MAC? Is it only a problem
    within a LAN, or can it be a problem when two devices are on
    different private LANs (192.168.x.x IP addresses) and the only
    communication is by different WAN addresses? Is it worse for IPv6
    which has no NAT (network address translation) stage?

    MAC addresses come from Ethernet and are not related to IP addresses.
    On an ethernet link (the network with patch cables, Repeaters, Hubs and Switched or even Buses for 10 Base2/5) a MAC address must be unique.
    A router separates two ethernet links. NAT is relevant here. IPv4/IPv6
    also not.

    They just have a problem too because packages will not reach their
    intended destination in a switched network if duplicated MACs exist.

    A router just forwards the IP packet. If the other link is also based
    on ethernet new MAC source and targets will be padded to the IP packet
    and are a new frame on a separate link.

    So *in theory* everybody could use the same set of MAC addresses, as long as
    no two computers *on the same LAN* shared a MAC address?

    I suppose the fact that all network adaptors (apart from Raspberry Pis!)
    have unique MAC addresses is mainly to avoid MAC address clashes for two computers on the same LAN.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jan Panteltje@3:770/3 to me@privacy.invalid on Thu Jul 14 13:44:25 2022
    On a sunny day (Thu, 14 Jul 2022 13:46:29 +0100) it happened "NY" <me@privacy.invalid> wrote in <tap3gl$2ndru$1@dont-email.me>:

    I'm intrigued: why would you choose to set the IP address statically at the >computer (equivalent of doing so with a Windows PC) rather than keeping the >default DHCP configuration and letting the address-reservation feature of >almost all modern routers take care of the fixed MAC-IP mapping for those >devices which need fixed IP addresses?

    variable IP addresses is as practical as having everybodies phone number change every day.
    All computahs on my LAN have fixed IP addresses,
    very useful if you use scp, netcat, ssh, scripts, etc.
    You can also set names for each IP address in /etc/host

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to me@privacy.invalid on Thu Jul 14 14:19:07 2022
    On Thu, 14 Jul 2022 13:51:14 +0100
    "NY" <me@privacy.invalid> wrote:

    So *in theory* everybody could use the same set of MAC addresses, as long
    as no two computers *on the same LAN* shared a MAC address?

    Correct.

    I suppose the fact that all network adaptors (apart from Raspberry Pis!)
    have unique MAC addresses is mainly to avoid MAC address clashes for two computers on the same LAN.

    They don't- that was the original idea but most if not all manufacturers have been repeating for years and then there are virtual machines. Generally the solution to a clash is either change card or
    configure a MAC override for the interface.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to All on Thu Jul 14 16:02:18 2022
    On 14/07/2022 13:46, NY wrote:
    "Martin Gregorie" <martin@mydomain.invalid> wrote in message news:taoui3$2moa7$1@dont-email.me...
    On Thu, 14 Jul 2022 10:03:59 +0100, The Natural Philosopher wrote:


    Normally there is some kind of prom on board. The software reads it but
    does not have to use it.

    Yes. I've always set IPs for computers on my LAN by putting its IP in
    "/etc/hosts" (note that the first two lines wrap):

    $ cat /etc/hosts
    127.0.0.1   localhost localhost.localdomain localhost4
    localhost4.localdomain4
    ::1         localhost localhost.localdomain localhost6
    localhost6.localdomain6

    192.168.7.5 rpi.gregorie.lan rpi

    and I run a local copy of 'named' on my house server, which resolves the
    names of all computers on my local LAN and passes all other address to
    external name servers for resolution. This works well, with my Pi2 using
    the IP I configured it to use.

    I'm intrigued: why would you choose to set the IP address statically at
    the computer (equivalent of doing so with a Windows PC) rather than
    keeping the default DHCP configuration and letting the
    address-reservation feature of almost all modern routers take care of
    the fixed MAC-IP mapping for those devices which need fixed IP addresses?

    So the network still works with the router switched off?

    --
    "I am inclined to tell the truth and dislike people who lie consistently.
    This makes me unfit for the company of people of a Left persuasion, and
    all women"

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Jan Panteltje on Thu Jul 14 16:15:29 2022
    On Thu, 14 Jul 2022 13:44:25 GMT
    Jan Panteltje <pNaonStpealmtje@yahoo.com> wrote:

    variable IP addresses is as practical as having everybodies phone number change every day. All computahs on my LAN have fixed IP addresses,

    I used to do that, and some things like the jailed services still do have fixed IP addresses but most machines (computers, phones, TVs ...) get dynamic addresses and if I'm likely to want to connect to them set a host
    name which gets picked up by the DHCP server and added to the local DNS so
    I never need to care what IP gets used.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From NY@3:770/3 to The Natural Philosopher on Thu Jul 14 16:39:22 2022
    "The Natural Philosopher" <tnp@invalid.invalid> wrote in message news:tapb5q$2o694$1@dont-email.me...
    So the network still works with the router switched off?

    Fair enough. I suppose it allows you to reboot the router or move it from
    one place / mains socket to another. But only if the LAN segments to all the computers are connected via a separate network switch, and none are
    connected by wireless using the router's wifi.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From NY@3:770/3 to Jan Panteltje on Thu Jul 14 16:36:29 2022
    "Jan Panteltje" <pNaonStpealmtje@yahoo.com> wrote in message news:tap74h$2nqhs$1@dont-email.me...
    On a sunny day (Thu, 14 Jul 2022 13:46:29 +0100) it happened "NY" <me@privacy.invalid> wrote in <tap3gl$2ndru$1@dont-email.me>:

    I'm intrigued: why would you choose to set the IP address statically at
    the
    computer (equivalent of doing so with a Windows PC) rather than keeping
    the
    default DHCP configuration and letting the address-reservation feature of >>almost all modern routers take care of the fixed MAC-IP mapping for those >>devices which need fixed IP addresses?

    variable IP addresses is as practical as having everybodies phone number change every day.
    All computahs on my LAN have fixed IP addresses,
    very useful if you use scp, netcat, ssh, scripts, etc.
    You can also set names for each IP address in /etc/host

    I realise the advantages of servers having fixed IP addresses. But that's
    not what I was asking.

    Given that you want a fixed IP address for a given computer, why do you configure it at the computer, rather than at the DHCP router using address reservation?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to All on Thu Jul 14 16:38:37 2022
    On Thu, 14 Jul 2022 16:39:22 +0100, NY wrote:

    "The Natural Philosopher" <tnp@invalid.invalid> wrote in message news:tapb5q$2o694$1@dont-email.me...
    So the network still works with the router switched off?

    Fair enough. I suppose it allows you to reboot the router or move it
    from one place / mains socket to another. But only if the LAN segments
    to all the computers are connected via a separate network switch, and
    none are connected by wireless using the router's wifi.

    Indeed: my gateway router/firewall is separate from my LAN hub, which is
    just a switch.


    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jan Panteltje@3:770/3 to Shot on Thu Jul 14 17:03:51 2022
    On a sunny day (Thu, 14 Jul 2022 16:15:29 +0100) it happened Ahem A Rivet's Shot <steveo@eircom.net> wrote in <20220714161529.009ff787e4546a106f033b54@eircom.net>:

    On Thu, 14 Jul 2022 13:44:25 GMT
    Jan Panteltje <pNaonStpealmtje@yahoo.com> wrote:

    variable IP addresses is as practical as having everybodies phone number
    change every day. All computahs on my LAN have fixed IP addresses,

    I used to do that, and some things like the jailed services still do
    have fixed IP addresses but most machines (computers, phones, TVs ...) get >dynamic addresses and if I'm likely to want to connect to them set a host >name which gets picked up by the DHCP server and added to the local DNS so
    I never need to care what IP gets used.

    I have a lot of Microchip PIC stuff I designed on the LAN,
    IP address and MAC is programmed in EEPROM in those chips, for example the LED light controller.
    WiFi is off here, all is wired, because wifi security is totally broken.

    If I want to go online with my smartphone it has separate prepayed 4G card. When elsewhere I can take the 4G Huawei USB modem stick that now sits in a Pi4 at IP address 192.168.178.1
    configured as router and put it in my laptop, internet everywhere,
    Definitely not a 'normal system'.. But I have full control.
    If something ever needs WiFi then I can always start dhcpcd on some raspi.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Thu Jul 14 20:28:04 2022
    Am Donnerstag, 14. Juli 2022, um 13:51:14 Uhr schrieb NY:

    So *in theory* everybody could use the same set of MAC addresses, as
    long as no two computers *on the same LAN* shared a MAC address?

    Replace LAN with ethernet link and it is true. LAN isn't that specific,
    a local area network CAN be splitted up by routers (common in bigger
    business networks).

    I suppose the fact that all network adaptors (apart from Raspberry
    Pis!) have unique MAC addresses is mainly to avoid MAC address
    clashes for two computers on the same LAN.

    True, is should be possible to put them all together in one ethernet
    link.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Deloptes@3:770/3 to Jan Panteltje on Thu Jul 14 21:48:00 2022
    Jan Panteltje wrote:

    If I want to go online with my smartphone it has separate prepayed 4G
    card. When elsewhere I can take the 4G Huawei USB modem stick that now
    sits in a Pi4 at IP address 192.168.178.1 configured as router and put it
    in my laptop, internet everywhere, Definitely not a 'normal system'.. But
    I have full control. If something ever needs WiFi then I can always start dhcpcd on some raspi.

    In 2006 I bought 2 industrial PCs with 3 LAN ports and built firewall (the
    one is intended as backup of the other). It still works great 16y later
    I put the WLAN modem infront of the firewall and the PCs are behind.

    I find this setup the most simple one.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to Marco Moock on Fri Jul 15 00:03:15 2022
    On 13/07/2022 11:32, Marco Moock wrote:
    Am Dienstag, 12. Januar 106, um 10:41:46 Uhr schrieb Theo:

    Are the MAC addresses in the Broadcom MAC address allocation - I
    think it starts B8: ?

    (a Pi 3 here has B8:27:EB)

    Normally they are assigned to the board manufacturer - regardless of
    the Ethernet controller that is being used.
    My Pi 3 also begins with b8:27:eb that is assigned to Raspberry Pi Foundation.
    The chip is from Microchip Technology, Inc. (formerly SMSC).

    I've got several different types reported by my Pis

    MAC Address: DC:A6:32:XX:XX:XX (Raspberry Pi Trading)
    MAC Address: 08:6A:0A:XX:XX:XX (Askey Computer)
    MAC Address: E4:5F:01:XX:XX:XX (Unknown)
    MAC Address: B8:27:EB:XX:XX:XX (Raspberry Pi Foundation)

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to All on Fri Jul 15 00:26:22 2022
    On 14/07/2022 16:39, NY wrote:
    "The Natural Philosopher" <tnp@invalid.invalid> wrote in message news:tapb5q$2o694$1@dont-email.me...
    So the network still works with the router switched off?

    Fair enough. I suppose it allows you to reboot the router or move it
    from one place / mains socket to another. But only if the LAN segments
    to all the computers are connected via a separate network switch, and
    none are connected by wireless using the router's wifi.
    Do any serious computer people still use wifi?

    --
    The biggest threat to humanity comes from socialism, which has utterly
    diverted our attention away from what really matters to our existential survival, to indulging in navel gazing and faux moral investigations
    into what the world ought to be, whilst we fail utterly to deal with
    what it actually is.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to The Natural Philosopher on Fri Jul 15 01:04:09 2022
    On Fri, 15 Jul 2022 00:26:22 +0100
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    Do any serious computer people still use wifi?

    Most of the house is wired with CAT-6 and most things are plugged in but I fitted a couple of Unifi ceiling mount APs a few years back, there
    are a number of things in the house that use them - phones, laptops, a TV
    that gets moved around, visitors ... it works fine. But then I live out in
    the country where the neighbours are far enough away that there's no interference and someone wardriving would be very conspicuous.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Fri Jul 15 08:37:14 2022
    Am Freitag, 15. Juli 2022, um 00:03:15 Uhr schrieb druck:

    On 13/07/2022 11:32, Marco Moock wrote:
    The chip is from Microchip Technology, Inc. (formerly SMSC).

    I've got several different types reported by my Pis

    MAC Address: DC:A6:32:XX:XX:XX (Raspberry Pi Trading)
    MAC Address: 08:6A:0A:XX:XX:XX (Askey Computer)
    MAC Address: E4:5F:01:XX:XX:XX (Unknown)
    MAC Address: B8:27:EB:XX:XX:XX (Raspberry Pi Foundation)

    The MAC addresses are assigned to the Board - regardless of which
    ethernet controller is being used. I have an ASUS motherbaord with a
    Realtek chip, the MAC is assigned to ASUS.
    Some vendors like Intel have more than one manufacturer code. It seems
    that Raspi also has that.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From NY@3:770/3 to The Natural Philosopher on Fri Jul 15 11:51:03 2022
    "The Natural Philosopher" <tnp@invalid.invalid> wrote in message news:taq8mu$2r7g1$1@dont-email.me...
    On 14/07/2022 16:39, NY wrote:
    "The Natural Philosopher" <tnp@invalid.invalid> wrote in message
    news:tapb5q$2o694$1@dont-email.me...
    So the network still works with the router switched off?

    Fair enough. I suppose it allows you to reboot the router or move it from
    one place / mains socket to another. But only if the LAN segments to all
    the computers are connected via a separate network switch, and none are
    connected by wireless using the router's wifi.
    Do any serious computer people still use wifi?

    I use Ethernet for my computers, including my PVR computer etc, and the TV. Everything which it is easy to cable to the router. And things which need a reliable connection - my experience with wifi is that it can sometimes go
    loopy (lost connection or unusually slow) which requires a device to be rebooted, which is not possible when you are trying to access a computer remotely over Teamviewer or Real VNC while away from home.

    I also have a Linksys Velop mesh network which provides wifi to the rest of
    the house, for portable devices like laptops, phones, tablets which mainly
    need to access the internet but which don't generate heavy traffic within
    the house. Having said that, my laptop can quite happily access my PVR over wifi, for editing out continuity/commercials for programmes that I want to keep. It's a bit slower than Ethernet: it seems to average about 30-70
    MB/sec (so about 300 - 700 Mb/sec) rather than about 80 MB/sec over
    Ethernet, but that's only an issue for local traffic, because internet WAN traffic is limited to around 30 for my FTTC connection.

    Both Ethernet and wifi have their place. It's a damn sight easier to use
    wifi than to have to run Cat7 cable up into the loft, and then down into
    other rooms, just for wifi-only devices like phones and tablets. One of the mesh nodes also feeds Ethernet to the Hive hub which needs to be within wireless (proprietary, not wifi) range of the thermostats and the central heating controller, so can't be placed near the router (I tried...).

    The problem with the Velop system is that you can't control which nodes do
    or don't have 2.4 GHz enabled - its all or none. I have a few older devices that only talk 2.4 and not 5 GHz, so I need 2.4 turned on, but that means
    that the five nodes have overlapping 2.4 coverage if they are placed just at the limiting distance for 5 GHz backhaul to the primary node. This means
    that if there is a power cut and the nodes all turn on simultaneously, they spend a long time faffing around while they try to work out which 2.4
    channels they can use to minimise overlaps. I did have 6 nodes but I found
    out by trial and error than if one of them was turned off, I still got good coverage and it took less time for nodes to negotiate channels.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Don@3:770/3 to Marco Moock on Fri Jul 15 18:47:29 2022
    Marco Moock wrote:
    schrieb druck:
    Marco Moock wrote:
    The chip is from Microchip Technology, Inc. (formerly SMSC).

    I've got several different types reported by my Pis

    MAC Address: DC:A6:32:XX:XX:XX (Raspberry Pi Trading)
    MAC Address: 08:6A:0A:XX:XX:XX (Askey Computer)
    MAC Address: E4:5F:01:XX:XX:XX (Unknown)
    MAC Address: B8:27:EB:XX:XX:XX (Raspberry Pi Foundation)

    The MAC addresses are assigned to the Board - regardless of which
    ethernet controller is being used. I have an ASUS motherbaord with a
    Realtek chip, the MAC is assigned to ASUS.
    Some vendors like Intel have more than one manufacturer code. It seems
    that Raspi also has that.

    Allow me to add a few details.

    My company deploys Cisco routers. Each Cisco router uses only one MAC
    for all of its ethernet ports.

    The first three groups of two hexadecimal digits in a MAC typically
    designate a manufacturer's organizationally unique identifier (OUI):

    https://gitlab.com/wireshark/wireshark/-/raw/master/manuf

    My company manages several WiFi networks. The OUI is used to identify
    devices (typically smart phones) erroneously connected to the wrong WiFi network. The OUI of many phones turns out to be "Unknown." Here's why:

    According to Edward Snowden, the US National Security Agency
    has a system that tracks the movements of mobile devices in
    a city by monitoring MAC addresses.[20] To avert this practice,
    Apple has started using random MAC addresses in iOS devices
    while scanning for networks. Other vendors followed quickly.
    MAC address randomization during scanning was added in Android
    starting from version 6.0, Windows 10, and Linux kernel 3.18.

    https://en.wikipedia.org/wiki/MAC_address#Randomization

    Danke,

    --
    Don, KB7RPU, https://www.qsl.net/kb7rpu
    There was a young lady named Bright Whose speed was far faster than light;
    She set out one day In a relative way And returned on the previous night.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Sat Jul 16 07:59:29 2022
    Am Freitag, 15. Juli 2022, um 18:47:29 Uhr schrieb Don:

    My company deploys Cisco routers. Each Cisco router uses only one MAC
    for all of its ethernet ports.

    Is that really the case?
    What about the virtual VLAN ports?
    These can be interconnected with each other. Doesn't that create
    problems when they all have the same MAC address?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From =?UTF-8?Q?Bj=c3=b6rn_Lundin?=@3:770/3 to All on Sat Jul 16 11:52:40 2022
    Den 2022-07-14 kl. 10:35, skrev NY:


    What are the implications of duplicate MAC? Is it only a problem within
    a LAN, or can it be a problem when two devices are on different private
    LANs (192.168.x.x IP addresses) and the only communication is by
    different WAN addresses?


    Easy to test with virtual machines.
    You get a random MAC from the setup - but you may set it to what you'd like.

    I think ARP only works withn the same subnet.
    Or at least ARP is non-routable.

    So same MAC on devices on networks that need routing between them are ok.

    On same network - bad idea


    --
    Björn

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to All on Sat Jul 16 12:19:01 2022
    On 16/07/2022 10:52, Björn Lundin wrote:
    Den 2022-07-14 kl. 10:35, skrev NY:


    What are the implications of duplicate MAC? Is it only a problem
    within a LAN, or can it be a problem when two devices are on different
    private LANs (192.168.x.x IP addresses) and the only communication is
    by different WAN addresses?


    Easy to test with virtual machines.
    You get a random MAC from the setup - but you may set it to what you'd
    like.

    I think ARP only works withn the same subnet.
    Or at least ARP is non-routable.

    ARP is an ethernet protocol really as much as an IP protocol.



    So same MAC on devices on networks that need routing between them are ok.

    On same network - bad idea


    Yup.


    --
    You can get much farther with a kind word and a gun than you can with a
    kind word alone.

    Al Capone

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Sat Jul 16 16:34:08 2022
    Am Samstag, 16. Juli 2022, um 11:52:40 Uhr schrieb Björn Lundin:

    I think ARP only works withn the same subnet.
    Or at least ARP is non-routable.

    ARP is an Ethernet protocol like IPv4 and IPv6. Only IPv4 and IPv6 will
    be forwarded (routed) to another Ethernet link by a router. ARP isn't
    IPv6 nor IPv4, so won't be forwarded. It will stay inside the Ethernet
    link is was sent on, sometimes referred as broadcast domain because ARP
    is being sent to FF:FF:FF:FF:FF:FF (Ethernet broadcast address).
    ARP only makes sense if the recipient is on the same Ethernet link.

    So same MAC on devices on networks that need routing between them are
    ok.

    On same network - bad idea

    Not completely right. It is possible to have more than one subnet on
    one Ethernet link. For IPv6 this is the default (fe80::/64 and
    2001:db8::/64 e.g.). A MAC address MUST be unique inside one Ethernet
    link, regardless of the subnets used by IPv4 and IPv6.
    IPv4 and IPv6 are protocols above Ethernet and have nothing (directly)
    to do with Ethernet.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Marco Moock on Sat Jul 16 18:10:15 2022
    On Sat, 16 Jul 2022 16:34:08 +0200
    Marco Moock <mo01@posteo.de> wrote:

    ARP is an Ethernet protocol like IPv4 and IPv6.

    This is wrong! (everything else you said was right though).

    ARP is a protocol specifically for IP over ethernet, it provides the mapping between ethernet addresses (MAC) and IP addresses.

    IPv4 and IPv6 are however *not* ethernet protocols. They can be (and often are) carried over ethernet but they can also be carried over serial
    lines with SLIP or PPP, token ring networks, carrier pigeons, DNS updates
    and *any* other packet or stream based communication channel.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Sat Jul 16 20:47:23 2022
    Am Samstag, 16. Juli 2022, um 18:10:15 Uhr schrieb Ahem A Rivet's Shot:

    On Sat, 16 Jul 2022 16:34:08 +0200
    Marco Moock <mo01@posteo.de> wrote:

    ARP is an Ethernet protocol like IPv4 and IPv6.

    This is wrong! (everything else you said was right though).

    ARP is a protocol specifically for IP over ethernet, it
    provides the mapping between ethernet addresses (MAC) and IP
    addresses.

    IPv4 and IPv6 are however *not* ethernet protocols. They can
    be (and often are) carried over ethernet but they can also be carried
    over serial lines with SLIP or PPP, token ring networks, carrier
    pigeons, DNS updates and *any* other packet or stream based
    communication channel.

    ARP makes no sense without ethernet, there you are right, but what is
    the difference to other protocols?
    Both are just payload for Ethernet. I am aware that there are other
    physical layer protocols that can carry IPv4/IPv6.
    Additionally, ARP is only for mapping IPv4 addresses to MAC addresses.
    For IPv6 the Neighbor Discovery Protocol (NDP) exists that uses ICMPv6
    inside of an IPv6 packet, so it is not a separate Protocol like ARP for
    IPv4.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From =?iso-8859-1?b?Qmr2cm4=?= Lundin@3:770/3 to Marco Moock on Sat Jul 16 19:49:41 2022
    On Sat, 16 Jul 2022 20:47:23 +0200, Marco Moock wrote:

    Additionally, ARP is only for mapping IPv4 addresses to MAC addresses.

    Which is why I brought i up.
    Someone (OP?) wanted to know impact on network with duplicate MACs
    It will be difficult doing that mapping if there is a one-to-many relation between IP-addresses and MACs

    --
    Björn (who is trying out Pan now)

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From A. Dumas@3:770/3 to Martin Gregorie on Sat Jul 16 19:55:01 2022
    Martin Gregorie <martin@mydomain.invalid> wrote:
    Indeed: my gateway router/firewall is separate from my LAN hub, which is
    just a switch.

    Hubs and switches are different things. A hub is dumb, connects everything
    to everything. A switch knows about network addresses. So it's "just a hub"
    or "a switch".

    It is getting more difficult to find true hubs, though, because of
    featuritis.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Don@3:770/3 to Marco Moock on Sat Jul 16 20:02:00 2022
    Marco Moock wrote:
    schrieb Don:

    My company deploys Cisco routers. Each Cisco router uses only one MAC
    for all of its ethernet ports.

    Is that really the case?
    What about the virtual VLAN ports?
    These can be interconnected with each other. Doesn't that create
    problems when they all have the same MAC address?

    Yes, it is really the case. Here's a pertinent ARP dump for a Cisco
    modular router (with two built-in ethernet ports) populated by one
    additional module (with four built-in ethernet ports);

    #sh arp

    Protocol Address Age (min) Hardware Addr Type Interface
    Internet xx.xx.xxx.243 - f872.eae5.3301 ARPA GigabitEthernet0/1 Internet xx.xx.xxx.244 - f872.eae5.3301 ARPA GigabitEthernet0/1 Internet xx.xx.xxx.245 - f872.eae5.3301 ARPA GigabitEthernet0/1 Internet xx.xx.xxx.246 0 04bf.6db5.ae76 ARPA GigabitEthernet0/1 Internet 172.18.0.1 - f872.eae5.3300 ARPA Vlan18
    Internet 192.168.0.1 - f872.eae5.3300 ARPA GigabitEthernet0/0 Internet 192.168.51.1 - f872.eae5.3300 ARPA Vlan51
    Internet 192.168.54.1 - f872.eae5.3300 ARPA Vlan54

    The first, all-identical, part of the router's public IP address
    block has been manually obfuscated with x. The 04bf.6db5.ae76 originates
    with the modem, not the router.
    As you can plainly see, Cisco IOS doesn't use ARP for intra-router operations. Also, it's too much of a coincidence for a generic modular
    router to end in 3301 while a random module ends in 3300. Ergo, Cisco
    IOS apparently creates ARPs ad hoc, as needed. In other words, ARPs
    are not "burned" into flash memory at the Cisco factory.

    Danke,

    --
    Don, KB7RPU, https://www.qsl.net/kb7rpu
    There was a young lady named Bright Whose speed was far faster than light;
    She set out one day In a relative way And returned on the previous night.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Sat Jul 16 22:25:01 2022
    Am Samstag, 16. Juli 2022, um 19:55:01 Uhr schrieb A. Dumas:

    Martin Gregorie <martin@mydomain.invalid> wrote:
    Indeed: my gateway router/firewall is separate from my LAN hub,
    which is just a switch.

    Hubs and switches are different things. A hub is dumb, connects
    everything to everything. A switch knows about network addresses. So
    it's "just a hub" or "a switch".

    A switch/bridge 8sometimes called multiport bridge) knows about the MAC addresses, it doesn't care about IPv4/IPv6. I am aware that layer3
    switches exist, but these are just routers with another name and many switchports included.
    Additionally, a hub can either run 10BaseT half duplex or 100BaseTX
    half duplex. Some can handle both speeds and have an internal 2 port
    switch inside.

    It is getting more difficult to find true hubs, though, because of featuritis.

    Hubs only exist for 10/100 MBit/s. For Gigabit I have never seen one.
    Some managed switched support a mirror mode that makes them act like a
    good old hub.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Sat Jul 16 22:21:41 2022
    Am Samstag, 16. Juli 2022, um 19:49:41 Uhr schrieb Björn Lundin:

    It will be difficult doing that mapping if there is a one-to-many
    relation between IP-addresses and MACs

    More than 1 IP for a single MAC is ok, but the same MAC 2 times creates problems when a switch or a bridge is being used because the port/MAC
    table will change every time a frame with the source MAC travels
    through the switch and the data won't reach its goal, it is mostly
    random on which port they will go out. It would be interesting what
    happens when 2 equal MAC addresses are used in a hub network or a bus.
    Maybe someone is willing to try that out in a test environment.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Ahem A Rivet's Shot on Sat Jul 16 23:56:16 2022
    On 16/07/2022 18:10, Ahem A Rivet's Shot wrote:
    On Sat, 16 Jul 2022 16:34:08 +0200
    Marco Moock <mo01@posteo.de> wrote:

    ARP is an Ethernet protocol like IPv4 and IPv6.

    This is wrong! (everything else you said was right though).

    ARP is a protocol specifically for IP over ethernet, it provides the mapping between ethernet addresses (MAC) and IP addresses.

    It is not just for Ethernet. It also works on e.g. WiFi and Decnet to
    name but two


    IPv4 and IPv6 are however *not* ethernet protocols. They can be (and often are) carried over ethernet but they can also be carried over serial lines with SLIP or PPP, token ring networks, carrier pigeons, DNS updates
    and *any* other packet or stream based communication channel.



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

    Billy Connolly

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to All on Sat Jul 16 23:57:41 2022
    On 16/07/2022 20:49, Björn Lundin wrote:
    On Sat, 16 Jul 2022 20:47:23 +0200, Marco Moock wrote:

    Additionally, ARP is only for mapping IPv4 addresses to MAC addresses.

    Which is why I brought i up.
    Someone (OP?) wanted to know impact on network with duplicate MACs
    It will be difficult doing that mapping if there is a one-to-many relation between IP-addresses and MACs

    Yes. Or rather the other way round - a one to many relation between mac addresses and IP addresses....

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

    Billy Connolly

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Sun Jul 17 10:41:44 2022
    Am Samstag, 16. Juli 2022, um 23:57:41 Uhr schrieb The Natural
    Philosopher:

    Yes. Or rather the other way round - a one to many relation between
    mac addresses and IP addresses....

    This does work and is common.
    Think about a host with the addresses 2001:db8::1234/64 and
    fe80::1234:acbd/64 on one interface (normal state).
    Both point to the same MAC address.
    If IPv4 is also in use, the IPv4 address also points to that MAC
    address.
    A problem is if 2 computers have the same IP address because (only if
    they don't implement DAD) they will both answer the ARP/NDP request.
    Such a situation must not exist in a network.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Sun Jul 17 10:42:52 2022
    Am Samstag, 16. Juli 2022, um 23:56:16 Uhr schrieb The Natural
    Philosopher:

    It is not just for Ethernet. It also works on e.g. WiFi and Decnet to
    name but two

    Is the ARP protocol for Ethernet different from ARP for WiFi?
    They both use MAC addresses, the only difference I know is that WiFi
    supports a hight MTU than Ethernet.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Marco Moock on Sun Jul 17 11:01:48 2022
    On Sun, 17 Jul 2022 10:42:52 +0200
    Marco Moock <mo01@posteo.de> wrote:

    Am Samstag, 16. Juli 2022, um 23:56:16 Uhr schrieb The Natural
    Philosopher:

    It is not just for Ethernet. It also works on e.g. WiFi and Decnet to
    name but two

    Is the ARP protocol for Ethernet different from ARP for WiFi?
    They both use MAC addresses, the only difference I know is that WiFi
    supports a hight MTU than Ethernet.

    WiFi and ethernet (from 3Mbps thicknet to 100 gig fibre and beyond)
    are all members of the IEEE-802 family of protocols as such they have many things in common, in particular framing and addressing which means they can
    all be bridged. There are of course variations around the family - maximum
    MTU being one of them. The gigabit and up wired standards support "Jumbo" frames with the limit set in hardware (9000 bytes is a common safe figure)
    the card in this workstation apparently supports up to 16114 - but the
    switch at the other end only goes to 9000.

    IME jumbo frames only really start to make a big difference at 10
    gig and above where they're pretty much essential.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Tauno Voipio@3:770/3 to Marco Moock on Sun Jul 17 19:27:42 2022
    On 17.7.22 11.42, Marco Moock wrote:
    Am Samstag, 16. Juli 2022, um 23:56:16 Uhr schrieb The Natural
    Philosopher:

    It is not just for Ethernet. It also works on e.g. WiFi and Decnet to
    name but two

    Is the ARP protocol for Ethernet different from ARP for WiFi?
    They both use MAC addresses, the only difference I know is that WiFi
    supports a hight MTU than Ethernet.

    ARP is a protocol for resolving IPv4 addresses from hardware
    addresses in a broadcast-capable local net. IPv6 has its
    own neighbor discovery protocol.

    Beside Ethernet, the current IANA hardware type catalog
    lists 39 other hardware types, including e.g. Token Ring,
    ARCNET, ATM and SDLC/HDLC.

    --

    -TV

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Tauno Voipio on Mon Jul 18 08:42:47 2022
    On 17/07/2022 17:27, Tauno Voipio wrote:
    On 17.7.22 11.42, Marco Moock wrote:
    Am Samstag, 16. Juli 2022, um 23:56:16 Uhr schrieb The Natural
    Philosopher:

    It is not just for Ethernet. It also works on e.g. WiFi and Decnet to
    name but two

    Is the ARP protocol for Ethernet different from ARP for WiFi?
    They both use MAC addresses, the only difference I know is that WiFi
    supports a hight MTU than Ethernet.

    ARP is a protocol for resolving IPv4 addresses from hardware
    addresses in a broadcast-capable local net. IPv6 has its
    own neighbor discovery protocol.

    Beside Ethernet, the current IANA hardware type catalog
    lists 39 other hardware types, including e.g. Token Ring,
    ARCNET, ATM and SDLC/HDLC.

    That many? Wow. Blast from the past that lot are.

    --
    “I know that most men, including those at ease with problems of the greatest complexity, can seldom accept even the simplest and most
    obvious truth if it be such as would oblige them to admit the falsity of conclusions which they have delighted in explaining to colleagues, which
    they have proudly taught to others, and which they have woven, thread by thread, into the fabric of their lives.”

    ― Leo Tolstoy

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Mon Jul 18 20:25:56 2022
    Am Sonntag, 17. Juli 2022, um 19:27:42 Uhr schrieb Tauno Voipio:

    Beside Ethernet, the current IANA hardware type catalog
    lists 39 other hardware types, including e.g. Token Ring,
    ARCNET, ATM and SDLC/HDLC.

    Could you please give a link?
    It would interest me.
    I only know Ethernet with its many standard like 10BaseT, 10Base2 etc.
    ARCNET, TokenRing/TokenBu and WiFi.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Tauno Voipio@3:770/3 to Marco Moock on Tue Jul 19 12:00:03 2022
    On 18.7.2022 21:25 PM, Marco Moock wrote:
    Am Sonntag, 17. Juli 2022, um 19:27:42 Uhr schrieb Tauno Voipio:

    Beside Ethernet, the current IANA hardware type catalog
    lists 39 other hardware types, including e.g. Token Ring,
    ARCNET, ATM and SDLC/HDLC.

    Could you please give a link?
    It would interest me.
    I only know Ethernet with its many standard like 10BaseT, 10Base2 etc. ARCNET, TokenRing/TokenBu and WiFi.


    Here:

    <https://www.iana.org/assignments/arp-parameters/arp-parameters.xhtml>

    Look at Hardware Types.

    --

    -TV

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From TassieBob@3:633/420 to Marco Moock on Mon Jul 18 09:11:10 2022
    My company deploys Cisco routers. Each Cisco router uses only one MAC
    for all of its ethernet ports.

    Is that really the case?

    Not on the Cisco's I use daily - each port has a unique MAC.

    They're all derived off the same base MAC address - so the box I'm working on right now has 7cf8.809e.4000 as the base MAC address, and the first 100G port uses that. The 2nd 100G port is .4004, the 3rd 100G port is .4008, and so on. I assume they go up in 4's because the 100G's are QSFP ports and can readily be replaced with PLR4's, turning a single 100G into 4 x 10G, and hence would need 4 unique MAC's.

    --- GoldED+/LNX 1.1.5-b20220504
    * Origin: TassieBob's BBS (3:633/420)
  • From Andy Burns@3:770/3 to TassieBob on Wed Jul 20 10:38:57 2022
    TassieBob wrote:

    >> My company deploys Cisco routers. Each Cisco router uses only one MAC
    >> for all of its ethernet ports.

    MM> Is that really the case?

    Not on the Cisco's I use daily - each port has a unique MAC.

    cisco L3 switch, rather than cisco router?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Wed Jul 20 14:00:45 2022
    Am Mittwoch, 20. Juli 2022, um 10:38:57 Uhr schrieb Andy Burns:

    cisco L3 switch, rather than cisco router?

    Despite the name - they do the same activities. Current cisco routers
    don't even allow routing based on physical ports. They also provide
    switching capabilities on all their ports.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From TassieBob@3:633/420 to Andy Burns on Wed Jul 20 22:20:34 2022
    Not on the Cisco's I use daily - each port has a unique MAC.

    cisco L3 switch, rather than cisco router?

    Cisco NCS540/55x1 mostly. I'd be surprised if our ASR's weren't the same, but I can't say I've looked.


    --- GoldED+/LNX 1.1.5-b20220504
    * Origin: TassieBob's BBS (3:633/420)
  • From Andy Burns@3:770/3 to Marco Moock on Wed Jul 20 14:22:03 2022
    Marco Moock wrote:

    schrieb Andy Burns:

    cisco L3 switch, rather than cisco router?

    Despite the name - they do the same activities.

    agreed, but they sell devices they call switches, and they sell other devices they call routers.

    Current cisco routers
    don't even allow routing based on physical ports.

    even if you do a "no switchport" on the interface?

    They also provide
    switching capabilities on all their ports.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Don@3:770/3 to Andy Burns on Wed Jul 20 17:04:58 2022
    *** typos in original followup corrected ***

    Andy Burns wrote:
    Marco Moock wrote:
    schrieb Andy Burns:

    cisco L3 switch, rather than cisco router?

    Despite the name - they do the same activities.

    agreed, but they sell devices they call switches, and they sell other devices they call routers.

    My company deploys humble Cisco hardware. (Thank God almighty!) And, in
    my circumstance, the devices Cisco calls routers do different activities
    than the devices they call switches.
    For instance, let's take a peek at the unique ip configuration
    subcommands for my humble routers:

    ------------------------------------------------------------------------
    Global IP configuration subcommands:
    as-path BGP autonomous system path filter
    bgp-community format for BGP community
    bootp Config BOOTP services
    cef Cisco Express Forwarding
    classless Follow classless routing forwarding rules
    community-list Add a community list entry
    ddns Configure dynamic DNS
    default-network Flags networks as candidates for default routes
    dns Configure DNS server for a zone
    extcommunity-list Add a extended community list entry
    forward-protocol Controls forwarding of physical and directed IP broadcasts
    host-list Configure a host list
    identd Ident server
    mfib Multicast Forwarding
    mrm Configure IP Multicast Routing Monitor test parameters
    mroute Configure static multicast routes
    msdp MSDP global commands
    multicast Global IP Multicast Commands
    multicast-routing Enable IP multicast forwarding
    nat NAT configuration commands
    nbar NBAR - Network Based Application Recognition
    ospf OSPF
    pim PIM global commands
    policy-list Define IP Policy list
    prefix-list Build a prefix list
    rsvp Configure static RSVP information
    rtcp RTCP parameters
    sap Global IP Multicast SAP Commands
    sctp Global SCTP parameters
    traffic-export IP traffic export configuration commands
    trigger-authentication Trigger-authentication configurations parameters
    udptn UDPTN configuration commands
    vrf Configure an IP VPN Routing/Forwarding instance
    wccp Web-Cache Coordination Protocol Commands ------------------------------------------------------------------------

    Here's the unique ip configuration subcommands offered on my humble switches:

    ------------------------------------------------------------------------
    Global IP configuration subcommands:
    admission Network Admission Control (NAC)
    auth-proxy Authentication Proxy
    device Device tracking
    source IP source
    sticky-arp Allow the creation of sticky ARP entries ------------------------------------------------------------------------

    Danke,

    --
    Don, KB7RPU, https://www.qsl.net/kb7rpu
    There was a young lady named Bright Whose speed was far faster than light;
    She set out one day In a relative way And returned on the previous night.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Thu Jul 21 10:58:16 2022
    Am Mittwoch, 20. Juli 2022, um 17:04:58 Uhr schrieb Don:

    *** typos in original followup corrected ***

    Andy Burns wrote:
    Marco Moock wrote:
    schrieb Andy Burns:

    cisco L3 switch, rather than cisco router?

    Despite the name - they do the same activities.

    agreed, but they sell devices they call switches, and they sell
    other devices they call routers.

    My company deploys humble Cisco hardware. (Thank God almighty!) And,
    in my circumstance, the devices Cisco calls routers do different
    activities than the devices they call switches.
    For instance, let's take a peek at the unique ip configuration subcommands for my humble routers:

    They have a different feature set, but the name L3 switch is just the
    same as router.

    Some of their high performance routers also don't support NAT nor SPI firewalling. Some ISR models can be extended with licenses.

    But from the specification, a layer 3 switch does the same as a router
    - routing IP packets.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Thu Jul 21 10:54:14 2022
    Am Mittwoch, 20. Juli 2022, um 14:22:03 Uhr schrieb Andy Burns:

    even if you do a "no switchport" on the interface?

    I haven't tried that yet.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From TassieBob@3:633/420 to Don on Thu Jul 21 21:42:42 2022
    My company deploys humble Cisco hardware. (Thank God almighty!) And,

    Years ago I'd have agreed with that sentiment. These days their software quality is questionable at best ("dumpster fire" is a commonly used phrase). At least for the boxes I use daily - XR based, in the terabit throughput bracket.


    --- GoldED+/LNX 1.1.5-b20220504
    * Origin: TassieBob's BBS (3:633/420)