270 likes | 415 Views
Data Comm. & Networks. Instructor: Ibrahim Tariq Lecture 3. TCP/IP Protocol. TCP/IP Vs OSI Model. Four Level of Addresses. Relationship of Layers & Addresses in TCP/IP. Note. The physical addresses will change from hop to hop, but the logical addresses usually remain the same.
E N D
Data Comm. & Networks Instructor: Ibrahim Tariq Lecture 3
Note The physical addresses will change from hop to hop, but the logical addresses usually remain the same.
In Figure below 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.
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.
Figure below 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.
Figure below 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.
Note The physical addresses will change from hop to hop, but the logical addresses usually remain the same.
Aport address is a 16-bit address represented by one decimal number as shown. 753 A 16-bit port address represented as one single number.
Note The physical addresses change from hop to hop, but the logical and port addresses usually remain the same.
Communication Network Communication networks Broadcast networks End nodes share a common channel (TV, radio…) Switched networks End nodes send to one (or more) end nodes Circuit switching Dedicated circuit per call (telephone, ISDN) (physical) Packet switching Data sent in discrete portions (the Internet)
Communication Network Communication networks Broadcast networks End nodes share a common channel (TV, radio…) Switched networks End nodes send to one (or more) end nodes Circuit switching Dedicated circuit per call (telephone, ISDN) (physical) Packet switching Data sent in discrete portions (the Internet)
Circuit switching • A dedicated communication path (sequence of links-circuit)is established between the two end nodes through the nodes of the network • Bandwidth: A circuit occupies a fixed capacityof each link for the entire lifetime of the connection. Capacity unused by the circuit cannot be used by other circuits. • Latency: Data is not delayed at switches
Circuit switching (cnt’d) Three phases involved in the communication process: • Establish the circuit • Transmit data • Terminate the circuit If circuit not available: busy signal (congestion)
Time diagram of circuit switching switch node 1 node 2 host 1 host 2 Delay host 1- node 1 Processing delay node 1 circuit establishment Delay host 2- host 1 data transmission DATA time
Circuit Switching • Network resources (e.g., bandwidth) divided into “pieces” • pieces allocated to calls • resource piece idle if not used by owning call (no sharing) • dividing link bandwidth into “pieces” • frequency division • time division
Example: 4 users FDM frequency time TDM frequency time Circuit Switching: FDM and TDM
Example Assume that a voice channel occupies a bandwidth of 4 kHz. We need to combine three voice channels into a link with a bandwidth of 12 kHz, from 20 to 32 kHz. Show the configuration, using the frequency domain. Assume there are no guard bands. Solution We shift (modulate) each of the three voice channels to a different bandwidth, as shown in Figure on next Slide. We use the 20- to 24-kHz bandwidth for the first channel, the 24- to 28-kHz bandwidth for the second channel, and the 28- to 32-kHz bandwidth for the third one. Then we combine them.
Example Five channels, each with a 100-kHz bandwidth, are to be multiplexed together. What is the minimum bandwidth of the link if there is a need for a guard band of 10 kHz between the channels to prevent interference? Solution For five channels, we need at least four guard bands. This means that the required bandwidth is at least 5 × 100 + 4 × 10 = 540 kHz
Applications • AM Radio • Band 530-1700KHz • Each AM Station needs 10KHz • FM Radio • Band 88-108MHz • Each FM Station needs 200KHz • TV • Each Channel needs 6MHz • AMPS