A SERVICE OF

logo

SOCKETS TCP/IP Stack 147
E-EQ-MX3RG-J-ARC MX3 Reference Guide
Parameters
hostid
hostid specifies the IP host address to assign to the next interface to be defined. This may be a
symbolic name from the HOSTS file, or a dotted decimal address.
/net_bits
A net mask can be specified for the host. In the ip address command an optional /net_bits can be
used to indicate the number of bits in the network ID. The net mask is used to determine whether
an incoming datagram is a broadcast and also for sending UDP broadcasts.
Net masks are more easily represented in binary or hexadecimal format. For example, the IP
address 128.1.1.5/24
corresponds to a net mask of 255.255.255.0 (FFFFFF00h),
25 bits to 255.255.255.128 (FFFFFF80h)
and 26 bits to 255.255.255.192 (FFF FFC0h).
The default net mask used corresponds to the class of address used if not explicitly specified.
Net Bits Net Mask Class IP address range
8 255.0.0.0 A 0.x.x.x to 127.x.x.x
16 255.255.0.0 B 128.x.x.x to 191.x.x.x
24 255.255.255.0 C and higher 192.x.x.x or higher
If you want to subdivide your network, you can divide it by two for every net bit added. The
following table provides information on converting between net bits and net mask. The number of
net bits to add when changing a 0 in the net mask to:
Net Bits Net Mask Net Bits Net Mask
1 128 5 248
2 192 6 252
3 224 7 254
4 240 8 255
number
When number is omitted, ip ttl displays the current value of the time to live parameter.
param
param invokes a device-specific control routine. When executed without parameters, param
displays defined interface names and device-specific flags. param operates differently for each
interface type and even interface mode. In many cases it is used to interrogate the status of an
interface. The ifstat and param commands perform similar and, in some cases, exactly the same
function.
Syntax
param ifname [arg1...argn]