Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

ipv6 router-advert name-server RDNSS help?

$
0
0

Does anyone have this option working? I'd like to set my own nameserver information for my local lan (ignoring what my ISP sets). This works well for IPv4 (clients get nameserver from dhcp), but I haven't been able to get it working with IPv6 slaac.

 

My 'regular' config looks like:

 

 ethernet eth0 {
     address dhcp
     description Internet
     dhcp-options {
         name-server no-update
     }
     dhcpv6-pd {
         no-dns
         pd 1 {
             interface eth1 {
                 host-address ::1
                 no-dns
                 service slaac
             }
             prefix-length 64
         }
     }
     duplex auto
     firewall {
         in {
             ipv6-name WANv6_IN
             name WAN_IN
         }
         local {
             ipv6-name WANv6_LOCAL
             name WAN_LOCAL
         }
     }
     speed auto
 }
 ethernet eth1 {
     address 192.168.0.1/24
     description LAN
     duplex auto
     speed auto
 }
 ethernet eth2 {
     disable
     duplex auto
     speed auto
 }

If I add with:

 

set interfaces ethernet eth1 ipv6 router-advert name-server

 

the generated /etc/radvd.conf goes from (working):

interface eth1 {
#   This section was automatically generated by the Vyatta
#   configuration sub-system.  Do not edit it.
#
#   service type [slaac]
#
    IgnoreIfMissing on;
    AdvSendAdvert on;
    AdvManagedFlag off;
    AdvOtherConfigFlag off;
    prefix ::/64 {
          AdvOnLink on;
          AdvAutonomous on;
    };
};

to being an empty file (non-working).

 

Anyone have an example of a working config?


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>