446
Celerra Network Server Command Reference Manual
The server Commands
The <netmask> is an optional field for network addresses. In case a
netmask is not specified a netmask will be assigned based on the class
of the address and addresses assigned on the system. A <netmask> of
0.0.0.0 or 255.255.255.255 is invalid in the case of net routes. The
default for the route is net.
{-add | -delete} host <dest> <gateway>
Adds or deletes a routing entry to a particular host as specified by the
optional keyword host (net is the default) to the specified destination
and gateway address. The <dest> argument represents the specific
host for the routing entry, while the <gateway> argument indicates
the network gateway to which packets should be addressed.
By default, a netmask of 255.255.255.255 is assigned to host routes.
SEE ALSO
Configuring and Managing Celerra Networking,
,
.
EXAMPLE #1
To list the routing table for server_2, type:
$ server_route server_2 -list
server_2 :
net 128.221.253.0 128.221.253.2 255.255.255.0 el31
net 128.221.252.0 128.221.252.2 255.255.255.0 el30
net 172.24.102.0 172.24.102.238 255.255.255.0 cge0
host 127.0.0.1 127.0.0.1 255.255.255.255 loop
Where:
The output displayed is as follows:
<routing type> <desintation> <gateway> <mask> <network interface>
EXAMPLE #2
To create a host routing entry, type:
$ server_route server_2 -add host 10.10.1.2 172.24.102.77
server_2 : done
EXAMPLE #3
To create a default gateway for all unspecified destinations, type:
$ server_route server_2 -add default 172.24.102.254
server_2 : done
EXAMPLE #4
To add a network routing entry with a netmask, type:
$ server_route server_2 -add net 192.162.0.0 172.24.102.238 255.255.0.0
server_2 : done
EXAMPLE #5
To delete a routing entry, type:
$ server_route server_2 -delete host 10.10.1.2 172.24.102.77
server_2 : done
Содержание Celerra
Страница 6: ...Celerra Network Server Command Reference Manual 6 Contents...
Страница 10: ...10 Celerra Network Server Command Reference Manual Preface...
Страница 16: ...16 Celerra Network Server Command Reference Manual Overview...
Страница 276: ...276 Celerra Network Server Command Reference Manual The nas Commands...
Страница 347: ...server_devconfig 347 The server Commands server_4 chain 0 chain 16 done server_5 server_5 chain 0 chain 16 done...