27.11.2014 Views

z/VM: TCP/IP User's Guide - z/VM - IBM

z/VM: TCP/IP User's Guide - z/VM - IBM

z/VM: TCP/IP User's Guide - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Internet Addressing<br />

<strong>TCP</strong>/<strong>IP</strong> Protocols and Functions<br />

through this address. This mapping is normally performed through a translation<br />

table. If a match cannot be found for a destination internet address, ARP is<br />

invoked to determine this address.<br />

Indirect routing is used when the source and destination nodes are on different<br />

networks within an internet. The source node sends packets to a gateway or router<br />

on the same network using direct routing. From there, the packets are forwarded<br />

through intermediate gateways or routers, as required, until they arrive at the<br />

destination network. Direct routing is then used to forward the packets to the<br />

destination host on that network. Each gateway, router, and host in an internet has<br />

a routing table that defines the address of the next gateway or router to other<br />

networks (as well as other nodes on other networks) in an internet.<br />

Each internet host is assigned at least one unique internet address. This address is<br />

used by the <strong>IP</strong> and other higher-level protocols. When gateway hosts are used,<br />

more than one address may be required. Each interface to an internet is assigned<br />

its own unique address. Internet addresses are used to route packets through the<br />

network.<br />

Addresses within an internet consist of a network number and a local address. The<br />

unique network number is assigned to each network when it connects to another<br />

internet. If a local network is not going to connect to other internets, any<br />

convenient network number is assigned.<br />

Hosts that exchange packets on the same physical network should have the same<br />

network number. Hosts on different physical networks might also have the same<br />

network number. If hosts have the same network number, part of the local address<br />

is used as a subnetwork number. All host interfaces to the same physical network<br />

are given the same subnetwork number.<br />

An internet can provide standards for assigning addresses to networks, broadcasts,<br />

and subnetworks. Examples of these standard formats are described in the<br />

following sections.<br />

Network Address Format<br />

A standard internet address uses a two-part, 32-bit address field. The first part of<br />

the address field contains the network address; the second part contains the local<br />

address. The four different types of address fields are classified as A, B, C, or D,<br />

depending on the bit allocation.<br />

Figure 2 represents a class A address. A class A address has a 7-bit network<br />

number and a 24-bit local address. The highest order bit is set to 0.<br />

0 1234567<br />

1 2 3<br />

890123456789012345678901<br />

0 Network<br />

Local Address<br />

Figure 2. Class A Address<br />

Chapter 1. Introducing Computer Networks and Protocols 11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!