7 ms·
Adventures with Verizon FiOS IPv6
- wronglebowski 4y agoI'm excited and scared to try this personally. So essentially the issue in using IPv6 is that you're usually using the whole block to directly assign those addresses to local devices? Is that the primary benefit in a residential space?
- Bedon292 4y agoThe minimum subnet size in IPv6 is a /64 (18 quintillion IPs), and I think typically IPSs have been doing /56 delegation so you can have 256 of the /64 subnets. It means every device ever gets its own IP, and you never have to NAT anything anymore.
- elcritch 4y agoAssigning /64 subnets confused me for a long time with ipv6. It didn’t make sense. It clicked when I learned about some of the ways devices can get ipv6 ips. Those /64 subnets provide a large enough space for devices to randomly self-assign their own address without a high risk of collisions. https://datatracker.ietf.org/doc/html/rfc4193#section-3.2.1 https://datatracker.ietf.org/doc/html/rfc4193#section-3.2.1 All devices need to know is the prefix to generate their own a unique local address (ULA). This can provide for stable local IPs for a device too. This eliminates the need for dhcp since ipv6 provides a standard udp / icmpv6 based protocol for routers to announce the prefix. Icmpv6 also replaces arp so in all it’s a much more elegant system. It can be much more stable too.
- stop50 4y agoThe reassingment of ipv6 networks is annoying. My provider gives me an new 64 network on each reconnection, so i have to use the equivalent of the private adresses in my homenetwork.
- throwaway742 4y agoWhy do you need private addresses?
- Arnavion 4y agoSo that they will be stable.
- jbnorth 4y agoIsn’t the whole idea to just use DNS?
- soupbowl 4y agoCertain Firewall rules don't work without stable IPs, DNS won't help with that.
- oneplane 4y agoBut a relatively normal firewall daemon supports variables and aliases and lookups etc. I suppose if you don't use address lists or address tags and no DNS and no DDNS then it would indeed be a problem.
- soupbowl 4y agoI have played with multiple routers even commercial ones that do not support aliases or anything but static addresses. You are not wrong but what you suggest is far from the norm.
- bpye 4y agoI was curious to see what the solutions are for some of these - Ruckus for example has Ansible modules [0] but they just SSH in and change the config. [0] - https://github.com/commscope-ruckus/RUCKUS_ICX_Ansible https://github.com/commscope-ruckus/RUCKUS_ICX_Ansible
- georgyo 4y agoSpectrum also has a bad habit of changing your prefix on you. Happy Eyeballs usually hides this failure as most use cases fallback to IPv4. But all existing leases on your network are invalid until they refresh and won't route traffic. When you catch it in the act, it is very annoying.
- nobody9999 4y ago>Spectrum also has a bad habit of changing your prefix on you. I wish I had that problem. Spectrum doesn't even offer IPv6 in my area. :(
- chenxiaolong 4y agoInteresting. In my area, Spectrum would give out the same IPv4 address and IPv6 prefix seemingly indefinitely as long as I kept the MAC address and DHCPv6 client DUID the same. It'd persist across DHCP releases and renewals too. Managed to keep my "dynamic" address and prefix for half a decade. So far, AT&T Fiber is behaving the same here too. I might somehow just be lucky with ISPs :)
- gjs278 4y ago
- assttoasstmgr 4y agoCan anyone recommend a good IPv6 book?
- craftkiller 4y agohttps://metebalci.com/blog/hello-ipv6/ https://metebalci.com/blog/hello-ipv6/
- freitasm 4y agoDon't your ISP offer static addresses as an option?
- icedchai 4y agoIn the US, this is generally only available on "business" accounts. You can get a business account at your house but it will cost 2 to 3x for the same amount of bandwidth.
- csdvrx 4y agoNot all of them do: after learning about that possibility here, I got myself an IPv4 subnet from AT&T fiber for no extra cost except the subnet itself
- babypuncher 4y agoFor a fee, yes. It's usually not cheap. Even "good" ISPs like Google Fiber basically make you upgrade to a "business" account , then buy static IP addressing as an add-on. It can end up costing twice as much as your regular residential service. With IPv4 it has always made far more sense for hobbyists to just use a dynamic DNS service, of which there are many free options. Some registrars like Namecheap even offer it when you buy a domain. IPv6 obviously complicates the hell out of this and I haven't really seen a solution as easy as for your average hobbyist.
- ClumsyPilot 4y agoin uk many providers charge £5 for a static ip, some give static ipv4 for free
- yjftsjthsd-h 4y ago> IPv6 obviously complicates the hell out of this Why is it different? Can't you just dynamically update a AAAA record?
- eropple 4y ago
- miller_joe 4y agoI also ran into this with Comcast ipv6. It seemed to get better over the last couple years so maybe they change your PD less frequently now. One solution I was considering, but never implemented, was to use a ULA addres range internally and doing 1:1 NAT mapping on the external delegation to the internal ULA range
- apearson 4y agoWhy not have a ULA and an internal dns server that rewrites the dns to the ULA address and have the external dns dynamicly updated? One great thing about ipv6 is your not limited to 1 IP address per interface
- dinosaurdynasty 4y agoYou aren't limited with IPv4, either (assuming you're using a capable OS)
- apearson 4y agoTrue but it's much easier in IPv6 as it's the standard way of doing things
- bpye 4y agoDoesn’t that have the same issues as IPv4 split horizon DNS? Cached DNS resolutions on a client would persist if you disconnected from the LAN - I guess you can set the TTL to be very low but I’m not sure what the right balance is there.
- brian_cunnie 4y agoI use Comcast IPv6. I've had the same IP address IPv6/60 for about six years now. One gotcha is that when I replace the firewall, I gotta make sure I keep the same ethernet MAC address to avoid re-IPing on the IPv4 side (the line in my FreeBSD firewall's config is "ifconfig_ix0="DHCP ether 00:0d:b9:48:92:48". The other gotcha, for IPv6, is I have to migrate my client DHCP Unique Identifier (DUID) (`/var/db/dhcp6c_duid`) to my new firewall to retain my existing IPv6 subnets.
- 300bps 4y agoMy IPv4 address with FiOS changes frequently. I use an outside dynamic DNS provider that the FiOS router supports natively so I can always get back to my home network. I think that would work for IPv6 as well but not with the use case where you’re using the public IP address as your hosts’ DNS server. Could you assign an internal IPv6 address to your DNS server that is static and have it also get a second address from FiOS? Then all your clients could be configured to go to the static internal address.
- kcb 4y agoThat's surprising, my FiOS IPv4 address doesn't change for years at a time.
- rocket_surgeron 4y agoI've had FiOS in the mid-atlantic since 2007 and as far as I can tell it only changes IP addresses when there is a power outage and everything reboots, which is rare.
- PaulDavisThe1st 4y agoBecause I'm irritated by paying for dynamic DNS that actually works, I run the following script once an hour via cron(1): ip=`curl --silent ipinfo.io/ip` ssh -i <CREDENTIALS> <MY-CLOUD-HOST> "echo $ip > lastlog" Then anytime I need to know where home is: ssh MY-CLOUD-HOST -C cat lastlog [ EDIT: having posted this, i realized you could do the same thing just using whoami(1) on MY-CLOUD-HOST and avoid ipinfo.ip entirely ]
- dinosaurdynasty 4y agossh <MY-CLOUD-HOST> "echo \$SSH_CLIENT" | cut -f1 -d' ' works too
- somat 4y agoThe environment variable SSH_CONNECTION also gives this info. I have almost the same setup. mine looks sort of like this. echo "${SSH_CONNECTION}" | awk '{print $1}' | cat "/var/ip_log" - | uniq > "/var/ip_log.new" mv "/var/ip_log.new" "/var/ip_log"
- tadfisher 4y agoIt's unfortunate, but expected that ISPs want you to continue paying for static address space, regardless of the scarcity of said space. So if you want to take advantage of the global IPv6 addressing scheme and avoid NAT, you have to script your config to tear down your routes and rebuild them with the new prefix when it changes. I do this with CenturyLink and its terrible 6rd implementation, but I would not expect to have to do this with DHCPv6 as a lease should not expire within milliseconds.
- CrLf 4y agoIf you’re on OpenWRT, you can mitigate this by having the DHCP client not send a RELEASE when it is stopped or restarted (network.wan.norelease=1). You can probably do the same on other platforms.
- Arnavion 4y agoFor OPNSense, it's Interfaces -> Settings -> IPv6 DHCP -> Prevent release
- neonate 4y agohttp://web.archive.org/web/20220702234046/https://git.hardenedbsd.org/shawn.webb/articles/-/blob/master/personal/2022-07-02_verizon/article.md http://web.archive.org/web/20220702234046/https://git.harden...
- dcz_self 4y agoBased on the comments, telekom.de is doing the same thing. A /56 prefix, changing every day. Blood-boiling. Can anyone recommend an EU-based server provider that could be used as a tunnel?
- porjo 4y agoOn a related topic, I've been scratching my head over an ipv6 config issue using Openwrt on my router and Fedora Linux as the client. If I configure my client to use SLAAC all works well - it gets an address and default gateway. If I configure the client to use DHCP it gets an address but no default gateway. I can see via packet dump that the client doesn't send a router solicitation when configured for DHCP ... Is this working as designed? How is a DHCP client supposed to get a default gateway if not via RA?