
On Sun, Apr 30, 2023 at 6:32 PM Scott Allen <mlxxxp@gmail.com> wrote:
On Sun, 30 Apr 2023 at 18:53, o1bigtenor via talk <talk@gtalug.org> wrote:
PasberryPi Pico w lan 8720 module (I lprefer wired communications - - security)
I found this article: https://www.raspberrypi.com/news/how-to-add-ethernet-to-raspberry-pi-pico/
If you follow it, your Pico will obtain an IP address from the router (or other DCHP server) using DHCP. Therefore, for example, if you set your router's DHCP server to assign addresses for 172.16.0.0 with a mask of 255.255.0.0 (or 172.16.0.0/16), it would be able to hand out up to 65534 IPv4 addresses (not including the router itself) in the range of 172.16.0.1 to 172.16.255.254
If you need the Pico to have a fixed IP address, most DHCP servers can be set to assign specific IP addresses based on the device's MAC address.
I haven't looked further but it's also very likely that you can configure the ethernet port of the Pico itself to have a static IP address and a mask of any length.
Also the article that I had read. What you have written is the direction that I've been thinking. Its easy- - its straightforward. I understand its not sexy - - - like using the 192.168.1.1/16 but it will get the job done. My only concern is what I do for when I switch to ipv6 (its in the cards likely inside of 18 to 24 months) - - - - the information that I've found on ipv6 so far is all for small scale networks - - - under 30 or so devices - - - - maybe I'll have to start looking for information on ipv6 and 500 to 2000 devices. Oh well - - - - thanks to one and all for the information. Hopefully was at least somewhat interesting - - - - grin. Regards