A SERVICE OF

logo

Radio PC Card Configuration 47
E-EQ-MX2RG-L-ARC MX2 Reference Guide
Examples
interface pdr if0 dix 1500 5 0x60
interface asy ser0 cslip 576 15 0x3f8 4 9600
interface asy p0 ppp 1500 30 0x3f8 4 9600 pppmod.mod
ip
ip displays or sets the values of the options selected when defining the IP (internet protocol) host
address of the next interface to be defined.
Syntax
ip address [hostid [/net_bits] ]
ip status
ip ttl [number]
ip address sets the IP host address of the next interface to be defined. A route is automatically
added to each interface for the default or specified net mask for its address. To make an automatic
route the default, specify the net bits as zero. When specified without the optional parameters, ip
address displays the current value(s) of the local host IP address(es). To assign different IP
addresses to different interfaces on the same host, an ip address statement must precede each
interface definition. The last IP address given is used in case of missing ip address statements.
ip status displays Internet Protocol (IP) statistics, such as total packet counts and error counters of
various types. It also displays statistics on the Internet Control Message Protocol (ICMP). This
includes the number of ICMP messages of each type sent or received.
ip ttl sets the default time-to-live value which is placed in each outgoing IP datagram. The ttl
value limits the number of gateway hops the datagram is allowed to take in order to kill datagrams
that got stuck in loops.
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