this post was submitted on 10 Nov 2024
32 points (92.1% liked)
Explain Like I'm Five
14263 readers
295 users here now
Simplifying Complexity, One Answer at a Time!
Rules
- Be respectful and inclusive.
- No harassment, hate speech, or trolling.
- Engage in constructive discussions.
- Share relevant content.
- Follow guidelines and moderators' instructions.
- Use appropriate language and tone.
- Report violations.
- Foster a continuous learning environment.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Just because you have IPv6 enabled doesn't mean you don't have IPv4. Both can coexist on the same network and the same device so your router can be 192.168.0.1 and some IPv6 address at the same time.
On top of that, many routers can be reached by a well-known hostname or domain, depending on their manufacturer. For example, AVM Fritz!Box routers (extremely popular in Germany) automatically resolve http://fritz.box to their own IP address no matter what that IP address is.
In the end, read the manual or the sticker on the device, same as you would have to do with IPv4 to figure out which subnet it is configured with.
Fair enough, I guess I'm thinking quite far into the future when IPv6 is just the absolute dominant form of connection and most people are turning off IPv4 or operating systems aren't really shipping with IPv4 support.
Assuming you only have one router you'd probably be fine with ff02::2 (that's the well-known-multicast for every IPv6 router on the link).
Otherwise your ISP or vendor should have the default value in some kind of setup instructions I'd guess.
Edit: Oh, and then there is the Neighbour Discovery Protocol, a router advertises itself on the link. It can even give you a valid configuration through it. If not, you can at least look up the advertised address via a simple command line command.
I wonder if default gateway might work. Because at least in an IPv4 network, if you go to like your settings and look at the network information, the default gateway is your router's IP address. I'm thinking like the Wi-Fi settings in the Android system, for example.
Edit: Also, thanks for the multicast address. I'm at least somewhat new to IPv6 networking myself, and so I was not aware of that address. About the most I've been able to do with IPv6 so far is set my own DNS server and Configure a static IP address for one of my Systems to act as a server By doing like ISPPrefix::1
Yes, if you get a standard gateway defined, either through a DHCP server (pretty much all consumer router should have one running by default too) or SLAAC, you should be able to look it up through the settings in the GUI, too.
You're welcome. I'm no big expert myself, but I'd say that most things aren't so different from v4, once you understand how v6 addresses work and are configured (and that there is no broadcast address anymore).