route6

Gets or sets the IPv6 network routes.

If the gateway is unreachable, the routing entry will be added to the configuration file, but it will not be added in the kernel routing table.

Display all existing route entries:

route6

Add a new route entry:

route6 addr=:: masklen=0 gateway=:: linklocal_if=0

Change an existing route entry:

route6 entry=0 [addr=::] [masklen=0] [gateway=::] [linklocal_if=0]

Delete a route entry:

route6 entry=0 delete
Option Description

addr

Routable IPv6 address block.

entry

Index of the route entry to be displayed or modified.

gateway

Route gateway’s IPv6 address.

masklen

Number of leading 1 bits in the network mask.

linklocal_if

The ethernet interface (0 or 1) to use if the IPv6 route gateway address is a link-local address. The information is not used if the IPv6 route gateway is not a link-local address.
Default: 0.