hash mode for routing