Section 19.7.1, Ip configuration, Section 19.7.2 – Westermo RedFox Series User Manual

Page 432: Section 19.7.3

Advertising
background image

Westermo OS Management Guide

Version 4.17.0-0

19.7.1

Manage Global IP Settings

Syntax ip

Context

Global Configuration

context

Usage Enter

IP Configuration

context

Use ”show ip” to show general IP configuration settings.

Default values Not applicable.

19.7.2

Configure IP Default Gateway

Syntax [no] default-gateway <ADDRESS>

Context

IP Configuration

context

Usage This command is deprecated and only kept for backwards compatibility

when upgrading. It is recommend to instead use the route command since
it also has the distance attribute.

A default route configured using this command will always get a distance
of 1. With multiple upstream WAN connections using PPPoE or DHCP it is
recommended to use the route command instead.

Use ”show gateway” to show configured default gateway.

Default values Disabled (”no default-gateway”)

19.7.3

Configure Static IP Routes

Syntax [no] route <NET MASK | NET/LEN> <GATEWAY | IFNAME> [DISTANCE]

Context

IP Configuration

context

Usage Add or remove a static IP route, including default routes.

The network boundary of the destination subnet can be given as a netmask
(e.g., ”route 192.168.3.0 255.255.255.0 192.168.0.1”) or as a prefix
length (e.g., ”route 192.168.3.0/24 192.168.0.1”).

System default routes are setup using the subnet 0.0.0.0 with prefix length
0, but the key keyword ’default’ is much easier to use ”route default

432

➞ 2015 Westermo Teleindustri AB

Advertising
This manual is related to the following products: