hw for chapter 3 exercises: 38, 45, 47, 48 2.1. mcgraw-hill©the mcgraw-hill companies, inc., 2000...

47
HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1

Upload: garret-milsap

Post on 29-Mar-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

HW for Chapter 3

Exercises: 38, 45, 47, 48

2.1

Page 2: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

2McGraw-Hill © The McGraw-Hill Companies, Inc., 2000

MIDTERM 1 – WEEK OF MARCH 8th

Ch.1, Ch.2, 3.1 & 3.6, Ch.7, 8.1-8.3

Page 3: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.3

Chapter 7

Transmission Media

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Page 4: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.4

Transmission medium and physical layer

A transmission media defined as anything that carry information between a source to a destination- Located below the physical layer and are directly controlled by the physical layer

Page 5: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.5

Classes of Transmission Media

Page 6: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.6

7-1 GUIDED MEDIA

Guided media, which are those that provide a conduit from one device to another, include twisted-pair cable, coaxial cable, and fiber-optic cable.

Twisted –pair cables and coaxial cable:use metallic (copper) conductors that transport signals in the form of electric currentOptical fiber : transport signals in the form of the light

Page 7: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.7

Twisted-pair cable

• One of the wire used to carry signal and the other as a ground. The receiver uses the difference between the two.

• If the two wires are parallel, the effect of interference noise and crosstalk is big

• Twisting the pair of wire balance the effect of unwanted signal and reduce it.

The number of twists per unit of length effects on the quality of the cable

Page 8: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.8

Applications of Twisted pair

Used in 1.telephone lines to provide voice and data channels (local loop)

2.The DSL lines that are used by the telephone companies to provide high-data-rate connections

3.Local area networks, such as 10-base-Tand 100base-T

Page 9: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.9

Figure 7.6 UTP performance

Page 10: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.10

Coaxial cable

Coax cable carries signals of higher frequency ranges than those in Twisted pair cable because the two media are constructed quite differently.

The outer conductor serves both as a shield against noise and as second conductor, which complete the circuit

Page 11: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.11

Applications of coaxial cable

1.Analog telephone network where a single cable could carry 10,000 voice signals. Later it was used in Digital telephone networks where cable can carry 600Mbps 2.Cable TV network: hybrid network use coaxial cable only at the network boundaries , near the consumer. Cable TV use RG-59

3.Traditional Ethernet LANs. 10-base-2 or “Thin Ethernet”, uses RG-58 coax cable

to transmit data at 10 Mbps with a range of 185m.

10-base-5,or “Thick Ethernet”, uses RG-11 to transmit 10 Mbps with rang of 500 m

Page 12: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.12

Figure 7.9 Coaxial cable performance

Page 13: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.13

Fiber Optic CableIs made of glass or plastic and transmit signals in the form of light.Light travels in a straight line as long as it is moving through a single uniform

substance. If a ray of light traveling through one substance enters another substance of different density , the ray change direction as shown:

I: angle of incidence: the angle the ray makes with line perpendicular to the interface between the two substancesCritical angle: property of substance, its value differs from one substance to another

Page 14: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.14

Optical fiber

Fiber Optical : uses reflection to guide light through a channel. A glass or plastic core is surrounded by a cladding of less dense glass or plastic

Page 15: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.15

Used in :

1.Cable TV network: hybrid network use a combination of optical fiber and coax cable. Optical provides the backbone while coaxial cable provide the connation to the user.

2.Local area networks such as 100base-FX(fast Ethernet) and 1000base-XLANs.

3.Backbone networks because its wide bandwidth

Applications for Fiber Optic cable

Page 16: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.16

1.Higher Bandwidth

2.Less signal attenuation it needs repeater every 50km, where twisted and coaxial need it every 5km. 3.Immunity to electromagnetic interference (noise)

4.Resistance to corrosive materials. Glass is more resistance to corrosive material than copper

5.Light weight. Fiber cables are much lighter than copper cables6.Greater immunity to tapping: copper cables create antenna effects that can easily be tapped

Advantages of fiber-optical

Page 17: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

7.17

1.Installation and maintenance. It’s a new technology. Its installation and maintenance require expertise that is not yet available every where.

2.Unidirectional light propagation. If we need bidirectional , two fibers are needed.

3.Cost. The cable and the interfaces are more expensive than those of other guided media. If the demand of BW is not high , often use of optical fiber can not be justified

Disadvantages of fiber-optical

Page 18: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

HW for Chapter 7

Review Questions:1, 2, 3, 4, 8

2.18

Page 19: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

McGraw-Hill © The McGraw-Hill Companies, Inc., 2000

Ch. 8: Switching & Datagram Networks

7.19

Page 20: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

Building large networks

A network is a set of connected devices.

When ever we have multiple devices, we have the problem of how to connect them! Point-to-point (mesh or star topology):

impossible for large networks. Multipoint (bus topology): does not work

for large network since the distances between devices and the total number of devices increase beyond the capacity of the media and equipments.

7.20

Page 21: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

Switching is the solution

A switched network consists of a series of interlinked nodes, called switches.

Switches are devices capable of making temporary connections between any two or more devices connected to the switch.

7.21

Page 22: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.22

Figure 8.1 Switched network

Page 23: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.23

Figure 8.2 Taxonomy of switched networks

Page 24: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.24

8-1 CIRCUIT-SWITCHED NETWORKS

A circuit-switched network consists of a set of switches connected by physical links. A connection between two stations is a dedicated path made of one or more links. However, each connection uses only one dedicated channel on each link. Each link is normally divided into n channels by using FDM or TDM.

Three PhasesEfficiencyDelayCircuit-Switched Technology in Telephone Networks

Topics discussed in this section:

Page 25: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.25

A circuit-switched network is made of a set of switches connected by physical

links, in which each link is divided into n channels.

Note

Page 26: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.26

Figure 8.3 A trivial circuit-switched network

Page 27: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.27

In circuit switching, the resources need to be reserved during the setup phase;the resources remain dedicated for the entire duration of data transfer until the

teardown phase.

Note

Page 28: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.28

Switching at the physical layer in the traditional telephone network uses

the circuit-switching approach.

Note

Page 29: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.29

8-2 DATAGRAM NETWORKS

In data communications, we need to send messages from one end system to another. If the message is going to pass through a packet-switched network, it needs to be divided into packets of fixed or variable size. The size of the packet is determined by the network and the governing protocol.

Routing TableEfficiencyDelayDatagram Networks in the Internet

Topics discussed in this section:

Page 30: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.30

In a packet-switched network, there is no resource reservation;

resources are allocated on demand.

Note

Page 31: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.31

Figure 8.7 A datagram network with four switches (routers)

Page 32: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.32

Figure 8.8 Routing table in a datagram network

Page 33: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.33

A switch in a datagram network uses a routing table that is based on the

destination address.

Note

Page 34: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.34

The destination address in the header of a packet in a datagram network

remains the same during the entire journey of the packet.

Note

Page 35: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.35

Figure 8.9 Delay in a datagram network

Page 36: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.36

Switching in the Internet is done by using the datagram approach

to packet switching at the network layer.

Note

Page 37: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.37

8-3 VIRTUAL-CIRCUIT NETWORKS

A virtual-circuit network is a cross between a circuit-switched network and a datagram network. It has some characteristics of both.

AddressingThree PhasesEfficiencyDelayCircuit-Switched Technology in WANs

Topics discussed in this section:

Page 38: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.38

Figure 8.10 Virtual-circuit network

Page 39: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.39

Figure 8.11 Virtual-circuit identifier

Page 40: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.40

Figure 8.12 Switch and tables in a virtual-circuit network

Page 41: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.41

Figure 8.13 Source-to-destination data transfer in a virtual-circuit network

Page 42: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.42

Figure 8.14 Setup request in a virtual-circuit network

Page 43: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.43

Figure 8.15 Setup acknowledgment in a virtual-circuit network

Page 44: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.44

In virtual-circuit switching, all packets belonging to the same source and destination travel the same path;but the packets may arrive at the destination with different delays

if resource allocation is on demand.

Note

Page 45: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.45

Figure 8.16 Delay in a virtual-circuit network

Page 46: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

8.46

Switching at the data link layer in a switched WAN is normally

implemented by using virtual-circuit techniques.

Note

Page 47: HW for Chapter 3 Exercises: 38, 45, 47, 48 2.1. McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 MIDTERM 1 – WEEK OF MARCH 8th Ch.1, Ch.2, 3.1 & 3.6,

HW for Chapter 2

Review Questions:1, 2, 3, 4, 5, 6

Exercises: 11 (a,c), 14, 16, 17, 18

2.47