OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: jeremygaither on June 17, 2020, 07:18:00 AM

Title: multiple ipv6 PDs on AT&T U-Verse
Post by: jeremygaither on June 17, 2020, 07:18:00 AM
AT&T U-Verse has an odd habit of only handing out /64 IPv6 prefix delegations, but I can request 8 of them. I am trying to follow the advice of this article, but cannot get additional interfaces working. I get an error in the UI that the PD prefix is already in use. Is there any way to manually bypass this check?

https://forums.att.com/conversations/att-fiber-equipment/ipv6-prefix-delegation-to-3rd-party-router-not-working-2020-edition/5e98da19fd08354359ccd447?commentId=5e9b3ea5758fed7722fd4361&replyId=5eb1a6b372a09d7a3fc8f1fb
Title: Re: multiple ipv6 PDs on AT&T U-Verse
Post by: marjohn56 on June 17, 2020, 09:51:23 AM
There is a dhcp6c.conf file  there that tisnlwc has posted, have you tried using that?
Title: Re: multiple ipv6 PDs on AT&T U-Verse
Post by: jeremygaither on June 18, 2020, 05:44:36 AM
Yes, I've tried that. That appears to work. However, when I go to set the other interfaces to track the wan interface, OPNsense complains that the prefix is already in use. I can't assign the prefixes to other interfaces.
Title: Re: multiple ipv6 PDs on AT&T U-Verse
Post by: marjohn56 on June 18, 2020, 07:46:01 AM
Are you matching the track interface ID with those in the dhcp6c.conf file?
Title: Re: multiple ipv6 PDs on AT&T U-Verse
Post by: marjohn56 on June 18, 2020, 09:24:16 AM
Quote from: jeremygaither on June 18, 2020, 05:44:36 AM
Yes, I've tried that. That appears to work. However, when I go to set the other interfaces to track the wan interface, OPNsense complains that the prefix is already in use. I can't assign the prefixes to other interfaces.

I'll set it up on my test system and see what happens.
Title: Re: multiple ipv6 PDs on AT&T U-Verse
Post by: marjohn56 on June 18, 2020, 05:13:57 PM
Ahh!! re-read your message. OK, you must increment the LAN interfaces tracking prefix ID, so if LAN is 0, LAN2 must be 1 LAN3 would be 2 etc etc.


Still not convinced that conf file will work, but your ISP is strange so it might. On my tests I had to do this in the dhcp6c.conf to get v6 prefixes across to the LANs.




interface igb0 {
send ia-na 10;
send ia-pd 0;
send ia-pd 1;
send ia-pd 2;


request domain-name-servers;
request domain-name;
script "/var/etc/dhcp6c_wan_script.sh";
};
id-assoc na 10 { };
id-assoc pd 0 {  prefix-interface igb1 {
    sla-id 0;
    sla-len 0;
  };};
id-assoc pd 1 {  prefix-interface igb2 {
    sla-id 0;
    sla-len 0;
  };};
id-assoc pd 2 { prefix-interface igb3 {
    sla-id 0;
    sla-len 0;
  }; };