Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?
-
@bmeeks said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
Your ISP gives you a different pool of those 295,147,905,179,352,825,856 IPv6 addresses each time your connection with the ISP resets
Not necessarily. A customer will have a DUID, which tells the ISP what prefix they get so that it doesn't change. Some ISPs honour that and some don't. There is also a setting in pfSense that controls it for those that do. I've had the same prefix for almost 5 years, even though both my modem and the computer I run pfSense on have been changed.
-
@bearhntr said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
If I have a DHCPv6 server and it can assign an IP address (IPv6) to things
Forgot to mention, you normally use SLAAC and not DHCPv6 on your LAN. Also, thanks to some genius at Google, Android devices don't work with DHCPv6.
The 2601 address (which looks to be SLAAC - as fe8b:cb26 look like part of the MAC Address on that NIC) changes every time I reboot
Your prefix, as assigned by your ISP may be changing. Make sure System / Advanced / Networking / Do not allow PD/Address release is selected. If it is and the prefix still changes, you can use Unique Local Addresses on your LAN, to provide addresses that won't change. You then use those in your DNS.
-
@JKnott said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
A customer will have a DUID, which tells the ISP what prefix they get so that it doesn't change. Some ISPs honour that and some don't.
Yeah, did not clarify my statement and made it overly broad.
However, I believe there are ISPs that are passive aggressive "hostile" to users hosting anything on their residential networks; and those ISPs can do things like making any public IP address or addresses they give you change as often as possible. They may also block certain inbound ports (port 25 being a favorite that is almost universally blocked now). They pretty much all have a policy prohibiting hosting of services on residential accounts, but there are varying degrees of enforcement. Having "non-sticky" public IPs is another tool in the ISP's arsenal.
-
@bmeeks said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
like making any public IP address or addresses they give you change as often as possible.
That is a quite possible reason for why they do it.. Never thought of it - but a always changing IP would make it more difficult to host services..
My IPv4 only has changed when they made a big IP range change when current cable company got bought by a different company and they changed their name even.
My IPv6 prefix hasn't ever changed because I just use HE tunnel and have a /48 that I can just setup static IPv6 on my interfaces vs having to worry about tracking..
-
There are likely several reasons for residential public IPs being transitory.
-
There would be some labor overhead in keeping up with IPs assigned to specific users, and then modifying all that when one subscriber dropped and another was added. You could automate that to some degree, but human oversight would still be necessary.
-
With IPv4, the majority of ISPs simply do not have enough free network addresses to make all their users quasi-static. Of course with IPv6 this is no longer an issue, but old paradigms die slowly. This is why CGNAT is growing on the IPv4 side.
-
It can make hosting services much more difficult with changing public IPs on residential accounts.
-
-
Let me start off by saying thanks - I am truly not trying to be 'daft', just trying to get a better grasp on it (which I mentioned in my first message). I am not wanting to come across as an ass, either. Just for reference, when I first setup pfSense with IPv6 and it was doing DNS, DDNS (with CloudFare) and DCHP/DHCPv6 (as server and resolver) - I tracked for nearly 90 days the IPv6 on the WAN and LAN in pfSense (copying and pasting into a file daily) - they never changed. I had set the setting mentioned above Do not allow PD/Address release is 'Enabled'
Even as mentioned - I get my own HE 'tunnel' (static per say) - I am not sure it is going to fix things, as for the most part...my addresses already seem to be "static" as I mentioned I kept up with them for 90+ days and they never changed - even through modem and pfSense reboots. Never seemed to have any problems until I want to add AD/DS to the mix.
I have been working on, with and around computers for about 45 years (since 1977 when I built first one at age 9). I feel that I have a pretty good grasp on things network related (and just wanting to 'sure-up' my IPv6 understanding). Again, I do appreciate your insights/input.
Let me see if I can clarify some my questions - and the information already provided has helped immensely. I simply trying to grasp this whole TRACK INTERFACE. If I take IPv6 out of the picture, here is what I understand (let me state upfront - I am a Windows guy, can do MacOS and Linux with guidance) :
-
"I" set my Gateway address and subnet (which I am using 10.9.28.0/24 - this I completely understand gives me 'one' segment - and I know how to make a change to get more. I give pfSense this as my LAN IP Address and all is good. The WAN is set by Comcast and pfSense handles (via its NAT and firewall the traffic from my network to the Internet. Everything in 10.9.28.xxx is under my control.
-
I am trying to utilize AD/DS as a singular (LDAP, etc.) means of logging into multiple things - so as not having to maintain individual logins to many, many things/apps/services as I expand my SmartHome. I already have pfSense setup to use an LDAP login on my 2019 AD/DS server with the steps I found in the NETGATE KB (this works just fine). AD/DS highly recommends the use of 'its' DNS and DHCP to keep up with things. This is why I am trying to get a better grasp on this. I tried to find something on using AD/DS with pfSense doing all of (like I had setup before - but nothing seemed to make sense or work). I guess I am trying do a STATEFUL configuration, which by reading all the comments, it fruitless and I should just give up.
-
I have tried many things in setting up a DHCPv6 scope on the server...using the LAN address as a 'template' if you want to call it that, and then making a reservation for the address which is on that address on the AD/DS scope...and statically setting it in the IPv6 properties in the Ethernet settings for the adapter (with 64) prefix and repeating it in the DNS block. It will work for a while and then stop.
What I simply cannot grasp is the 'static' --- and WHY I cannot do this (in some fashion) with the IPv6 (on "MY" network - anything inside pfSense). I have tried every possible combination that I can think of for the settings (using fdxx: or 2001: or 2601: as addresses) never can get fdxx: - no matter what I do to work... all IPv6 test sites will fail with this scope. Comcast appears to be give me a 2001: /128 address on my WAN (and when Track Interface is on, a 2601: /64 address on the LAN). I feel I have some understanding of the /60 setting that Comcast had me set in pfSense under the WAN setup. Under the LAN is with setting Track Interface It has '0' (I know I can use 0-f there).
I find myself rambling - just say why, Why, WHY must I use Track Interface??? I just do not understand why; if pfSense is my 'portal' to the Internet, and works just fine with IPv4 and I get to control everything on LAN.
-
-
@bearhntr said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
just say why, Why, WHY must I use Track Interface??? I just do not understand why; if pfSense is my 'portal' to the Internet, and works just fine with IPv4 and I get to control everything on LAN.
Bottom line reason for "why" you have to use Track Interface is this --
Your ISP configures a specific routing table in their network for the prefix they give you. Because there is no NAT, your IPv6 address segment from your ISP is your public IP subnet. But in order for it to route correctly through your ISP and on to the Internet, your LAN hosts must be using an IPv6 address from the correct prefix. So long as your ISP does not change your prefix (the /60 block they provide), then you should be able to configure an IPv6 subnet in the DHCPv6 server for Windows AD and have that work. But the instant your ISP makes a routing change on their side of the network (beyond your pfSense box) and assigns your connection a new IPv6 prefix, then your IPv6 traffic may cease to be able to get routed to and from the Internet and back to your LAN hosts if they are using the previous IPv6 prefix.
You can't just pick a DHCPv6 address scope out of the blue on your side when there is no NAT. What you choose must be recognized and routed correctly by your ISP. An analogy is even if you have a static IPv4 address, you can't just choose any other IPv4 address or subnet you desire on your WAN. You must use the address and subnet provided by your ISP because their end of the connection is routing only exactly what they give you. Similarly, you must use the IPv6 prefix your ISP has assigned on your LAN because there is no NAT. Your ISP expects all of your LAN hosts to be sending and receiving traffic on an IPv6 address from the IPv6 prefix the ISP assigned to your connection. The ISP signals what that prefix is via the "Track Interface" setting.
As has been mentioned in this thread, most ISPs will honor some IPv6 client settings that say "please let me keep this same IPv6 prefix". But not all ISPs will do that, and there are some situations where they need to change the prefix they gave you. In that scenario, if you were using static hard-coded IPv6 subnets on your side, your IPv6 traffic could stop working because the ISP would no longer be routing that prefix for you (since they changed it to a different one on their end). What "track interface" does is help the LAN side of pfSense, and all the hosts there, recognize when (or if) the ISP changes the IPv6 prefix. That triggers all the hosts there to obtain new addresses in the new prefix.
Later Edit: one more thing that might be confusing to you -- the IPv6 address that your ISP assigns for your WAN interface is usually NOT in the same subnet as the one they give for your prefix. The ISP may give your WAN firewall interface an IPv6 address for its own use, but then will assign a large block of IPv6 addresses in a prefix for use on your local networks behind the firewall. "Track Interface" is a bit of a misnomer because it does not literally mean "use what the WAN has", it instead means "here is a prefix for internal interfaces, use it for LAN and other internal interfaces". It is associated with the WAN interface because that's where the DHCPv6 client is running that receives and processes the "track interface" command sequence the ISP's system sends to pfSense.
And in fact, in many Track Interface setups, the WAN interface gets no public IPv6 address at all -- only the internal interfaces get a public IPv6 address via the "track interface" protocol. The WAN is stuck using a link-local address and communicates only with the far-end local segment gateway.
-
@bearhntr said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
and works just fine with IPv4 and I get to control everything on LAN.
As always @bmeeks is very articulate and spot on in his assessments and explanations.. Great post going into why your having an issue.
But I am going to suggest something that will drive our resident fanboy of ipv6 up the wall ;) Turn IPv6 off and forget about if it is causing you grief and your not understanding how it is different than your typical IPv4 nat setup that you are use too.
Why do you need IPv6? There is currently zero reason to actually "need" IPv6.. Name one resource that you use that requires IPv6.. I have been asking for this for years - nobody has been able to name one..
Unless you can name a resource that "requires" you to use IPv6 - it comes down to play and learning.. Until such time that some major resource turns off IPv4.. Which is what like 20 years down the road to be honest.. Using IPv6 really gets you nothing but grief and added complexity.
I have been using IPv6 for like 13 years or something.. Still have not actually found a "need".. Sure it is cool to not have to nat, and sure it is the future - don't get me wrong.. And if your in specific parts of the world where IPv4 is scare, and you want to host something to other IPv6 users - sure it has use.. Look at the mobile phone industry - they have billion of devices, IPv6 has been great for them - but they also provide natting/conversion into the IPv4 space. So while your phone might only get IPv6 - it can talk to any IPv4 address.
Sure if your isp went cgnat - its a easy way to get to your network while your out and about if you have a IPv6 address to use.. But to currently most people have zero "need" for IPv6.
My isp doesn't even provide IPv6.. I have to use a HE tunnel if I want IPv6 - which while I do want it, to play with. And help others that might have questions about it.. But I honestly have "zero" need for it.. I could just turn off my tunnel - and nothing would change from my use of the internet.
If its causing you grief - and confusing you, just do yourself a favor and forget about.. Come back to it in say 10 years ;)
-
@bmeeks said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
There would be some labor overhead in keeping up with IPs assigned to specific users, and then modifying all that when one subscriber dropped and another was added. You could automate that to some degree, but human oversight would still be necessary.
What labour? It's just providing the addresses associated with the DUID.
With IPv4, the majority of ISPs simply do not have enough free network addresses to make all their users quasi-static. Of course with IPv6 this is no longer an issue, but old paradigms die slowly. This is why CGNAT is growing on the IPv4 side.
My IPv4 address is virtually static, but the host name is as permanent as my hardware, as it's based on the modem and router MAC addresses. I also get 2 IPv4 addresses.
-
@bearhntr said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
What I simply cannot grasp is the 'static' --- and WHY I cannot do this (in some fashion) with the IPv6 (on "MY" network - anything inside pfSense).
The addresses provided by DHCPv6-PD are real world public addresses, not private addresses as you'd set up behind NAT on IPv4. However, you can still set up similar addresses on IPv6, with those Unique Local Addresses I mentioned. It's good you have IPv6 addresses that don't change. Some people are not so fortunate. Since it's possible your addresses can change, likely or not, your router has to be able to accommodate that change. That's where the track interface comes in.
-
@johnpoz said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
Turn IPv6 off and forget about if it
That's a hanging offence!!!
Actually, as I mentioned, that's head in the sand thinking. The world is moving to IPv6 and the sooner the better. While you may not be able to think of anything that needs it, in some parts of the world people don't have the option of IPv4.
He's here to learn and he won't be able to, if he ignores IPv6. He just has to get over some bad habits learned with IPv4.
-
@JKnott said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
@bmeeks said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
There would be some labor overhead in keeping up with IPs assigned to specific users, and then modifying all that when one subscriber dropped and another was added. You could automate that to some degree, but human oversight would still be necessary.
What labour? It's just providing the addresses associated with the DUID.
With IPv4, the majority of ISPs simply do not have enough free network addresses to make all their users quasi-static. Of course with IPv6 this is no longer an issue, but old paradigms die slowly. This is why CGNAT is growing on the IPv4 side.
My IPv4 address is virtually static, but the host name is as permanent as my hardware, as it's based on the modem and router MAC addresses. I also get 2 IPv4 addresses.
Somebody somewhere has to configure something for all that to work. That's the labor I'm talking about. Even an automated system needs a human to set it up initially and then keep an eye on it.
As for what your ISP does, that has no bearing on what other ISPs may do. If I recall, you've posted several times that your ISP is one of the big Canadian telecoms. They've owned large IPv4 address blocks for probably forever. They can likely afford to be generous with quasi-static IP assignments on residential circuits. Smaller and/or newer ISPs don't have the luxury of owning huge IPv4 blocks. They will, of necessity, have to adopt other strategies.
My local ISP owns exactly a single /24 IPv4 netblock. They do have a large IPv6 block. They use CGNAT for the IPv4 block out of necessity. They keep saying they intend to offer IPv6 service, but so far have not gotten that off the ground. Of course they are only about 18 months old at this point, so I'm cutting them some slack. It's also true that in my town there is no other choice but cable Internet, and their speeds are asymmetrical (1 Gig down but only 50 meg up) and they also are using CGNAT now . I don't consider any type of satellite Internet service as viable (my personal opinion) due to the inherent latency. If I had zero other options, then I might consider satellite.
-
@bmeeks said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
If I had zero other options, then I might consider satellite.
Exactly.. I love the tech and ability to do it.. Making great strides - and can/could be very useful.. Hey you need internet in the middle of nowhere - clicky clicky, boom your on the internet. This is not something you would host services off of, etc.
From my understand IPv6 is still not enabled on it - at least not globally.. But who cares - its never going to be a "hosting" solution. Why would you need inbound unsolicited inbound traffic to some connection you bring up in the middle of nowhere?
I would never go sat, I have no need for it - because I can just get a wire.. Now if I was out in the middle of nowhere.. Sat might be better than my cell connection - shoot cell might not even be available if actually in bum f_ck ;)
I have high hopes for the tech.. But it will never be a "replacement" for a wire..
-
@JKnott said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
That's a hanging offence!!!
Still waiting for you to give just "one" example of why I need Ipv6.. Name one resource that I can only get to via IPv6.. Been asking for YEARS NOW!!!
Other than some furry/midget p0rn site that billy is running out of his house and his ISP only gives him an IPv6 address.. ;)
Told you my comment would tick off our resident fanboy ;) hehahahahha
-
@johnpoz said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
Still waiting for you to give just "one" example of why I need Ipv6.
I cannot give an example for you personally, but there are a lot of people stuck behind CGNAT or no IPv4 at all. For them, IPv6 is now a necessity. Those people tend to be largely in Asia, where they never had a lot of IPv4 addresses to deploy but, even in North America, there are people stuck behind CGNAT. See message above from bmeeks: "They use CGNAT for the IPv4 block out of necessity."
-
@JKnott said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
For them, IPv6 is now a necessity.
Depends on the specific need. For instance, I currently have no IPv6 capability. But the only thing that is preventing me from doing is directly accessing my home network via VPN where the VPN server is running on my pfSense firewall (because I'm behind CGNAT on my IPv4 address). There is nothing else on the Internet that I would reasonably want to access (that I am aware of) that I am prohibited from accessing due to me not having an IPv6 connection. I think that is @johnpoz's point. I don't require IPv6 to surf the web. And every user in the world still needs an IPv4 connection to the web in order to access the full web. There are still sites with no IPv6 address. U.S. retailer Walmart is one I found, plus
amazon.com
does not show an IPv6 address vianslookup
(at least for me). Butwww.amazon.com
does show an IPv6 address by way of the CDN hosting that domain. There are other examples of IPv4-only websites. I am not currently aware of any IPv6-only major website. I think I could turn the table on your statement and say instead "for everyone, IPv4 is a necessity".Setting up and learning IPv6 is most certainly a good thing if you have it available and you want to prepare for the future. But if your ISP has a crappy IPv6 implementation (or none at all), then you don't HAVE to use IPv6 or else some large swath of the Internet will be unavailable for you. That's just not the case right now. And that is the point @johnpoz makes. You are not required to have IPv6 to surf the web. There may be some IPv6-only ISP out there in the world someplace who only gives residential customers IPv6, but even that ISP must have IPv4 connections to the web or else there would be many sites his customers could not access. I suspect that ISP would use CGNAT for IPv4 residential customers.
True that in areas with limited IPv4 address space where CGNAT rules in that block, having IPv6 is necessary if you want to have direct access back into your pfSense from the Internet. But even then other alternatives exist such as LogMeIn or VPS configurations where your pfSense box behind CGNAT could establish an "always on" connection to a third-party website and through that afford you secure access back into your private home network.
I'm going to assume you don't mean to imply that in some parts of the world if you don't have IPv6 you can't use your Internet connection. I'm not aware of any place like that (not saying impossible, but I certainly have not heard of one). But when you say "IPv6 is a necessity", it seems to shade in the direction of without IPv6 you can't surf the web. It is more accurate to say that without IPv6 some things will be either hard or impossible to implement in some ISP territories.
-
You mat only need a VPN, but others may have other needs.
I don't require IPv6 to surf the web. And every user in the world still needs an IPv4
My cell phone is IPv6 only. If I want to access an IPv4 site, my phone uses 464XLAT, where IPv6 is converted to IPv4 by my cell carrier at their office. Some ISPs use Dual Stack Lite, where users have an IPv6 connection, but CGNAT on IPv4.
However, as I mentioned, in some parts of the world, only IPv6 is available, with some conversion mechanism for IPv4. China, for example, is working hard to have an IPv6 only Internet. With the way IPv4 addresses were handed out, the U.S. got most, Europe less and very few for Asia & Africa
I'm going to assume you don't mean to imply that in some parts of the world if you don't have IPv6 you can't use your Internet connection.
That is entirely the case. My cell phone is an example.
BTW, there's some interesting history. Originally, only "class A" addresses were handed out, though they weren't called that at the time. when they realized that didn't provide enough networks, they came up with the address classes and then when that proved inadequate, they went with CIDR and variable length subnet masks. Vint Cerf had said that a 32 bit address was only intended to show the principle, but it escaped and became what the Internet used.
Also, there's a bit about the origin of Ethernet, which had it's 43rd anniversary a couple of weeks ago:
Prior to this, Ethernet was only an experimental network.
-
@JKnott said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
IPv6 is now a necessity.
No it isn't! Sorry but it isn't.. Sure if you want unsolicited inbound traffic to your connection and you don't have a public IP, then IPv6 is an option.
But what like 99% of the planet of internet users have zero use for unsolicited inbound traffic. Shit most ISP actually forbid hosting services anyway..
Forget your phone, your car etc.. That is not what I am talking about.. I am talking about billy bob on his home computer watching youtube videos and watching netflix and buying off amazon and posting on his facebook page.. They have zero care if they are behind some cgnat, or some quadruple nat or using IPv6 - they don't even know what an IP address is for gosh sake..
Your typical internet users doesn't give 2 shits about IPv6.. Until the user tells their isp I need IPv6 - its not going to get deployed as it should and needs to be, it just isn't.. You can think you on some holy crusade or whatever it is you think your doing..
They have no clue that that phone is using IPv6 -- all they know is they go to amazon.com on their phone to buy XYZ and it works..
Shit I thought that the game industry would drive IPv6 adoption - yet none of them actually leverage it - you know why.. Because the vast majority of their user base doesn't even have it. Not talking about Huang (黄) or Zhang (张) in some part of the world that doesn't have IPv4 space to use..
IPv6 in peer to peer gaming could be a changer - yet which games leverage it??? If some popular game came out and said the only way you can play is you have IPv6, or the only way you can play head to head is both of you have IPv6 - guess what the user base would rise up and tell their ISPs - hey I need IPv6.. This has yet to happen..
Me turning off IPv6 because I have not use, or a million other users turning it off because it does nothing for them isn't going to slow down the IPv6 adoption... You need something to drive adoption, there isn't anything - the mobile device industry that was the driving force in needing IPs because there are billions of devices have already done what they need to do. Your typical home user on their home connection has zero use for IPv6.. Until that changes your not going to see any change in the snail pace conversion to IPv6.
Sorry you don't like the facts.. But that is how it is..
-
@johnpoz said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
I am talking about billy bob on his home computer watching youtube videos
Talk to Billy Bob over in Asia, in some area where IPv4 is not available or stuck behind CGNAT.
It's also important for blockchain:
-
@JKnott said in Why do I have to 'Track Interface' on LAN to WAN for IPv6 to work?:
My cell phone is IPv6 only. If I want to access an IPv4 site, my phone uses 464XLAT, where IPv6 is converted to IPv4 by my cell carrier at their office. Some ISPs use Dual Stack Lite, where users have an IPv6 connection, but CGNAT on IPv4.
Sorry, but what does this have to do with anything we are talking about? You just said in the same paragraph that your phone must have IPv4 access via 464XLAT! Why does it need that? Because there are web sites on the Internet that you cannot access without an IPv4 address available to you -- be that native or some kind of NAT, you must have IPv4.
Conversely, what service in the world can I not currently access because I do not have IPv6? I don't talk peer-to-peer with another cell phone . @johnpoz and I are both talking about the typical PC user who wants web browsing, email, social media, and streaming. So far as I have seen on the forum here, there has never been a user posting an IPv6 question or having a problem with IPv6 who also said IPv6 was the only protocol layer offered by his ISP.
Don't misunderstand my point. I'm not saying IPv6 is worthless or should not ever be pursued or anything similar to that. I'm just saying it is not required as is IPv4 today. And if you have an ISP that has a poor IPv6 implementation, or some pfSense or FreeBSD IPv6 bugs are tripping you up, disable IPv6 for now and live life until the kinks eventually get worked out. I think that's what @johnpoz is saying as well.