Ip Default-Gateway; Ip Route - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

ip default-gateway

Specifies the default gateway.
Syntax
ip default-gateway gateway
no ip default-gateway
Parameters
gateway
Guidelines
The ip default-gateway command specifies the default gateway that is reachable
by the current interface. You can define the default gateway by IP address or host
name. To use a host name, ensure that DNS services are enabled.
To delete the default gateway, use the no ip default-gateway command.
Examples
v Specifies 10.10.10.100 as the IP address of the default gateway.
v Deletes the default gateway.

ip route

Adds a static route to the routing table.
Syntax
ip route address gateway [metric]
no ip route address gateway
Parameters
address Specifies the network address (IP address and subnet) of the target
gateway
metric Assigns a routing metric. The greater value indicates a more preferred
Guidelines
To delete a static route, use the no ip route command.
734
Command Reference
Specifies the host name or IP address.
# ip default-gateway 10.10.10.100
#
# no ip default-gateway
#
destination. Specify the IP address in decimal format. Specify the subnet
mask in CIDR format (/27) or its equivalent decimal format
(255.255.255.224).
Specifies the IP address of the network gateway (next-hop router).
route. Use an integer in the range of 0 to 255. The default is 0.

Advertisement

Table of Contents
loading

Table of Contents