OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Unable to set up DHCPv6 server, bug or misconfig?
« previous next »
  • Print
Pages: [1]

Author Topic: Unable to set up DHCPv6 server, bug or misconfig?  (Read 2274 times)

gizahnl

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Unable to set up DHCPv6 server, bug or misconfig?
« on: February 11, 2018, 05:14:47 pm »
Some information about my setup:
-i have 4 physical interfaces
-my wan interface is a pppoe connection running over a tagged vlan on one of my physical interfaces
--i have a public ipv4 adress and another ipv4/29 subnet
--i also have a /48 public ipv6 prefix, delivered via dhcp6-pd

my internal interfaces are a mix of vlans and physical interfaces, some bridged some not All of them are:
-configured with an ipv4 adress in private space via Interfaces->Name static ipv4
-configured with an IPv6 ULA  adress via same interface
-configured with an IPv6 publicly routable adress via virtual IP configuration.

On interfaces which need autoconfiguration DHCPv4 is set up as well as RA
RA advertises 2 routes, both with a prefix length of 64:
-the publicly routable adress
-the ULA
RA is configured to do assisted RA, the intention is to allow SLAAC for public adressing, while registering ULA in the DHCPv6 server.

However no matter what I enter I cannot get DHCPv6 configured with a range, all adresses I enter are rejected saying they are out of range: see attached picture.


Am I misconfiguring or running into a bug?

Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1676
  • Karma: 168
    • View Profile
Re: Unable to set up DHCPv6 server, bug or misconfig?
« Reply #1 on: February 11, 2018, 11:27:26 pm »
Odd. I've just entered that range into my test unit, after setting 1 as the LAN address and it works.

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

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

gizahnl

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Unable to set up DHCPv6 server, bug or misconfig?
« Reply #2 on: February 13, 2018, 08:06:58 pm »
I believe it is due to the virtual IP, and perhaps some of the RA bits. After commenting out the blocking bits and looking at what is written to the config I saw that it was configuring for the public v6 range and not the ULA range, while displaying the ULA range in the interface...

I've filed an issue on github.

https://github.com/opnsense/core/issues/2189
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Unable to set up DHCPv6 server, bug or misconfig?
 

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