OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • An IPv6 question
« previous next »
  • Print
Pages: [1]

Author Topic: An IPv6 question  (Read 7275 times)

phoenix

  • Hero Member
  • *****
  • Posts: 509
  • Karma: 57
    • View Profile
An IPv6 question
« on: March 19, 2017, 06:42:46 pm »
My IPv6 address is supposed to be available via SLAAC, it is but I can't set the LAN interface to track the WAN. I do get an IPv6 address on the WAN and I can ping an IPv6 host on the internet from the cli on OPNsense but obviously nothing else on the LAN gets an IP address. is the fact you can't set a SLAAC allocated IP to be tracked on the LAN interface a bug or by design, should it be set to DHCP6?
Logged
Regards


Bill

djGrrr

  • Full Member
  • ***
  • Posts: 112
  • Karma: 22
    • View Profile
Re: An IPv6 question
« Reply #1 on: March 20, 2017, 02:56:48 am »
SLAAC is not capable of routing a prefix to LAN, you would need to use DHCPv6 on the WAN for this.
Logged

phoenix

  • Hero Member
  • *****
  • Posts: 509
  • Karma: 57
    • View Profile
Re: An IPv6 question
« Reply #2 on: March 20, 2017, 11:49:41 am »
Quote from: djGrrr on March 20, 2017, 02:56:48 am
SLAAC is not capable of routing a prefix to LAN, you would need to use DHCPv6 on the WAN for this.
Thanks for your reply, I didn't know that so I guess it's "by design".  ;D I'm still finding my way around IPv6 so I'll have another go at DHCP6. Unfortunately I think I also have a problem with my ISP supplied ADSL modem/router even though it's set to bridge mode I stll have problems, It's rather an old model and I'll see what happens and if I can get it working.
Logged
Regards


Bill

bartjsmit

  • Hero Member
  • *****
  • Posts: 1595
  • Karma: 167
    • View Profile
Re: An IPv6 question
« Reply #3 on: March 20, 2017, 12:18:04 pm »
Hi Bill,

I danced around this subject for a wee while back when I switched to an IPv6 capable provider. These are my notes from that time. My modem is in bridged mode (PPPoA -> PPPoE).

- WAN IPv4 configuration type to PPPoE
- WAN IPv6 configuration type to DHCPv6
- Credentials as per ISP

DHCPv6 client configuration
- Use IPv4 connectivity
- DHCPv6 Prefix Delegation size as per ISP

Set the internal (LAN) network to a /64 subnet within your delegation. Under Services, DHCPv6, Advertisements set the router to unmanaged, priority high and enter the IPv6 address of your internal DNS server(s) with domain search list. Tick RA Sending for router advertisements. The default intervals are RFC 7772 compliant.

After a while, SLAAC compliant clients will automagically pick up the config and add a 2001: IPv6 address. Browse to http://cav6tf.org and watch the turtle swim ;-)

Bart...
Logged

djGrrr

  • Full Member
  • ***
  • Posts: 112
  • Karma: 22
    • View Profile
Re: An IPv6 question
« Reply #4 on: March 20, 2017, 02:26:44 pm »
Quote from: bartjsmit on March 20, 2017, 12:18:04 pm
Set the internal (LAN) network to a /64 subnet within your delegation. Under Services, DHCPv6, Advertisements set the router to unmanaged, priority high and enter the IPv6 address of your internal DNS server(s) with domain search list. Tick RA Sending for router advertisements. The default intervals are RFC 7772 compliant.

Bart...

You should be able to just set the LAN IPv6 to "track interface", the rest should be taken care of automatically.
Logged

phoenix

  • Hero Member
  • *****
  • Posts: 509
  • Karma: 57
    • View Profile
Re: An IPv6 question
« Reply #5 on: March 20, 2017, 06:52:01 pm »
Thanks to both of you for your comments, unfortunately neither of those options seem to work for me so I'm going to abandon trying to get this working with my ISP connection and try a tunnel broker instead. It's only for my own interest at the moment and not really necessary but I like to break things. :)

I live in France and my ISP is free.fr the 'inventor' of 6rd, while my conversational French is passable it's not good enough for the technical details of fixing this problem. From what I've read on lots of French forums  it seems the ADSL modem/router is too old and not sufficient RAM for loading the connection details, it seems to be missing a border relay and will not allocate one. I may change the modem at a later date or wait to see if FTTH arrives with native IPv6, I might just get lucky.

Thanks again to both of you.
Logged
Regards


Bill

korbinian

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: An IPv6 question
« Reply #6 on: March 21, 2017, 11:48:15 am »
If a interface is configured as Tracking Interface for a IPv6 gateway, you can not config the router advertisements. This is only possible with a static IP.
On pfSense your are able to do this in the GUI, why not in pfSense?
Logged

phoenix

  • Hero Member
  • *****
  • Posts: 509
  • Karma: 57
    • View Profile
Re: An IPv6 question
« Reply #7 on: March 21, 2017, 11:56:17 am »
Quote from: korbinian on March 21, 2017, 11:48:15 am
If a interface is configured as Tracking Interface for a IPv6 gateway, you can not config the router advertisements. This is only possible with a static IP.
On pfSense your are able to do this in the GUI, why not in pfSense?
You should have started a new thread as your post is not on topic for my initial question(s).

I'm not really sure what you're asking here, what is it you can do in the pfsense GUI that you can't do in OPNsense? You can certainly configure the LAN IP for a static IPv4 and/or IPv6 address.
Logged
Regards


Bill

djGrrr

  • Full Member
  • ***
  • Posts: 112
  • Karma: 22
    • View Profile
Re: An IPv6 question
« Reply #8 on: March 21, 2017, 03:38:01 pm »
Quote from: korbinian on March 21, 2017, 11:48:15 am
If a interface is configured as Tracking Interface for a IPv6 gateway, you can not config the router advertisements. This is only possible with a static IP.
On pfSense your are able to do this in the GUI, why not in pfSense?

Actually, track interface turns on router advertisements as soon as it gets the prefix via dhcpv6-pd, you just can't configure it manually, since you wouldn't know the prefix in advanced, since it is dynamic)
Logged

korbinian

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: An IPv6 question
« Reply #9 on: April 03, 2017, 07:34:46 pm »
Quote from: phoenix on March 21, 2017, 11:56:17 am
Quote from: korbinian on March 21, 2017, 11:48:15 am
If a interface is configured as Tracking Interface for a IPv6 gateway, you can not config the router advertisements. This is only possible with a static IP.
On pfSense your are able to do this in the GUI, why not in pfSense?
You should have started a new thread as your post is not on topic for my initial question(s).

I'm not really sure what you're asking here, what is it you can do in the pfsense GUI that you can't do in OPNsense? You can certainly configure the LAN IP for a static IPv4 and/or IPv6 address.

Sorry. My question was not about the interface IP.

Quote from: djGrrr on March 21, 2017, 03:38:01 pm
Quote from: korbinian on March 21, 2017, 11:48:15 am
If a interface is configured as Tracking Interface for a IPv6 gateway, you can not config the router advertisements. This is only possible with a static IP.
On pfSense your are able to do this in the GUI, why not in pfSense?

Actually, track interface turns on router advertisements as soon as it gets the prefix via dhcpv6-pd, you just can't configure it manually, since you wouldn't know the prefix in advanced, since it is dynamic)

I would like to configure the mode of radvd and it's settings(DNS server, search list, etc.).
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • An IPv6 question
 

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