-
Notifications
You must be signed in to change notification settings - Fork 932
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve LAN preview network to detect local ip properly (#7170)
- Loading branch information
1 parent
dda85cf
commit 13aab9a
Showing
1 changed file
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13aab9a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another prefix that is occasionally used is the
100.64.0.0/10
. It is meant for NAT technically, but in practice it is reserved for private networks and used at the discretion of the ISP, and when you've got a funky ISP, like for example my university network which is its own ISP, they can use them as normal local addresses (speaking from experience, writing this comment from a network where my computer's local IP is in this range 😅)... it's also the IP range used by VPNs like tailscale, which some users might be using to put devices on the same (virtual) private network when they wouldn't normally be able to access each other!Another thing is IPv6, it maybe shouldn't be thrown out the window like that.... Another funky network I've had experience with is the one my workstation is connected to, which only assigns IPv6 addresses locally, no local IPv4... 😓