OPNsense Forum

English Forums => General Discussion => Topic started by: Com_DAC on April 28, 2023, 01:44:33 PM

Title: IPv6 Router Advertisements
Post by: Com_DAC on April 28, 2023, 01:44:33 PM
Which router advertisements mode should I be using to have it hand out the dns server information? All the settings I've tried so haven't worked.

I've got another setup where I don't have the "Allow manual adjustment of DHCPv6 and Router Advertisements" checked and it is handing out itself as the dns server no problem. I just can't seem to get this other instance to hand out the dns servers I want.

IPv6 browsing is working on the network it just isn't handing out the dns servers I want.

Setup: my isp is handing out a /64 prefix via dhcp and I've got track interface enabled on my lan interface.
Title: Re: IPv6 Router Advertisements
Post by: Com_DAC on April 28, 2023, 02:19:52 PM
Additional fun information. So it seems that if the windows computer is on a domain and you have both ipv4 and ipv6 enabled it will just get the ipv4 dns information but if you disable ipv4 and only have ipv6 enabled it will properly pull down the ipv6 dns entries. I guess another strange Microsoft thing.
Title: Re: IPv6 Router Advertisements
Post by: DCorvid on April 29, 2023, 04:49:23 AM
Not my experience. I'm running Windows 10 dual stack and getting both IPv4 and IPv6 DNS pushed to my machines.

I have Router Advertisements set to "Assisted", Router Priority Normal, Source Address Automatic, Advertise Default Gateway enabled.

On my LAN interface I'm using Track Interface as the IPv6 configuration type tracking the WAN interface.

I will say I have had some issues where I needed to restart the Router Advertisement service periodically when I got fancy trying multiple Prefix Domains. (hit the curved arrow "restart service" button on the Router Advertisments page) But since switching to a single PD, it's been very stable for months.

Hope that helps!
Title: Re: IPv6 Router Advertisements
Post by: frazzetta127 on May 02, 2023, 12:39:41 AM
Quote from: Com_DAC on April 28, 2023, 01:44:33 PM
Which router advertisements mode should I be using to have it hand out the dns server information? All the settings I've tried so haven't worked.

I've got another setup where I don't have the "Allow manual adjustment of DHCPv6 and Router Advertisements" checked and it is handing out itself as the dns server no problem. I just can't seem to get this other instance to hand out the dns servers I want.

IPv6 browsing is working on the network it just isn't handing out the dns servers I want.

Setup: my isp is handing out a /64 prefix via dhcp and I've got track interface enabled on my lan interface.

I just went through a big thing with Router Advertisements. The screenshots at the link below will work for your set up. Just make sure to use a /64 (sounds like you are already doing that)

https://forum.opnsense.org/index.php?topic=32433.0