The text of a manual · part 18 of 21
HP JetDirect Print Servers (600N/400N/500X/300X) Administrator's Guide: TCP/IP Overview
Pages 137 to 144 of 164, from HP JetDirect Print Servers (600N/400N/500X/300X) Administrator's Guide
The original document is the PDF (2.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the HP J3263A JetDirect 300X
Page 137
A TCP/IP Overview Introduction This appendix is intended to provide information to help you gain a basic understanding of TCP/IP. TCP/IP (Transmission Control Protocol/Internet Protocol) is a suite of protocols designed to define the way data is passed to network devices. TCP/IP is rapidly becoming the most used set of protocols. The main reason this is happening is the fact that the internet only uses TCP/IP. If you have a network that you wish to connect to the internet, you must be using TCP/IP to communicate.
Internet Protocol (IP) When information is sent across the network, the data is broken down into small packets. Each packet is sent independently of one another. IP routes all data packets on the network and provides connectionless, nonguaranteed delivery of data packets across the network. Each node on the network is assigned an IP address, including HP JetDirect connected devices.
EN
131
Page 138
Transmission Control Protocol (TCP) TCP handles breaking the data into packets and recombining the packets on the receiving end by providing a connection-oriented, reliable, and guaranteed delivery service to another node on the network. When data packets are received at their destination, TCP calculates a checksum for each packet to verify the data is not corrupt. If the data in the packet has been corrupted during transmission, TCP discards the packet and the packet is resent.
User Datagram Protocol (UDP) UDP provides similar services to TCP. However, UDP does not acknowledge data receipt and supports request/reply transactions with no added reliability or guarantee of delivery. UDP is used when acknowledgment and reliability are not required, such as during a “discovery broadcast.”
IP Address Every host (workstation or node) on an IP network requires a unique IP address for each network interface. This address is a software address that is used to identify both the network and specific hosts located on that network. Each IP address can be divided into two separate parts: the network portion and the host portion. It is possible for a host to query a server for a dynamic IP address each time the device boots-up (see the section “Dynamic Host Configuration Protocol (DHCP).”) Note
When assigning IP addresses, always consult the IP address administrator. Setting the wrong address can disable other equipment operating on the network or interfere with communications.
132 TCP/IP Overview
EN
Page 139
IP Address: (Network Portion) Network addresses are managed by an organization in Norfolk, Virginia recognized as InterNIC. InterNIC has been contracted by the National Science Foundation to manage the Internet addresses and domains. Network addresses are distributed to organizations that are in turn responsible for making sure all attached devices or hosts on the network are properly numbered. The network address is a four-byte address although some bytes may be expressed as zeros.
IP Address: (Host Portion) Host addresses numerically identify specific network interfaces on an IP network. Usually a host has only one network interface; thus, only one IP address. Because no two devices can share the same number at the same time, administrators typically maintain address tables to assure correct assignment of addresses in the host network.
EN
TCP/IP Overview 133
Page 140
IP Address Structure and Class An IP address is comprised of 32 bits of information and divided into 4 sections containing 1 byte each section or 4 bytes total: xxx.xxx.xxx.xxx For efficiency in routing, networks were broken down into three classes, so routing can begin simply by identifying the leading byte of information in the IP address. The three IP addresses that InterNIC assigns are class A, B, and C. The network class determines what each of the four IP address sections identify as shown in Table A.1: Table A.1
IP Address Class Format
Class
First Address Byte xxx.
Second Address Byte xxx.
Third Address Byte xxx.
Fourth Address Byte xxx
A
Network.
Host.
Host.
Host
B
Network.
Network.
Host.
Host
C
Network.
Network.
Network.
Host
Explained in more detail in the table “Network Class Characteristics,” you will see how each network class differs further by the leading bit identifier, the address range, the number of each type available, and the maximum number of hosts each class allows. Table A.2
Network Class Characteristics
Class Leading Bit Identifier
Address Range
Maximum number of networks in the class
Maximum hosts in the network
A
0
0.0.0.0 to 127.255.255.255
126
Over 16 Million
B
10
128.0.0.0 to 191.255.255.255
16,382
65,534
C
110
192.0.0.0 to 223.255.255.255
Over 2 Million
254
134 TCP/IP Overview
EN
Page 141
Configuring IP Addresses TCP/IP configuration parameters (such as IP address, subnet mask, default gateway) can be configured on the HP JetDirect print server in a variety of ways. These values can be configured manually through HP-supplied software, or they can be automatically downloaded using DHCP or BOOTP each time the print server is turned on.
Dynamic Host Configuration Protocol (DHCP) DHCP allows a group of devices to use a set of IP addresses that are maintained by a DHCP server. The device or host sends a request to the server, and if an IP address is available, the server assigns it to that device.
BOOTP BOOTP is a bootstrap protocol used to download configuration parameters and host information from a network server. BOOTP uses UDP for its transport. In order for devices to boot and load configuration information into RAM, they must communicate through the bootstrap protocol BOOTP as a client with their server. To configure the device, the client broadcasts a boot request packet containing at least the hardware address of the device (HP JetDirect print server hardware address). The server answers with a boot reply packet containing the information the device needs to configure.
EN
TCP/IP Overview 135
Page 142
Subnets When an IP address is assigned to an organization, no provision is made for more than one network being present at that location. Local network administrators use subnets to partition a network into several different subnetworks. Splitting a network into subnets can result in better performance and improved use of limited network address space.
Subnet Mask The subnet mask is a mechanism used to divide a single IP network into several different networks. To subnet the IP address, the administrator must take part of the host area of the address and assign it for subnet numbers. The subnet mask “masks” out that specific portion of the host IP address along with the entire network section of the address with ones and leaves this portion as zeros, available to host addressing. Table A.3 Bytes
Subnet Masks Network
Subnet
Host
Host
Class A Network
15 xxx xxx xxx
Subnet Mask
255
255
0
0
Example IP Address
15
254
64
2
(Sections)
In the table above, “Subnet Masks,” the Class A network 15 has been assigned to Hewlett-Packard. To allow additional networks at the HP site, the subnet mask of 255.255.0.0 is used. This address designates the second byte of the IP address as the subnet address. Using this designation, each device is uniquely identified on its own subnet, but HP can incorporate up to 254 subnetworks without violating their assigned address space.
136 TCP/IP Overview
EN
Page 143
Gateways Gateways are devices that act as translators between systems that do not use the same communication protocols, data formatting, structures, languages, or architectures. Gateways repackage the data packets and change the syntax to match that of the destination system. When networks are divided into subnets, gateways are required to connect one subnet to another.
Default Gateway The Default Gateway is the address of the gateway or router that you use to move packets between subnets. If multiple gateways or routers exist, then the default gateway is the address of the first gateway or router that you use to move packets between subnets.
EN
TCP/IP Overview 137
Page 144
138 TCP/IP Overview
EN