|
|
On Jun 17, 2005, at 11:43 PM, Daniel Eggert wrote:
On Jun 17, 2005, at 11:15 PM, Rui Paulo wrote:
On 2005.06.17 22:21:57 +0000, Daniel Eggert wrote:
On Jun 17, 2005, at 9:34 PM, Rui Paulo wrote:
On 2005.06.17 19:12:43 +0000, Daniel Eggert wrote:
I've got rtadvd(8) running on my ipv6 router. My ipv6 runs rtsol
(8),
but does not pick up the network configuration from the router.
I'm
completely lost.
What does ifconfig gem0 in the router says?
[router]# ifconfig gem0
gem0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>
mtu 1500
address: 00:0a:27:b4:67:f4
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 130.225.xxx.xxx netmask 0xffffffe0 broadcast
130.225.xxx.xxx
inet6 fe80::20a:27ff:feb4:67f4%gem0 prefixlen 64 scopeid 0x2
inet6 3ffe:100:ff::4 prefixlen 48
Do you have any rtadvd.conf?
No. I hoped that it would work without. The debug output from rtadvd
seems to indicate this since it says:
rtadvd[4022]: <getconfig> gem0 isn't defined in the configuration
file or the configuration file doesn't exist. Treat it as default
rtadvd[4022]: <get_prefix> add 3ffe:100:ff::/48 to prefix list on
gem0
So I guess it is just handing out 3ffe:100:ff::/48, which is what I
want it to do.
Yes, it should work without rtadvd.conf. I have the same setup as you
but with a different prefixlen: 64. Also, net.inet6.ip6.accept_rtadv
must be 1, but I think rtsol warns the you about it.
Thanks for you help.
Hmmm, net.inet6.ip6.accept_rtadv was 0 on the router, but 1 on the
host. I set both to 1, but it still does not work, and I get the
exact same output from rtsol and rtadvd.
I'm lost. Where would I look for some error message that could
indicate what is wrong?
/Daniel
Greg Troxel helped me to find out, that this issues was caused by the
fact, that rtadvd was handing out addresses with a prefix length of
48. Once I (correctly) set the prefix length to 64, things worked as
expected.
I don't know if things are supposed to work that way, or if it is a
bug. If not, some clarification on this in the documentation would be
great.
/Daniel
|
|