Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2022 11:01:59 +0100
From:      Ede Wolf <listac@nebelschwaden.de>
To:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   ipv6 link local default route
Message-ID:  <831ec30b-62f5-aef2-c8ba-e38b45e2a6ad@nebelschwaden.de>

next in thread | raw e-mail | index | archive | help
Hi,

Probably I am misreading the route man page, but I would like to give my 
box a link local address as the default gateway and for that of course I 
need to specify the interface (the link).

I suspect the -link modifyer to accomplish this, however, where do I get 
the required numeric specification for a particular interface?

I've tried guessing, but no chance:

# route -6 add -link 1 default fe80::1
add net 1: gateway default fib 0: Address family not supported by 
protocol family

Thanks

Ede



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?831ec30b-62f5-aef2-c8ba-e38b45e2a6ad>