Ip Address - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Guidelines
You can use DHCP to obtain the following parameters from a DHCP server:
v Interface IP address
v Default Gateway IP address
v DNS IP address
Use the no dhcp command to disable the DHCP client.
Examples
v Enables a DHCP client on Ethernet 2.
v Disables the DHCP client on Ethernet 2.

ip address

Assigns an IP address and subnet mask to an Ethernet port, and enables the
interface.
Syntax
ip address address/netmask [secondary]
no ip addressaddress/netmask [secondary]
no ip address secondary
Parameters
address Specifies an IP address to be assigned to the current Ethernet port.
netmask
secondary
Guidelines
After assigning an initial IP address (referred to as the primary address), you can
use the secondary keyword to assign additional addresses (referred to as
secondary addresses) to the same Ethernet port. An Ethernet port can have a single
primary address and multiple secondary addresses
Use the no ip address secondary to remove all secondary addresses from an
interface.
Related Commands
interface, show ip address, standby
352
Command Reference
# interface eth2
# dhcp
# exit
#
# interface eth2
# no dhcp
# exit
#
Identifies the network portion of the interface address. Can be expressed in
CIDR (slash) format, which is an integer that specifies the length of the
network portion of the address, or in dotted decimal format.
Optionally identifies the address as a secondary address.

Advertisement

Table of Contents
loading

Table of Contents