I think I would try a static address before trying anything else.
Roger Mills wrote:
Sounds like an address conflict somewhere.
agree, have you got multiple devices providing DHCP?
Sounds like an address conflict somewhere.
Sounds like an address conflict somewhere. Was the Pi previously being
given an address between 100 and 150 but now gets one that's above 150?
Are you sure that there's nothing to which you've given a static address which is within the previous DHCP available range but now isn't?
agree, have you got multiple devices providing DHCP?
On 26/11/2024 08:55, Harry Bloomfield Esq wrote:
On 25/11/2024 22:33, Roger Mills wrote:
Sounds like an address conflict somewhere. Was the Pi previously being
given an address between 100 and 150 but now gets one that's above
150? Are you sure that there's nothing to which you've given a static
address which is within the previous DHCP available range but now isn't?
As said, it has been a regular problem, and for years. Inacessible, slow
to respond, or sometimes works just fine. It was appearing at 102, until
I changed the DHCP range yesterday, to above 150, which moved the Pi to
one in the 250+ range, and it began responding instantly.
This morning it has moved to 229, I can ping it at that address OK, but
it is again inacessible.
Many routers will allow you to lock a MAC address to an IP address so
that DHCP always gives a particular device the same IP address. Not
only does that prevent the address from moving around, but the router
will also know not to allocate anything else to that address.
This is better than simply setting a static address because you don't
need to remember to avoid conflicts yourself - it gets done for you.
A slow response on a first ping of a group is not unusual for a device
that is only used occasionally. Intermediate switches may need to
update their MAC tables so that they know which port leads to the destination. This information times out if a particular address is
not accessed for a while.
On 25/11/2024 22:33, Roger Mills wrote:available range but now isn't?
Sounds like an address conflict somewhere. Was the Pi previously being given an address between 100 and 150 but now gets one that's above 150? Are you sure that there's nothing to which you've given a static address which is within the previous DHCP
As said, it has been a regular problem, and for years. Inacessible, slow to respond, or sometimes works just fine. It was appearing at 102, until I changed the DHCP range yesterday, to above 150, which moved the Pi to one in the 250+ range, and itbegan responding instantly.
This morning it has moved to 229, I can ping it at that address OK, but it is again inacessible.
On 26/11/2024 07:48, Andy Burns wrote:
agree, have you got multiple devices providing DHCP?
No, I have the new main router in the loft, doing the DHCP. That wire
feeds a second router in the living room. The main one also feeds a wifi repeater, out in the garden. both the latter, have DHCP disabled.
Even before these last two were installed, there were issues accessing
the Pi.
Apart from the Pi, I have numerous other devices on the LAN, both wired,
and wifi. Nothing else seems to have an issue, apart from the Pi, which
is wired LAN.
On 26/11/2024 09:31, Chris Green wrote:
John R Walliker <jrwalliker@gmail.com> wrote:
On 26/11/2024 08:55, Harry Bloomfield Esq wrote:
On 25/11/2024 22:33, Roger Mills wrote:
Sounds like an address conflict somewhere. Was the Pi previously being >>>> given an address between 100 and 150 but now gets one that's aboveAs said, it has been a regular problem, and for years. Inacessible, slow >>> to respond, or sometimes works just fine. It was appearing at 102, until >>> I changed the DHCP range yesterday, to above 150, which moved the Pi to >>> one in the 250+ range, and it began responding instantly.
150? Are you sure that there's nothing to which you've given a static >>>> address which is within the previous DHCP available range but now isn't? >>>
This morning it has moved to 229, I can ping it at that address OK, but >>> it is again inacessible.
Many routers will allow you to lock a MAC address to an IP address so
that DHCP always gives a particular device the same IP address. Not
only does that prevent the address from moving around, but the router
will also know not to allocate anything else to that address.
This is better than simply setting a static address because you don't
need to remember to avoid conflicts yourself - it gets done for you.
A slow response on a first ping of a group is not unusual for a device
that is only used occasionally. Intermediate switches may need to
update their MAC tables so that they know which port leads to the
destination. This information times out if a particular address is
not accessed for a while.
In the real world the address won't move around for any particular
device on the LAN, the router will always assign the same address when
the device asks for it. The only time that addresses will change is
if you have so many devices the router runs out of addresses and has
to re-use one.
I have seen some routers that move addresses around every day without
there being too many devices for the size of the address allocation.
They are clearly broken, but they are out there!
John
Andy Burns wrote:
Roger Mills wrote:
Sounds like an address conflict somewhere.
agree, have you got multiple devices providing DHCP?
The wrong device may be replying to your pings, check arp tables to see
if the expected MAC addr is being used for the IP that should be web
serving ...
Yup the interactions with various caches and moving IP addresses can be subtle at times.
Ethernet Port Sleep Mode?
Wed Apr 10, 2019
https://forums.raspberrypi.com/viewtopic.php?t=237842
It could be related to that.
Many routers will allow you to lock a MAC address to an IP address so
that DHCP always gives a particular device the same IP address. Not
only does that prevent the address from moving around, but the router
will also know not to allocate anything else to that address.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 493 |
Nodes: | 16 (2 / 14) |
Uptime: | 31:42:11 |
Calls: | 9,740 |
Files: | 13,741 |
Messages: | 6,183,148 |