Subject: standards/30212: About rtadvd command : cannot change vltime(and pltime) in rtadvd.conf
To: None <standards-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <t-suzuki@elmic.co.jp>
List: netbsd-bugs
Date: 05/12/2005 06:09:00
>Number:         30212
>Category:       standards
>Synopsis:       About rtadvd command : cannot change vltime(and pltime) in rtadvd.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    standards-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 12 06:09:00 +0000 2005
>Originator:     suzuki
>Release:        2.0.2
>Organization:
elmic
>Environment:
NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23 08:53:42 UTC 2005 jmd@faith.netbsd.org:/home/builds/ab/netsd-2-0-2-RELEASE/i386/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
The problem is about 'rtadvd' command.

According rtadvd.conf(8), we can change vltime and pltime in
/etc/rtadvd.conf. Then we have changed /etc/rtadvd.conf as
following and done 'rtadvd -fdD ne2'. However RA has  
default values instead of our defined values(vltime:2592000,
pltime:604800). 

default:\
        :chlim#64:raflags#0:rltime#1700:rtime#0:retrans#0:\
        :pinfoflags#192:vltime#30:pltime#25:mtu#1500:
ne2:\
        :addrs#1:addr0="3ffe:501:ffff:1::":prefixlen#64:tc=default:

Note that rltime had been chaned from 1800 to 1700.

>How-To-Repeat:
Write the following to /etc/rtadvd.conf and run 'rtadvd'.

default:\
        :chlim#64:raflags#0:rltime#1700:rtime#0:retrans#0:\
        :pinfoflags#192:vltime#30:pltime#25:mtu#1500:
ne2:\
        :addrs#1:addr0="3ffe:501:ffff:1::":prefixlen#64:tc=default:

Capture a RA packet and see inside of it(Ethereal is good).


>Fix: