Closed miri64 closed 8 years ago
What is fibroute
saying?
fibroute
2015-12-23 14:54:58,239 - INFO # > fibroute
2015-12-23 14:54:58,251 - INFO # Destination Flags Next Hop Flags Expires Interface
2015-12-23 14:54:58,262 - INFO # :: 0x00000000 H fe80::xxxx:xxxx:xxxx:xxxx 0x00000000 NEVER 6
I think your flags for the fib entry are wrong. FIB_FLAG_NET_PREFIX
must be set for the ::
route, I believe.
It should be sufficient to set only the destination flags of the fib entry
how do I do that with the fibroute
command?
usage: fibroute add <destination> via <next hop> [dev <device>] [lifetime <lifetime>]
hmm, doesn't seem to work from within the shell then
Okay, with the flag set (I set it statically in the command), it is at least not send over 6Lo anymore and the FIB seems to find the entry. I still get timeouts, but they are probably related to a broken ND.
When I set the next hop in the fib to the GUA of the linux host it works. Fine for me :-)
(the back-translation of 6Lo-ND of ll addresses is the problem)
@BytesGalore I also encountered this problem several times. If you add the default route via the fibroute
shell command then it is not possible to ping6 between two nodes. I assume it has to do with the destination flag of the default route entry. Because RPL sets the destination flag of the default route to be FIB_FLAG_NET_PREFIX
. Pinging works then.
Is this flag new? I remember that default routes used to work last summer.
@cgundogan yes the problem is that the FIB_FLAG_NET_PREFIX
is not set by the fibroute
command, the capital H
behind the flags indicates the destination is flagged as a host.
@BytesGalore what would be the best solution to solve this? Is it possible to infer from the given ipv6 address if the FIB_FLAG_NET_PREFIX
should be set automatically (somehow without making the fib specific to IPv6)
Try #4584 :)
At least it will allow to set the default route using the fibroute
command.
With #4279 there will be the proper way to set the prefix.
fixed by #4584
When testing #4144 with a border router setup, I set up the interfaces as follows:
and got ping timeouts. Further debugging showed, that
fib_get_next_hop()
did not find the default route as specified, but (I don't know exactly why) the packets where send over the 6LoWPAN.