rtadvd.conf with multiple addresses -> getconfig errors
Mike.
the.lists at mgm51.com
Sun Sep 21 15:28:14 UTC 2014
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::
More information about the freebsd-questions
mailing list