User`s guide

120 SOCKETS TCP/IP Stack
MX1 Reference Guide E-EQ-MX1RG-D
SOCKETS TCP/IP Stack
Introduction
SOCKET.CFG sets the options for SOCKETP.EXE. The section XXX.XXX.XXX.XXX is for
this machines IP. The net mask is specified as part of the ip address. In the ip address command an
optional /net_bits can be used to indicate the number of bits in the network ID.
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 192.x.x.x or higher
The network can be subdivided by two for every net bit added.
Net
Bits
Net
Mask
Net
Bits
Net
Mask
1 128 5 248
2 192 6 252
3 224 7 254
4 240 8 255
Bootp
BOOTP is a UDP/IP based protocol that provides a means to assign an IP address to a booting
host dynamically and without user supervision. BOOTP can also supply the net mask, host name,
and address of a domain name server. One obvious advantage of this procedure is the centralized
management of network addresses, which eliminates the need for per-host unique configuration
files. Sockets implements the BOOTP client whenever it is started with no (or the 0.0.0.0) IP
address supplied.
DHCP
DHCP is a UDP/IP based protocol that provides a means to assign the IP address dynamically to a
booting host and without user supervision. It can also supply the net mask, host name, address of a
domain name server, and other parameters. An advantage of this procedure is the centralized
management of network addresses, which eliminates the need for per-host unique configuration
files. Sockets implements the DHCP client whenever it is started with the 0.0.0.1 IP address
supplied. All LAN interfaces specified when this IP address is in use will attempt to use DHCP to
resolve the IP address, the subnet mask, hostname, default router and DNS server(s).