Professional Documents
Culture Documents
Network Models
2.1
Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
2.2
Figure 2.1
2.3
2.5
If use a layered design can separate the processes into specific layers.
2.6
2.7
Note
ISO is the organization. OSI is the model.
2.8
2.10
2.11
2.12
2.13
PHYSICAL LAYER
Physical transmission of data across the network (mechanical, electrical, procedural) Components of the physical layer include:
Cabling system components Adapters that connect media to physical interfaces Connector design and pin assignments Hub, repeater, and patch panel specifications Wireless system components Parallel SCSI (Small Computer System Interface) Network Interface Card (NIC)
2.14
Note
The physical layer is responsible for movements of individual bits from one hop (node) to the next.
2.15
2.16
Works with a devices networking software when sending and receiving messages
2.17
MAC sublayer
defines the media access method (pulses, light emissions, waves) provides a unique physical address for the device (MAC address)
2.18
Note
The data link layer is responsible for moving frames from one hop (node) to the next.
2.19
2.20
2.21
NETWORK LAYER
end-to-end logical addressing of data packets
The Internet Protocol (IP) addresses make networks easier to both set up and connect with one another
A packet of data can be routed across several layer 2 networks (Ethernet, Token Ring, etc.). Routing
Routers use the network or subnet portion of the IP addressing to route traffic between different networks. Each router must be configured specifically for the networks or subnets that will be connected to its interfaces. Routers communicate with one another using routing protocols, such as Routing Information Protocol (RIP) and Open Shortest Path First (OSPF), to learn of other networks that are present and to calculate the best way to reach each network based Routers and other networked systems make these routing decisions at the network layer.
2.22
Note
The network layer is responsible for the delivery of individual packets from the source host to the destination host.
2.23
2.24
2.25
TRANSPORT LAYER
end-to-end communication between end devices through a network.
Depending on the application, the transport layer offers either reliable, connection-oriented or connectionless, best-effort communications. The most common transport layer protocols are the connectionoriented TCP Transmission Control Protocol (TCP) and the connectionless UDP User Datagram Protocol (UDP).
Application identification Confirmation that the entire message arrived intact Control of data flow to prevent memory overruns Establishment and maintenance of both ends of virtual circuits Multiplexing or sharing of multiple sessions over a single physical link
Note
The transport layer is responsible for the delivery of a message from one process to another.
2.27
2.28
2.29
2.30
Note
The session layer is responsible for dialog control and synchronization.
2.31
2.32
PRESENTATION LAYER
Responsible for how an application formats the data to be sent out onto the network. Allows application to understand message. presentation layer functionality :
Encryption and decryption of a message for security Compression and expansion of a message so that it travels efficiently Graphics formatting Content translation System-specific translation
2.33
Note
The presentation layer is responsible for translation, compression, and encryption.
2.34
2.35
APLICATION LAYER
Provides an interface for the end user operating a device connected to a network. Data the user views while using applications (Web browser or e-mail). Application layer functionality include:
Support for file transfers Ability to print on a network Electronic mail Electronic messaging Browsing the World Wide Web
2.36
Note
The application layer is responsible for providing services to the user.
2.37
2.38
2.40
2-5 ADDRESSING
Four levels of addresses are used in an internet employing the TCP/IP protocols: physical, logical, port, and specific.
2.41
2.42
2.43
Example 2.1
In Figure 2.19 a node with physical address 10 sends a frame to a node with physical address 87. The two nodes are connected by a link (bus topology LAN). As the figure shows, the computer with physical address 10 is the sender, and the computer with physical address 87 is the receiver.
2.44
2.45
Example 2.2
As we will see in Chapter 13, most local-area networks use a 48-bit (6-byte) physical address written as 12 hexadecimal digits; every byte (2 hexadecimal digits) is separated by a colon, as shown below:
07:01:02:01:2C:4B
A 6-byte (12 hexadecimal digits) physical address.
2.46
Example 2.3
Figure 2.20 shows a part of an internet with two routers connecting three LANs. Each device (computer or router) has a pair of addresses (logical and physical) for each connection. In this case, each computer is connected to only one link and therefore has only one pair of addresses. Each router, however, is connected to three networks (only two are shown in the figure). So each router has three pairs of addresses, one for each connection.
2.47
2.48
Example 2.4
Figure 2.21 shows two computers communicating via the Internet. The sending computer is running three processes at this time with port addresses a, b, and c. The receiving computer is running two processes at this time with port addresses j and k. Process a in the sending computer needs to communicate with process j in the receiving computer. Note that although physical addresses change from hop to hop, logical and port addresses remain the same from the source to destination.
2.49
2.50
Note
The physical addresses will change from hop to hop, but the logical addresses usually remain the same.
2.51
Example 2.5
As we will see in Chapter 23, a port address is a 16-bit address represented by one decimal number as shown.
753
A 16-bit port address represented as one single number.
2.52
Note
The physical addresses change from hop to hop, but the logical and port addresses usually remain the same.
2.53