TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: A Short IPv6 Guide for Home IPv4 Admins

69 pointsby hairyplanter12 months ago

12 comments

redundantly12 months ago
It&#x27;s weird. Personally I&#x27;ve yet to make the jump to IPv6 because it seems too complex, doesn&#x27;t make sense, so I don&#x27;t want to spend the mental effort learning it when I have no need to switch.<p>However, looking decades back I realise I felt the same way when first learning about and working with networks. Nothing about it is intuitive. It&#x27;s all complex, until it isn&#x27;t through repetition and familiarity.<p>That said, I still don&#x27;t want to spend the mental effort on IPv6 yet. I&#x27;ll deal with it when I have a need for it.
评论 #40604582 未加载
评论 #40604245 未加载
评论 #40604335 未加载
philsnow12 months ago
How does this:<p>&gt; With IPv4, when your router connects to your ISP, you get one public address for the WAN, and you use a picked private address like 192.168.0.0&#x2F;24 for your LAN. With IPv6, <i>since you want a globally routable address for hosts on your LAN also</i>, you need to ask the ISP for a routable prefix.<p>jive with this:<p>&gt; You want to use these ULA for all your LAN communication. If you want to reach your printer or a media server, put their ULAs in the DNS and not the globally routable one.<p>Why have globally-routable IPv6 addresses if you&#x27;re not going to use them?<p>I was put off initially by the first quoted paragraph because while the hard-outside-chewy-center security model is not a <i>strong</i> model, it is easy to reason about especially when you have very heterogeneous devices on your home LAN, including ones you don&#x27;t control the OS of. I <i>like</i> using private addresses for my home LAN and even if I had an IPv4 &#x2F;24, I wouldn&#x27;t give addresses from it to machines on my LAN.<p>I use wireguard to access things on my LAN, with a somewhat-janky split-horizen DNS setup where the DNS server is on my LAN, so I have to be connected to wireguard to even resolve the names.
评论 #40604295 未加载
评论 #40604274 未加载
hackeraccount12 months ago
I think there are problems with ULA.<p><a href="https:&#x2F;&#x2F;blogs.infoblox.com&#x2F;ipv6-coe&#x2F;ula-is-broken-in-dual-stack-networks&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blogs.infoblox.com&#x2F;ipv6-coe&#x2F;ula-is-broken-in-dual-st...</a><p>I&#x27;ve seen some of that - that said I can&#x27;t figure out how I&#x27;m supposed to do DNS registration with GUA addresses. The only way I know to register addresses in DNS is with DHCP. Should I just have my IPv6 DHCP server advertise the GUA addreses? Is there some other way to do this?<p>I&#x27;m actually genuinely confused about this.
imoverclocked12 months ago
Site local is useful to know about, even if it is technically deprecated. I explained it [1] for a test-setup that has no actual IPv6 connectivity.<p>Without a non-link-local IPv6 address, resolvers will often omit IPv6 addresses in their response.<p>Another big difference between IPv4 and IPv6 is in the localhost address scheme.<p>IPv4: 127.0.0.1&#x2F;8 - 24 bits of free addresses IPv6: ::1&#x2F;128 - no free addresses<p>Many people won’t care about this but some local hacks make use the localhost address space for fun and profit.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;suntong&#x2F;dbab&#x2F;pull&#x2F;10#issuecomment-1603857583">https:&#x2F;&#x2F;github.com&#x2F;suntong&#x2F;dbab&#x2F;pull&#x2F;10#issuecomment-1603857...</a>
hot_gril12 months ago
I&#x27;m a home ipv4 admin. What I or someone similar would need is the last part that shows how you set up a basic network with some local addresses I care about and a few I want to expose publicly. It&#x27;s nice that the guide includes the concepts, but the first thing anyone will want to do is just make it work.<p>Step 2 says to set up ULAs. Are these static or dynamic? It says &quot;don&#x27;t pick numbers.&quot; If dynamic, how does step 5 work? If static, what about visitors in my house?<p>Step 3 mentions a LAN DNS. Where do I set that up? I don&#x27;t recall my router having that option somewhere, and I&#x27;d rather not rely on a machine for it.
评论 #40604285 未加载
评论 #40604498 未加载
评论 #40604236 未加载
imoverclocked12 months ago
&gt; After your router connects to your ISP, the router can ask for prefix delegation.<p>Some providers (eg: Starlink, when I last checked and a Calyx WiFi hotspot) will only advertise a prefix. I was forced to figure out a way to bring the &#x2F;64 that is in front of my router (Linux iptables) and expose it to a LAN behind my router. It looks something like [1]<p>Depending on your setup, there may be an easier solution.<p>[1] <a href="http:&#x2F;&#x2F;imoverclocked.blogspot.com&#x2F;2022&#x2F;05&#x2F;ipv6-wifi-access-point-nftables-and.html" rel="nofollow">http:&#x2F;&#x2F;imoverclocked.blogspot.com&#x2F;2022&#x2F;05&#x2F;ipv6-wifi-access-p...</a>
评论 #40604151 未加载
mannyv12 months ago
How do you run a DNS server when your address isn&#x27;t technically static?<p>How do clients discover the DNS server in a SLAAC environment?
评论 #40604216 未加载
评论 #40604136 未加载
评论 #40604223 未加载
评论 #40604150 未加载
评论 #40619976 未加载
评论 #40604145 未加载
zdw12 months ago
If you want to run authoritative DNS on your home network and have AAAA lookups for local machines, how do you go about this? Assign the DNS entry just to the ULA of each host?
评论 #40604448 未加载
imoverclocked12 months ago
&gt; Some runs of zeros can be condensed as ::.<p>Only one run of zeros can be condensed as :: because two or more would be ambiguous.
评论 #40604094 未加载
rkagerer12 months ago
Can someone elaborate on this:<p><i>For a given prefix, the interface will always pick the same identifier, (in fact, the eui-64 algorithm will pick the same identifier across multiple prefixes)</i><p>How does the algorithm typically work? Is there a loss of privacy since identifiers are reused across prefixes? If I replace my NIC or install a different OS on my machine will the address change?
评论 #40604331 未加载
评论 #40604334 未加载
alsetmusic12 months ago
I&#x27;ve just got back into building a homelab after a multiyear break. I think I last worked on such a project in 2017. In the time between then and now, I still don&#x27;t know why I would want to utilize IPv6 on my home network. And my network is necessarily more complicated than most users by extension of the homelab (switches, hypervisors, VM&#x27;s, etc).<p>I imagine I might be able to go looking for an answer to why I&#x27;d want this, but I would have expected the case to have been made casually by now if it had any utility in my home. I never stopped reading technology and computing sites during my sabbatical, though they did become more mainstream. Yet I still have no clue why I&#x27;d want this on a home network. This seems like a solution in need of a problem (in the home – I&#x27;m not discounting the utility on a global scale).
chadsix12 months ago
There are definitely easier ways to get IPv6 if you don&#x27;t want to deal with the networking.<p>I feel like I&#x27;m doing a lot of plugging of IPv6.rs [1], but I guess that&#x27;s a testament to just how much demand there is for IPv6.<p>[1] <a href="https:&#x2F;&#x2F;ipv6.rs" rel="nofollow">https:&#x2F;&#x2F;ipv6.rs</a>
评论 #40622122 未加载