OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [Solved] IPv6 Track Interface doesn't advertise subnet
« previous next »
  • Print
Pages: [1]

Author Topic: [Solved] IPv6 Track Interface doesn't advertise subnet  (Read 4224 times)

marcel

  • Newbie
  • *
  • Posts: 22
  • Karma: 1
    • View Profile
[Solved] IPv6 Track Interface doesn't advertise subnet
« on: February 10, 2018, 12:09:08 am »
Hi

I have an IPv6 connection with DHCPv6-PD from my ISP. IPv6 on WAN is configured with DHCPv6, Prefix delegation size and prefix hint enabled.
LAN is configured with Track Interface WAN and a prefix id.

With that configured, my LAN clients don't receive any prefix information in the router advertisements. After I run
Code: [Select]
/var/etc/rtsold_intX_vlanY_script.shmanually, the clients receive prefix information and IPv6 works.

As a workaround I added the line into a shellscript in
Code: [Select]
/usr/local/etc/rc.syshook.d
I run 18.1.2_2-amd64 on a APU. The issue already was in 15.7: https://forum.opnsense.org/index.php?topic=1950.msg6072#msg6072.

Is there something I can change so I don't need the workaround?
« Last Edit: February 10, 2018, 10:28:33 pm by marcel »
Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1676
  • Karma: 168
    • View Profile
Re: IPv6 Track Interface doesn't advertise subnet
« Reply #1 on: February 10, 2018, 12:23:19 pm »
What version of opnsense are you running?
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

marcel

  • Newbie
  • *
  • Posts: 22
  • Karma: 1
    • View Profile
Re: IPv6 Track Interface doesn't advertise subnet
« Reply #2 on: February 10, 2018, 09:38:58 pm »
I run opnsense 18.1.2_2-amd64 with serial console.
Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1676
  • Karma: 168
    • View Profile
Re: IPv6 Track Interface doesn't advertise subnet
« Reply #3 on: February 10, 2018, 09:41:32 pm »
Are you seeing a prefix on the Lan interface before you run the rtsold script?
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

marcel

  • Newbie
  • *
  • Posts: 22
  • Karma: 1
    • View Profile
Re: IPv6 Track Interface doesn't advertise subnet
« Reply #4 on: February 10, 2018, 09:46:55 pm »
No, I only see the IPv4 address.
Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1676
  • Karma: 168
    • View Profile
Re: IPv6 Track Interface doesn't advertise subnet
« Reply #5 on: February 10, 2018, 09:48:52 pm »
Do you have directly send solicit on or off in your wan dhcp6c settings?
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

marcel

  • Newbie
  • *
  • Posts: 22
  • Karma: 1
    • View Profile
Re: IPv6 Track Interface doesn't advertise subnet
« Reply #6 on: February 10, 2018, 09:51:30 pm »
Directly send SOLICIT is turned off.
Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1676
  • Karma: 168
    • View Profile
Re: IPv6 Track Interface doesn't advertise subnet
« Reply #7 on: February 10, 2018, 09:52:46 pm »
Have you tried with it turned on?
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

marcel

  • Newbie
  • *
  • Posts: 22
  • Karma: 1
    • View Profile
Re: IPv6 Track Interface doesn't advertise subnet
« Reply #8 on: February 10, 2018, 10:15:19 pm »
Thanks for the hint. With that flag enabled it grabs the IPv6 after boot without the workaround. However with this setting enabled unbound doesn't start anymore. Is this a bug?

Code: [Select]
opnsense: /status_services.php: The command '/usr/local/sbin/unbound -c '/var/unbound/unbound.conf'' returned exit code '1', the output was '[1518296527] unbound[21470:0] error: can't bind socket: Can't assign requested address for 2001:db8::xxxx [1518296527] unbound[21470:0] fatal error: could not open ports'
I configured unbound to only listen on specific interfaces (it doesn't need to listen for dns requests on the wan interface). If I set Network Interfaces in unbound to all the service starts again.

Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1676
  • Karma: 168
    • View Profile
Re: IPv6 Track Interface doesn't advertise subnet
« Reply #9 on: February 10, 2018, 10:20:21 pm »
Leave unbound to listen on all, there's often issues if you don't. pf***** also suffers from the same issues. It's not going to cause problems if it's listening on all interfaces
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

marcel

  • Newbie
  • *
  • Posts: 22
  • Karma: 1
    • View Profile
Re: IPv6 Track Interface doesn't advertise subnet
« Reply #10 on: February 10, 2018, 10:21:24 pm »
Good to know. Thanks for your help.
Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1676
  • Karma: 168
    • View Profile
Re: [Solved]IPv6 Track Interface doesn't advertise subnet
« Reply #11 on: February 10, 2018, 10:27:56 pm »
You're welcome,  :)

Mark it solved.
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [Solved] IPv6 Track Interface doesn't advertise subnet
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2