From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 13:16:41 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7536F643 for ; Mon, 22 Sep 2014 13:16:41 +0000 (UTC) Received: from mail-yk0-x235.google.com (mail-yk0-x235.google.com [IPv6:2607:f8b0:4002:c07::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 380D8755 for ; Mon, 22 Sep 2014 13:16:41 +0000 (UTC) Received: by mail-yk0-f181.google.com with SMTP id 200so1315887ykr.12 for ; Mon, 22 Sep 2014 06:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qZcKRbVSH93HjSiIsy/tDO0FBJkAyqtPbA33IYSbEmw=; b=nKowLjwL5jQDcP3JilWQml5FmVjm2iuLWHgyvhVLSKqeq8moyY7EXMgoxlQAmH02Np X0OaHx9L1sFZuwT/TrINBdJZn2BC00sccRBnR3482FPjBPYyohEJBwS+bWJmd/cik4th /ro+N+2/ON6qFjW7OVFBo9S2hR9aGA8gti4xIRkl81/AW5SozlZxF41YHoGGovupkq4G F2wfVbd4U7DrEJh2y7tZ0y0OnKVBxa8vn/rZbyiJQVRrU55QMRgZ/ASAotn4eV2JmY89 2c9EcZdQvO+ea2LE8E8R1yqnUfwQitb0OTdX3lqa+bfkba2KSB6HzUVIIfXCgvmkfx0b mu6w== MIME-Version: 1.0 X-Received: by 10.236.227.162 with SMTP id d32mr768710yhq.100.1411391800206; Mon, 22 Sep 2014 06:16:40 -0700 (PDT) Received: by 10.170.156.139 with HTTP; Mon, 22 Sep 2014 06:16:40 -0700 (PDT) In-Reply-To: <201409211128090648.007BD3E4@smtp.24cl.home> References: <201409211128090648.007BD3E4@smtp.24cl.home> Date: Mon, 22 Sep 2014 14:16:40 +0100 Message-ID: Subject: Re: rtadvd.conf with multiple addresses -> getconfig errors From: krad To: "Mike." Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 13:16:41 -0000 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. 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= status= mtu 1500 > DefaultLifetime: 2m15s > MinAdvInterval/MaxAdvInterval: 15s/45s > AdvLinkMTU: , Flags: , 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= status= mtu 1500 > DefaultLifetime: 3m > MinAdvInterval/MaxAdvInterval: 20s/1m > AdvLinkMTU: , Flags: , 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]: > inet_pton failed for fdcf:1234:2f4d:1::, 2001:DB8:51c0:e1:: > > 20140921T110930.768690-0400 sentry rtadvd[82938]: > inet_pton failed for , 2001:DB8:51c0:e2:: > > > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >