Ericsson HM4x0 Reference Manual page 295

Table of Contents

Advertisement

Option
name
dest_ip
netmask
gateway_ip
interface
12.37.4
Example
Example one – routing through a gateway:
--> ip add route route1 192.168.103.3 255.255.255.0
gateway 192.168.102.3
Example two – default route:
--> ip add route default 0.0.0.0 0.0.0.0 interface ip1
2/1553-ZAT 759 94 Uen B – December 2005
Description
An arbitrary name that identifies the
route. It can be made up of one or
more letters or a combination of letters
and digits, but it cannot start with a
digit.
To create a default static route to a
destination address, type default as
the route name. You can only create
one route called default.
The IP address of the destination
network displayed in the following
format:
192.168.102.3
The destination netmask address
displayed in the following format:
255.255.255.0
The IP address of the gateway that
this route will use, displayed in the
following format:
192.168.102.3
The name of an existing interface that
this route will use. To display interface
names, use the ip list
interfaces command.
IP CLI Commands
Default value
N/A
N/A
N/A
N/A
N/A
295

Advertisement

Table of Contents
loading

Table of Contents