SOCKETS TCP/IP Stack
83
E-EQ-MX1ISRG-F
MX1 I-Safe Reference Guide
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
Summary of Contents for MX1-IS
Page 38: ...28 Miscellaneous Connectors MX1 I Safe Reference Guide E EQ MX1ISRG F...
Page 42: ...32 Handling Batteries Safely MX1 I Safe Reference Guide E EQ MX1ISRG F...
Page 124: ...114 Numeric Alpha Key Map 41 Key MX1 I Safe Reference Guide E EQ MX1ISRG F...
Page 156: ...146 ROM DOS 6 22 Command Summary MX1 I Safe Reference Guide E EQ MX1ISRG F...
Page 164: ...154 Index MX1 I Safe Reference Guide E EQ MX1ISRG F...