1 / 27

Data Comm. & Networks

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.

rendor
Download Presentation

Data Comm. & Networks

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data Comm. & Networks Instructor: Ibrahim Tariq Lecture 3

  2. TCP/IP Protocol

  3. TCP/IP Vs OSI Model

  4. Four Level of Addresses

  5. Relationship of Layers & Addresses in TCP/IP

  6. Note The physical addresses will change from hop to hop, but the logical addresses usually remain the same.

  7. 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.

  8. Physical addresses

  9. 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.

  10. 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.

  11. IP addresses

  12. 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.

  13. Figure 2.21 Port addresses

  14. Note The physical addresses will change from hop to hop, but the logical addresses usually remain the same.

  15. 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.

  16. Note The physical addresses change from hop to hop, but the logical and port addresses usually remain the same.

  17. 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)

  18. 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)

  19. 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

  20. 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)

  21. 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

  22. 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

  23. Example: 4 users FDM frequency time TDM frequency time Circuit Switching: FDM and TDM

  24. 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.

  25. Example (contd.)

  26. 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

  27. 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

More Related