Date: Wed, 26 Mar 2008 13:38:39 +0800 From: =?big5?B?SXZlcnNvbiBIc2llaCAtwcKp066m?= <Iverson.Hsieh@zyxel.com.tw> To: <freebsd-net@freebsd.org> Subject: A problem in ndp and rtadvd. Message-ID: <587CD04060DD6A4EA8BCDDBECC758C140BD16F@zytwbe01.ZyXEL.com>
next in thread | raw e-mail | index | archive | help
Dear all:
I use command, date, to set current time. I find this causes the two=20
problems. I test the following two cases in freebsd 5.5-STABLE and=20
in freebsd 7.0-BETA2, and I find the result is the same.
=20
1.in neighbor discovery protocol(ndp)
The following is my command sequence.
=20
$ ndp -a
Neighbor Linklayer Address =
Netif Expire S Flags
2001:b121:4::cccc 0:50:8d:48:57:9a =
fxp0 permanent R
2001:b121:4:0:41f7:42ee:d08c:ca8c 0:90:cc:c2:aa:61 fxp0 26s =
R
9999:9999::1 0:5:1c:15:a:8b =
rl0 permanent R
fe80::205:1cff:fe15:a8b%rl0 0:5:1c:15:a:8b rl0 =
permanent R
fe80::250:8dff:fe48:579a%fxp0 0:50:8d:48:57:9a fxp0 =
permanent R
fe80::290:ccff:fec2:aa61%fxp0 0:90:cc:c2:aa:61 fxp0 30s =
R
fe80::1%lo0 (incomplete) =
lo0 permanent R
=20
$ date
Fri Mar 21 16:14:18 UTC 2008
=20
$ sudo date 0703211614
Password:
Wed Mar 21 16:14:00 UTC 2007
=20
$ ndp -a
Neighbor Linklayer Address =
Netif Expire S Flags
2001:b121:4::cccc 0:50:8d:48:57:9a =
fxp0 permanent R
2001:b121:4:0:41f7:42ee:d08c:ca8c 0:90:cc:c2:aa:61 fxp0 =
366d0h0m4 R
9999:9999::1 0:5:1c:15:a:8b =
rl0 permanent R
fe80::205:1cff:fe15:a8b%rl0 0:5:1c:15:a:8b rl0 =
permanent R
fe80::250:8dff:fe48:579a%fxp0 0:50:8d:48:57:9a fxp0 =
permanent R
fe80::290:ccff:fec2:aa61%fxp0 0:90:cc:c2:aa:61 fxp0 =
366d0h0m4 R
fe80::1%lo0 (incomplete) =
lo0 permanent R
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=20
I adjust system current time to one year ago by using 'date' command. =
we can find
ndp expiration time, in Expire column, also extended one year. Is this =
OK?
=20
2.in router advertisement daemon(rtadvd)
I also adjust system current time to test rtadvd. Before I adjust =
system
current time, rtadvd can send unsolicited RA periodically. rtadvd can =
send
unsolicited RA about from 200 seconds to 600 seconds each time. But =
after I=20
adjust system current time to one year ago, rtadvd does not send =
unsolicited=20
RA any more. Is the behavior correct?
=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?587CD04060DD6A4EA8BCDDBECC758C140BD16F>
