[radvd-devel-l] The ordering of radvd prefix, route and RDNSS statements

Pekka Savola pekkas at netcore.fi
Wed Jan 23 07:37:39 EST 2008


It seems that radvd grammar requires that prefix, route, and RDNSS 
options must be in the configuration exactly in this order, otherwise 
the config parsing fails.

Is someone interested in looking into this?  I unfortunately don't 
have sufficiently deep understanding of the parser to see if a more 
flexible solution would be possible.

---------- Forwarded message ----------
Date: Tue, 08 Jan 2008 09:17:57 +0100
From: N N
To: pekkas at netcore.fi
Subject: radvd and DNS

Hello Pekka,

I tried to autoconfigure DNS, but I don`t get the radvd.conf right. Perhaps you 
can provide some insights to me.

radvd beenden:                                             [FEHLGESCHLAGEN]
radvd starten: [Jan 08 09:10:50] radvd: syntax error in /etc/radvd.conf, line 
xx: prefix
[Jan 08 09:10:50] radvd: error parsing or activating the config file: 
[root at nass ~]#

[root at nass ~]# cat /etc/radvd.conf

interface eth0
         AdvSendAdvert on;

         AdvHomeAgentFlag off;

         RDNSS 2001:db8:10ea::1
                 AdvRDNSSPreference 8;

         prefix 2001:db8:10ea::/64
                 AdvOnLink on;
                 AdvAutonomous on;
                 AdvRouterAddr on;


[root at nass ~]# radvd -vh
Version: 1.1rc1

Compiled in settings:
   default config file           "/usr/local/etc/radvd.conf"
   default pidfile               "/var/run/radvd.pid"
   default logfile               "/var/log/radvd.log"
   default syslog facililty      24
Please send bug reports or suggestions to Pekka Savola
[root at nass ~]#

The routing etc. works if I remove the DNS.

Thanks for your time.

More information about the radvd-devel-l mailing list