Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2014 11:28:09 -0400
From:      "Mike." <the.lists@mgm51.com>
To:        freebsd-questions@freebsd.org
Subject:   rtadvd.conf with multiple addresses -> getconfig errors
Message-ID:  <201409211128090648.007BD3E4@smtp.24cl.home>

next in thread | raw e-mail | index | archive | help

FreeBSD 10.0-RELEASE-p9 


I configured rtadvd to send out two IPv6 addresses on the em1
interface.   The other hosts on the network receive the addresses OK
from rtadvd.  However, something seems to be flagging a syntax error
of sort, and I cannot figure out why.  Any ideas?  

Following is the rtadvd.conf, the output from rtadvctl and the syntax
errors being logged.  I know I must be overlooking something simple.
I've tried various combinations of quotes around teh IPv6 addresses
specified in the conf file, but the error continues to be flagged in
the log file.





# cat rtadvd.conf 

em1:\
        :maxinterval#45: \
        :addr="fdcf:1234:2f4d:1::, 2001:DB8:51c0:e1::":prefixlen#64:
\
        :rdnss="fdcf:1234:2f4d:1::1":

rl0:\
        :maxinterval#60:        \
        :addr=", 2001:DB8:51c0:e2::":prefixlen#64: \
        :rdnss="2001:558:feed::1": 





# rtadvctl -v show
em1: flags=<UP,CONFIGURED,PERSIST> status=<RA_SEND> mtu 1500
  DefaultLifetime: 2m15s
  MinAdvInterval/MaxAdvInterval: 15s/45s
  AdvLinkMTU: <none>, Flags: <none>, Preference: medium
  ReachableTime: 0s, RetransTimer: 0s, CurHopLimit: 64
  AdvIfPrefixes: yes
  Next RA send: Sun Sep 21 11:10:54 2014
  Last RA send: Sun Sep 21 11:10:18 2014
  Prefixes (2):
    fdcf:1234:2f4d:1::/64 (KERNEL, vltime=30d, pltime=7d, flags=LA)
     2001:DB8:51c0:e1::/64 (KERNEL, vltime=30d, pltime=7d, flags=LA)
  RDNSS entries:
    fdcf:1234:2f4d:1::1 (ltime=1m7s)
rl0: flags=<UP,CONFIGURED,PERSIST> status=<RA_SEND> mtu 1500
  DefaultLifetime: 3m
  MinAdvInterval/MaxAdvInterval: 20s/1m
  AdvLinkMTU: <none>, Flags: <none>, Preference: medium
  ReachableTime: 0s, RetransTimer: 0s, CurHopLimit: 64
  AdvIfPrefixes: yes
  Next RA send: Sun Sep 21 11:11:29 2014
  Last RA send: Sun Sep 21 11:10:45 2014
  Prefixes (1):
     2001:DB8:51c0:e2::/64 (KERNEL, vltime=30d, pltime=7d, flags=LA)
  RDNSS entries:
    2001:558:feed::1 (ltime=1m30s)



# cat /var/log/messages 

20140921T110930.766771-0400 sentry rtadvd[82938]: <getconfig>
inet_pton failed for fdcf:1234:2f4d:1::, 2001:DB8:51c0:e1::

20140921T110930.768690-0400 sentry rtadvd[82938]: <getconfig>
inet_pton failed for , 2001:DB8:51c0:e2::










Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409211128090648.007BD3E4>