rtadvd.conf with multiple addresses -> getconfig errors
krad
kraduk at gmail.com
Mon Sep 22 13:16:41 UTC 2014
shouldnt it be more like?
em1:\
:addrs#1:addr="2001:xxx:xxx:xxx::":prefixlen#64:tc=ether::rdnss="2001:xxx:
xxx:xxx::100" :addrs#2:addr="2001:xxx:xxx:xxx
::":prefixlen#64:tc=ether::rdnss="2001:xxx:xxx:xxx::100"
On 21 September 2014 16:28, Mike. <the.lists at mgm51.com> wrote:
>
> 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::
>
>
>
>
>
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list