ip route

Create a static route within the Island.

Syntax

ip route <address>/<bits> <gateway>
ip route default <gateway>

Syntax Description

Keyword
Description

address

The target IP network or host address.

bits

The number of network bits in the target IP address.

gateway

The IP address to which packets for the target address are to be sent.

default

Can be used in place of "0.0.0.0/0" or "::/0" to represent the default route.

Defaults

No static routes exist by default.

Usage Guidelines

The command allows manually-configured (i.e., "static") routes to be inserted into Island's routing table.

Both IPv4 and IPv6 routes are supported. The target address and the gateway must both be the same protocol (IPv4 or IPv6).

The word "default" may be used to represent the default route (0.0.0.0/0 or ::0/0). The protocol of the default route (IPv4 or IPv6) will be determined by the the protocol of the specified gateway.

Examples

ip route default 203.0.113.1
ip route default 2001:DB8:C014:7BE5::1
ip route 172.16.0.0/22 192.168.3.17

Last updated