OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: computeralex92 on January 18, 2023, 07:38:16 PM

Title: [SOLVED] IPv6 with Telekom not working after upgrade
Post by: computeralex92 on January 18, 2023, 07:38:16 PM
Hello,

after updating to 23.1.r1 the IPv6 setup with Telekom Deutschland is not working anymore.
I saw there a issue on Github https://github.com/opnsense/core/issues/6245 (https://github.com/opnsense/core/issues/6245) regarding the change to the new interface type 'PPPoEv6', but this change is not working for me.
When checking the interfaces for any hint, I saw this here:

inet6 fe80::227c:14ff:fea0:644e%pppoe0 prefixlen 64 scopeid 0x9

The prefix lenght is configured to 64, but for Telekom you normally need to request a /56 subnet.
As there is no configuration for this anymore (or I didn't found it), I think that cause the issue.

Thanks,
Alex
Title: Re: IPv6 with Telekom not working after upgrade
Post by: franco on January 18, 2023, 08:39:33 PM
Hey Alex,

What was your IPv6 setting for WAN and LAN on 22.7?

There is that one fix required for PPPoEv6 mode which will be in RC2 or applied manually as per ticket information you provided above.


Cheers,
Franco
Title: Re: IPv6 with Telekom not working after upgrade
Post by: franco on January 18, 2023, 08:42:08 PM
Perhaps to add vital information: if you have WAN DHCPv6 and LAN tracking with a valid delegated prefix you don't need to do anything upgrading to 23.1 (other than doing the upgrade of course).

PPPoEv6 is a side effect of the PPPoE connection and in the issue above it was used to connect the WAN to IPv6 at the provider, but the provider gave the user a static block which he used in his LAN (static IPv6).


Cheers,
Franco
Title: Re: IPv6 with Telekom not working after upgrade
Post by: computeralex92 on January 18, 2023, 09:46:19 PM
Hello Franco,

my settings were on 22.7 as follow:
WAN:
IPv4: PPPoE
IPv6: DHCPv6
For IPv6 was a /56 Prefix delegation size and a request via the IPv4 connection configured.

LAN:
IPv4: Static IP
IPv6: Track interface

This configuration is also not working anymore on 23.1; DHCPv6 server is not starting and the interface is not getting any IPv6 address from the PPPoE connection.
Also the ifconfig shows the same /64 prefixlen as with PPPoEv6 configuration.

Thanks,
Alex
Title: Re: IPv6 with Telekom not working after upgrade
Post by: franco on January 18, 2023, 10:09:41 PM
It should stay the same if it worked to be honest and it did so on my end. I use this on Telekom almost every day... Can you add some logs to the case?


Thanks,
Franco
Title: Re: IPv6 with Telekom not working after upgrade
Post by: computeralex92 on January 18, 2023, 10:13:52 PM
Which log-files are the most useful?

Title: Re: IPv6 with Telekom not working after upgrade
Post by: computeralex92 on January 18, 2023, 10:33:32 PM
OK, I just saved and applied a little change in the interface config, and now the apply runs for forever.
When checking the system.log, I found this:


<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="35"] /usr/local/etc/rc.newwanip: IP renwal starting (new: 79.234.201.75, old: , interface: Telekom[opt2], device: pppoe0)
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain dhcp6c 17706 - [meta sequenceId="36"] RTSOLD script - Sending SIGHUP to dhcp6c
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="37"] /usr/local/etc/rc.newwanip: ROUTING: entering configure using 'opt2'
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="38"] /usr/local/etc/rc.newwanip: ROUTING: IPv4 default gateway set to opt2
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="39"] /usr/local/etc/rc.newwanip: ROUTING: setting IPv4 default route to 62.155.242.170
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="40"] /usr/local/etc/rc.newwanip: ROUTING: treating '62.155.242.170' as far gateway for '79.234.201.75/32'
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="41"] /usr/local/etc/rc.newwanip: ROUTING: keeping current default gateway '62.155.242.170'
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="42"] /usr/local/etc/rc.newwanip: ROUTING: IPv6 default gateway set to opt2
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="43"] /usr/local/etc/rc.newwanip: ROUTING: skipping IPv6 default route
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="44"] /usr/local/etc/rc.newwanip: plugins_configure monitor (,TELEKOM_DHCP6)
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="45"] /usr/local/etc/rc.newwanip: plugins_configure monitor (execute task : dpinger_configure_do(,TELEKOM_DHCP6))
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="46"] /usr/local/etc/rc.newwanip: Gateway currently empty for 2001:4860:4860::8888 on opt2
<12>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="47"] /usr/local/etc/rc.newwanip: The required TELEKOM_DHCP6 IPv6 interface address could not be found, skipping.
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="48"] /usr/local/etc/rc.newwanip: plugins_configure monitor (,TELEKOM_PPPOE)
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="49"] /usr/local/etc/rc.newwanip: plugins_configure monitor (execute task : dpinger_configure_do(,TELEKOM_PPPOE))
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="50"] /usr/local/etc/rc.newwanip: Gateway currently empty for 2001:4860:4860::8888 on opt2
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="51"] /usr/local/etc/rc.newwanip: Chose to bind TELEKOM_PPPOE on 79.234.201.75 since we could not find a proper match.
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="52"] /usr/local/etc/rc.newwanip: plugins_run return_gateways_status ()
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="53"] /usr/local/etc/rc.newwanip: plugins_run return_gateways_status (execute task : dpinger_status())
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="54"] /usr/local/etc/rc.newwanip: plugins_run return_gateways_status ()
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="55"] /usr/local/etc/rc.newwanip: plugins_run return_gateways_status (execute task : dpinger_status())
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="56"] /usr/local/etc/rc.newwanip: Ignore down inet gateways : TELEKOM_DHCP6
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="57"] /usr/local/etc/rc.newwanip: ROUTING: treating '62.155.242.170' as far gateway for '79.234.201.75/32'
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="58"] /usr/local/etc/rc.newwanip: ROUTING: keeping current default gateway '62.155.242.170'
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="59"] /usr/local/etc/rc.newwanip: Ignore down inet6 gateways : TELEKOM_DHCP6
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="60"] /interfaces.php: ROUTING: entering configure using defaults
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="61"] /interfaces.php: ROUTING: IPv4 default gateway set to opt2
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="62"] /interfaces.php: ROUTING: setting IPv4 default route to 62.155.242.170
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="63"] /interfaces.php: ROUTING: treating '62.155.242.170' as far gateway for '79.234.201.75/32'
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="64"] /interfaces.php: ROUTING: keeping current default gateway '62.155.242.170'
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="65"] /interfaces.php: ROUTING: IPv6 default gateway set to opt2
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="66"] /interfaces.php: ROUTING: skipping IPv6 default route
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="67"] /interfaces.php: plugins_configure monitor (,)
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="68"] /interfaces.php: plugins_configure monitor (execute task : dpinger_configure_do(,))
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="69"] /interfaces.php: Gateway currently empty for 2001:4860:4860::8888 on opt2
<12>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="70"] /interfaces.php: The required TELEKOM_DHCP6 IPv6 interface address could not be found, skipping.
<13>1 2023-01-18T22:20:32+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="71"] /interfaces.php: Chose to bind TELEKOM_PPPOE on 79.234.201.75 since we could not find a proper match.
<27>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain dhcp6c 13927 - [meta sequenceId="72"] transmit failed: Can't assign requested address
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="73"] /usr/local/etc/rc.newwanip: plugins_configure vpn (,opt2)
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="74"] /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : ipsec_configure_do(,opt2))
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="75"] /usr/local/etc/rc.newwanip: plugins_configure vpn (execute task : openvpn_configure_do(,opt2))
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="76"] /usr/local/etc/rc.newwanip: Resyncing OpenVPN instances for interface Telekom.
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="77"] /usr/local/etc/rc.newwanip: plugins_configure newwanip (,opt2)
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="78"] /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : dnsmasq_configure_do())
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="79"] /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : ntpd_configure_do())
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 54696 - [meta sequenceId="80"] /usr/local/etc/rc.filter_configure: plugins_run return_gateways_status ()
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 54696 - [meta sequenceId="81"] /usr/local/etc/rc.filter_configure: plugins_run return_gateways_status (execute task : dpinger_status())
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 54696 - [meta sequenceId="82"] /usr/local/etc/rc.filter_configure: plugins_run return_gateways_status ()
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 54696 - [meta sequenceId="83"] /usr/local/etc/rc.filter_configure: plugins_run return_gateways_status (execute task : dpinger_status())
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 54696 - [meta sequenceId="84"] /usr/local/etc/rc.filter_configure: Ignore down inet gateways : TELEKOM_DHCP6
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 54696 - [meta sequenceId="85"] /usr/local/etc/rc.filter_configure: ROUTING: treating '62.155.242.170' as far gateway for '79.234.201.75/32'
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 54696 - [meta sequenceId="86"] /usr/local/etc/rc.filter_configure: ROUTING: keeping current default gateway '62.155.242.170'
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 54696 - [meta sequenceId="87"] /usr/local/etc/rc.filter_configure: Ignore down inet6 gateways : TELEKOM_DHCP6
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 19564 - [meta sequenceId="88"] /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : opendns_configure_do())
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 19564 - [meta sequenceId="89"] /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : openssh_configure_do(,opt2))
<13>1 2023-01-18T22:20:33+01:00 OPNsense.localdomain opnsense 19564 - [meta sequenceId="90"] /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : unbound_configure_do(,opt2))
<27>1 2023-01-18T22:20:34+01:00 OPNsense.localdomain dhcp6c 13927 - [meta sequenceId="91"] transmit failed: Network is down
<13>1 2023-01-18T22:20:34+01:00 OPNsense.localdomain opnsense 19564 - [meta sequenceId="92"] /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : vxlan_configure_do())
<13>1 2023-01-18T22:20:34+01:00 OPNsense.localdomain opnsense 19564 - [meta sequenceId="93"] /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : webgui_configure_do(,opt2))
<13>1 2023-01-18T22:20:34+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="94"] /interfaces.php: plugins_configure newwanip (,opt2)
<13>1 2023-01-18T22:20:34+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="95"] /interfaces.php: plugins_configure newwanip (execute task : dnsmasq_configure_do())
<13>1 2023-01-18T22:20:34+01:00 OPNsense.localdomain opnsense 46601 - [meta sequenceId="96"] /interfaces.php: plugins_configure newwanip (execute task : ntpd_configure_do())
<27>1 2023-01-18T22:20:36+01:00 OPNsense.localdomain dhcp6c 13927 - [meta sequenceId="97"] transmit failed: Network is down
<13>1 2023-01-18T22:20:39+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="98"] /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : opendns_configure_do())
<13>1 2023-01-18T22:20:39+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="99"] /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : openssh_configure_do(,opt2))
<13>1 2023-01-18T22:20:39+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="100"] /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : unbound_configure_do(,opt2))
<13>1 2023-01-18T22:20:39+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="101"] /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : vxlan_configure_do())
<13>1 2023-01-18T22:20:39+01:00 OPNsense.localdomain opnsense 95887 - [meta sequenceId="102"] /usr/local/etc/rc.newwanip: plugins_configure newwanip (execute task : webgui_configure_do(,opt2))
<27>1 2023-01-18T22:20:40+01:00 OPNsense.localdomain dhcp6c 13927 - [meta sequenceId="103"] transmit failed: Network is down
<27>1 2023-01-18T22:20:48+01:00 OPNsense.localdomain dhcp6c 13927 - [meta sequenceId="104"] transmit failed: Network is down
<27>1 2023-01-18T22:21:02+01:00 OPNsense.localdomain dhcp6c 13927 - [meta sequenceId="105"] transmit failed: Network is down
<27>1 2023-01-18T22:21:31+01:00 OPNsense.localdomain dhcp6c 13927 - [meta sequenceId="106"] transmit failed: Network is down
<27>1 2023-01-18T22:22:28+01:00 OPNsense.localdomain dhcp6c 13927 - [meta sequenceId="107"] transmit failed: Network is down
<13>1 2023-01-18T22:22:50+01:00 OPNsense.localdomain opnsense 83565 - [meta sequenceId="108"] /usr/local/opnsense/scripts/routes/gateway_status.php: plugins_run return_gateways_status ()
<13>1 2023-01-18T22:22:50+01:00 OPNsense.localdomain opnsense 83565 - [meta sequenceId="109"] /usr/local/opnsense/scripts/routes/gateway_status.php: plugins_run return_gateways_status (execute task : dpinger_status())
<13>1 2023-01-18T22:22:55+01:00 OPNsense.localdomain opnsense 38992 - [meta sequenceId="110"] /usr/local/opnsense/scripts/routes/gateway_status.php: plugins_run return_gateways_status ()
<13>1 2023-01-18T22:22:55+01:00 OPNsense.localdomain opnsense 38992 - [meta sequenceId="111"] /usr/local/opnsense/scripts/routes/gateway_status.php: plugins_run return_gateways_status (execute task : dpinger_status())
<27>1 2023-01-18T22:24:21+01:00 OPNsense.localdomain dhcp6c 13927 - [meta sequenceId="1"] transmit failed: Network is down
<27>1 2023-01-18T22:26:25+01:00 OPNsense.localdomain dhcp6c 13927 - [meta sequenceId="1"] transmit failed: Network is down


I think this lines are interesting:

dhcp6c 13927 - [meta sequenceId="72"] transmit failed: Can't assign requested address
dhcp6c 13927 - [meta sequenceId="91"] transmit failed: Network is down

For me it seems that something is blocking dhcp6c to run currectly or assign the IPv6-address it gets from Telekom.
Title: Re: IPv6 with Telekom not working after upgrade
Post by: franco on January 19, 2023, 09:19:50 AM
This is a little suspicious

> ROUTING: treating '62.155.242.170' as far gateway for '79.234.201.75/32'

Is this a business line with an Internet facing IP?

Perhaps the gateway monitoring is too eager. Is this multi WAN? If not does it help to disable gateway monitors for a bit?


Cheers,
Franco
Title: Re: IPv6 with Telekom not working after upgrade
Post by: computeralex92 on January 19, 2023, 12:31:39 PM
Hello Franco,

thank you for your reply.
For me the line looks good, it is "only" the gateway assignment for the PPPoE interface.
My setup is a "little" complex, but I try to explain it shotly:

2x WAN Connection
1x PPPoE (Telekom VDSL via Draytek Vigor165)
1x DHCP (Vodafone Cable via Vodafone Gigastation in Bridge-Mode)

The Vodafone have an additional IP configured to have access to the webinterface of the Gigastation.
The network interface for the PPPoE connection is configured with a static IP to be able to connect to the Draytek modem.

I disabled both the Vodafone and Telekom Static interface + the complete gateway monitoring, without any change.
Here is the interface config via ifconfig:

igb0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: LAN (lan)
        options=4e0272b<RXCSUM,TXCSUM,VLAN_MTU,JUMBO_MTU,TSO4,TSO6,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP>
        ether 20:7c:14:a0:64:4e
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb1: flags=8822<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=4e0272b<RXCSUM,TXCSUM,VLAN_MTU,JUMBO_MTU,TSO4,TSO6,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP>
        ether 20:7c:14:a0:64:4f
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb2: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: Vodafone (opt1)
        options=4e0272b<RXCSUM,TXCSUM,VLAN_MTU,JUMBO_MTU,TSO4,TSO6,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP>
        ether 20:7c:14:a0:64:50
        inet 192.168.100.2 netmask 0xffffff00 broadcast 192.168.100.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb3: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: TelekomStatic (opt3)
        options=4e0272b<RXCSUM,TXCSUM,VLAN_MTU,JUMBO_MTU,TSO4,TSO6,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP>
        ether 20:7c:14:a0:64:51
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
enc0: flags=0<> metric 0 mtu 1536
        groups: enc
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pflog0: flags=20100<PROMISC,PPROMISC> metric 0 mtu 33160
        groups: pflog
pfsync0: flags=0<> metric 0 mtu 1500
        syncpeer: 0.0.0.0 maxupd: 128 defer: off
        syncok: 1
        groups: pfsync
pppoe0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1492
        description: Telekom (opt2)
        inet6 fe80::227c:14ff:fea0:644e%pppoe0 prefixlen 64 scopeid 0x9
        inet 91.9.130.251 --> 62.155.242.170 netmask 0xffffffff
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>


I will search further today after work; maybe I see something strange in the logs or configs.

Thanks,

Alex
Title: Re: IPv6 with Telekom not working after upgrade
Post by: maex93 on January 19, 2023, 10:09:28 PM
Hello,

I use the same configuration with Telekom VDSL.
Prior to the upgrade I had the same settings.
After the upgrade to 23.1 my IPv6 connection and tracking also broke down.

I could fix it by reversing
https://github.com/opnsense/core/commit/3413a5c67a4ce79cce580856df4fdd3e625c369c
(https://github.com/opnsense/core/commit/3413a5c67a4ce79cce580856df4fdd3e625c369c)
It seems to me that the combination of DHCPv6 and PPPoEv6 is not supported together anymore or at least with Telekom both need to be enabled to retrieve an IPv6 prefix?

Thx,
Max
Title: Re: IPv6 with Telekom not working after upgrade
Post by: franco on January 20, 2023, 09:44:47 AM
Hi Max,

Thanks for taking a closer look. The following should restore the previous behaviour without removing the exclusive PPPoEv6 mode:

https://github.com/opnsense/core/commit/f60333622aa6

# opnsense-patch f60333622aa6

It seems very unfortunate to me, but I will keep working on this in some form to stop separate IPv6 modes from competing with each other which could be the source of undefined and unreliable IPv6 behaviour (at least as far as PPPoE is concerned).


Cheers,
Franco
Title: Re: IPv6 with Telekom not working after upgrade
Post by: computeralex92 on January 22, 2023, 12:39:17 PM
Hello Max & Franco,

thanks a lot to look deeper into this topic.
I can confirm that the patch from Franco is fixing the issue for me; my IPv6 is back.

@Franco: If you need further details or a guinea pig for future tests in this topic, feel free to ping me.

For now, I will close this topic.
Thanks again for your help.

Alex
Title: Re: [SOLVED] IPv6 with Telekom not working after upgrade
Post by: franco on January 22, 2023, 02:47:17 PM
Yay, happy to hear. Patch is on stable/23.1 now so will be in 23.1 for sure. :)


Cheers,
Franco
Title: Re: [SOLVED] IPv6 with Telekom not working after upgrade
Post by: goodsec_de on February 24, 2023, 06:54:34 PM
Hi there,

this may be a foolish question, but I have the same issue but don't actually know how to implement this patch found under github.
I am really new to OPNsense and did the initial configuration for my WAN-interface.
Since I triple-checked everything and it still does not work, I guess I am a victim of this mentioned issue.
But how do I resolve it?
Is there any file I have to update as written in the commit?

- ISP is Deutsche Telekom
- Gateway is added automatically due to the DHCPv6-Setting.
- No static routes are set so far - are they mandatory?

(https://i.postimg.cc/yNxCCx2Z/Bildschirmfoto-vom-2023-02-24-18-58-37.png)

Since I am not able to get an internet-connection, I am kind of stuck how to update...  :-\
Title: Re: [SOLVED] IPv6 with Telekom not working after upgrade
Post by: franco on February 24, 2023, 07:44:42 PM
But IPv4 is still available... set prefer IPv4 in System: Settings: General...


Cheers,
Franco
Title: Re: [SOLVED] IPv6 with Telekom not working after upgrade
Post by: goodsec_de on February 24, 2023, 08:43:43 PM
Okay, I did get my own update-mirror running now and am updating at this moment. :-)
I found a thread where it was described using rsync.

After the update, I will give it another shot.
If that fails, I will get back to your IPv4-solution.