Presentation is loading. Please wait.

Presentation is loading. Please wait.

CNAP AT VCC Semester 1 CHAPTER 7 Wael Yousif Connecting The Internet Generation.

Similar presentations


Presentation on theme: "CNAP AT VCC Semester 1 CHAPTER 7 Wael Yousif Connecting The Internet Generation."— Presentation transcript:

1 CNAP AT VCC Semester 1 CHAPTER 7 Wael Yousif Connecting The Internet Generation

2 CNAP AT VCC  Content Token-ring. FDDI LAN. Ethernet and IEEE 802.3. Layer 2 devices and effects on data flow.

3 CNAP AT VCC BASIC OF TOKEN-RING

4 CNAP AT VCC  Variants IBM developed the first Token Ring network in the 1970s. It is still IBM's primary LAN technology, and is second only to Ethernet (IEEE 802.3) in terms of LAN implementation.

5 CNAP AT VCC  Ring topology

6 CNAP AT VCC  Data passing When a station has information to transmit, it seizes the token and sends data frame to the next station. When frame reaches the destination station, the data is copied for processing. Frame continues to circle the ring until it returns to the sending station. Sending station removes the frame from the ring, verifies receipt, and releases the token.

7 CNAP AT VCC  Token-Ring frame format

8 CNAP AT VCC  Start delimiter and End delimiter Start delimiter. –Alert for the arrival of a token. End Delimiter –Completes the token or data/command frame. –Contains damage indicator. –Last of logical sequence.

9 CNAP AT VCC  Access control P: Priority bits T: Token bit M: Monitor bit R: Reservation bits P P P P P P T T M M R R R R R R

10 CNAP AT VCC  Priority and reservation bits B'000' Normal User Priority B'001' Normal User Priority B'010' Normal User Priority B'011' Normal User priority B'100' Bridge/Router B'101' Reserved IBM B'110' Reserved IBM B'111' Station Management

11 CNAP AT VCC  Priority management Using the priority field and the reservation field. Stations with a higher priority can reserve the token for the next network pass. Stations that raise a token's priority level must reinstate the previous priority after their transmission has been completed.

12 CNAP AT VCC  Frame control Only present in data/command frames. Indicates whether frame contains data or control information. If control, this byte specifies type of control information. Only present in data/command frames. Indicates whether frame contains data or control information. If control, this byte specifies type of control information.

13 CNAP AT VCC  Destination and Source addresses Universal Address. Local Administered Address. Broadcast Address Functional Address (0x0C0000 00XXXX) Universal Address. Local Administered Address. Broadcast Address Functional Address (0x0C0000 00XXXX)

14 CNAP AT VCC  Data Length limited by the maximum time a station may hold the token.

15 CNAP AT VCC  Frame checksum Frame Check Sequence. Source fills field with calculated value dependent on frame contents. Destination recalculates to check data integrity. Frame is discarded if damaged. Frame Check Sequence. Source fills field with calculated value dependent on frame contents. Destination recalculates to check data integrity. Frame is discarded if damaged.

16 CNAP AT VCC  Frame status Address recognized / frame copied indicator.

17 CNAP AT VCC  Management mechanisms Active Monitor –One station acts as centralized source of timing information for other stations. –Removes continuously circulating frames by set monitor bit to 1. –Start a token, when token have been lost. Beaconing –Detects and repairs network faults. –Initiates auto-reconfiguration.

18 CNAP AT VCC  Physical topology Physical topology : Star. Logical topology : Ring. IBM Token Ring network stations are connected to MSAU (Multi-Station Access Unit). Many MSAU can be wired together to form one large ring.

19 CNAP AT VCC  Multi-MSAU

20 CNAP AT VCC  Physical connection

21 CNAP AT VCC BASIC OF FDDI

22 CNAP AT VCC  Characteristics Fiber Distributed Data Interface. FDDI is popular as a campus backbone technology.  100 Mbps  Token passing  Dual-ring  Fiber Optic Cable  Total fiber length of 200Km

23 CNAP AT VCC  FDDI dual-ring (PR and SR)

24 CNAP AT VCC  Fiber-optic modes

25 CNAP AT VCC  FDDI Connections Class A: connect directly with PR – SR. –DAC: Dual Attachment Concentrator –DAS: Dual Attachment Station Class B: connect via FDDI concentrator. –SAS: Single Attachment Station

26 CNAP AT VCC  Operation mechanisms Connection Establishment –Station connect to neighbors to form the ring. –Negotiate the length of the link. Ring Initialization –Station claim the right to generate a token. Steady-state Operation –Token passing Ring Maintenance –Detects and repairs token or network faults.

27 CNAP AT VCC  FDDI topology

28 CNAP AT VCC ETHERNET AND IEEE 802.3

29 CNAP AT VCC  Ethernet introduction Ethernet is the most widely used local area network (LAN) technology. Ethernet was designed to carry data at high speeds for very limited distances. Ethernet is well suited to applications where a local communication medium must carry sporadic, occasionally heavy traffic at high peak data rates.

30 CNAP AT VCC  Datalink and Physical layers

31 CNAP AT VCC  Comparing Ethernet and IEEE 802.3 Specify similar technologies. Broadcast network. Using CSMA/CD algorithm. Hardware implementation. Differences: –Ethernet provides services corresponding to physical and datalink layer. –IEEE 802.3 specifies the physical layer and the channel-access portion of the data link layer but does not define a LLC protocol.

32 CNAP AT VCC  Ethernet family: 1000Base-SX-LX

33 CNAP AT VCC  Ethernet family: 1000Base-T

34 CNAP AT VCC  Ethernet family: 100Base-TX

35 CNAP AT VCC  Ethernet family: 10Base-T

36 CNAP AT VCC  Ethernet family

37 CNAP AT VCC  Ethernet frame format

38 CNAP AT VCC  Preamble Note that a frame is Ethernet or IEEE 802.3.

39 CNAP AT VCC  Start of frame delimiter (SOF) The IEEE 802.3: synchronize the frame-reception portions of all stations on the LAN. Be explicitly specified in Ethernet. The IEEE 802.3: synchronize the frame-reception portions of all stations on the LAN. Be explicitly specified in Ethernet.

40 CNAP AT VCC  Source and destination addresses MAC addresses. Unicast. Multicast (D) Broadcast (D) MAC addresses. Unicast. Multicast (D) Broadcast (D)

41 CNAP AT VCC  Type (Ethernet) Specifies the upper-layer protocol to receive the data after Ethernet processing is completed

42 CNAP AT VCC  Length (IEEE 802.3) The length indicates the number of bytes of data that follows this field

43 CNAP AT VCC  Data (Ethernet) the data contained in the frame is sent to an upper-layer protocol

44 CNAP AT VCC  Data (IEEE 802.3) Data send to LLC layer, including LLC header and upper-layer data

45 CNAP AT VCC  Frame check sequence (FCS) This sequence contains a 4 byte CRC value that is created by the sender and is recalculated by the receiver to check for damaged frames

46 CNAP AT VCC  Media Access Control (MAC) Shared-media broadcast technology. Ethernet’s MAC performs three functions: 1.transmitting and receiving data packets 2.decoding data packets and checking them for valid addresses before passing them to the upper layers of the OSI model 3.detecting errors within data packets or on the network

47 CNAP AT VCC  Broadcast technology MAC

48 CNAP AT VCC  Broadcast address FF-FF-FF-FF-FF-FF

49 CNAP AT VCC  CSMA/CD When a station wishes to transmit, it checks the network to determine whether another station is transmitting. If network is free, the station proceeds with the transmission. While sending, the station monitors the network to ensure that no other station is transmitting. If a transmitting node recognizes a collision, it transmits a jam signal so that all other nodes recognize collision. All transmitting nodes then stop sending for a backoff time (randomly 0.. 2 n - 1 of 51.2  s).

50 CNAP AT VCC  CSMA/CD (cont.)

51 CNAP AT VCC  CSMA/CD Algorithm

52 CNAP AT VCC  Ethernet star topology

53 CNAP AT VCC  Ethernet star topology (cont.)

54 CNAP AT VCC  TIA/EIA-568-A HC Standard

55 CNAP AT VCC  TIA/EIA-568-A: Distance limit

56 CNAP AT VCC LAYER 2 DEVICES AND EFFECTS ON DATAFLOW

57 CNAP AT VCC  Layer 2 Devices NIC (Network Interface Card) –Connect your computer with network. –Provide MAC addresses to each connection. –Implement CSMA/CD algorithm. Bridge –Forward or filter frame by MAC address. Switch –Multi-port bridge.

58 CNAP AT VCC  NIC

59 CNAP AT VCC  NIC (cont.) Provides ports for network connection. When selecting a network card, consider: 1.Type of network: Ethernet Token Ring FDDI 2.Type of media Twisted-pair Coaxial Fiber-optic 3.Type of system bus PCI ISA

60 CNAP AT VCC  NIC: Layer 2 functions Logical link control (LLC): communicates with upper layers in the computer Naming: provides a unique MAC address identifier Framing: part of the encapsulation process, packaging the bits for transport Media Access Control (MAC): provides structured access to shared access media Signaling: creates signals and interface with the media

61 CNAP AT VCC  Bridge Connects network segments. Make intelligent decisions about whether to pass signals on to the next segment. Improve network performance by eliminating unnecessary traffic and minimizing the chances of collisions. Divides traffic into segments and filters traffic based on MAC address. Often pass frames b/w networks operating under different Layer 2 protocols.

62 CNAP AT VCC  Bridge (cont.)

63 CNAP AT VCC  Bridge (cont.): Filter

64 CNAP AT VCC  Bridge (cont.): Forward

65 CNAP AT VCC  LAN Switch Switches connect LAN segments. LAN switches are considered multi-port bridges with no collision domain. Use a MAC table to determine the segment on which a frame needs to be transmitted. Switches often replace shared hubs and work with existing cable infrastructures. Higher speeds than bridges. Support new functionality, such as VLAN.

66 CNAP AT VCC  LAN Switch (cont.)

67 CNAP AT VCC  LAN Switch: MAC table

68 CNAP AT VCC  LAN Switch: Micro-segmentation

69 CNAP AT VCC  Benefits of LAN Switch No collision domain, because of micro- segmentation. Low latency levels and a high rate of speed for frame forwarding Increases the bandwidth available on a network Is performed in hardware instead of in software, it is significantly faster. BUT: All hosts connected to the switch are still in the same broadcast domain.

70 CNAP AT VCC  Why segment LANs? Isolate traffic between segments. Achieve more bandwidth per user by creating smaller collision domains. LANs are segmented by devices like bridges, switches, and routers. Extend the effective length of a LAN, permitting the attachment of distant stations.

71 CNAP AT VCC  Segmentation with bridges

72 CNAP AT VCC  Segmentation with bridges (cont.) Bridges increase the latency (delay) in a network by 10-30%. A bridge is considered a store-and- forward device because it must receive the entire frame and compute the cyclic redundancy check (CRC) before forwarding can take place. The time it takes to perform these tasks can slow network transmissions, thus causing delay.

73 CNAP AT VCC  Segmentation with switches

74 CNAP AT VCC  Segmentation with switches (cont.) Allows a LAN topology to work faster and more efficiently. Uses bandwidth so efficiently, the available bandwidth can reach to 100%. Ease bandwidth shortages and network bottlenecks (such as client-server). A computer connected directly to an Ethernet switch is its own collision domain and accesses the full 10Mbps.

75 CNAP AT VCC  Segmentation with routers

76 CNAP AT VCC  Segmentation with routers (cont.) Routers operates at the network layer Routers bases all of its forwarding decisions on the Layer 3 protocol address. Routers ability to make exact determinations of where to send the data packet. Router operate with a higher rate of latency.

77 CNAP AT VCC  Teaching topology

78 CNAP AT VCC  Basic 10BaseT troubleshooting

79 CNAP AT VCC


Download ppt "CNAP AT VCC Semester 1 CHAPTER 7 Wael Yousif Connecting The Internet Generation."

Similar presentations


Ads by Google