290 likes | 453 Views
DCN286 INTRODUCTION TO DATA COMMUNICATION TECHNOLOGY. Ethernet Fundamentals. Introduction to Ethernet. Xerox DEC+Intel IEEE. In short, you need to know that IEEE develops Ethernet standards. IEEE802 family contains various Ethernet standards to specify: Speed Type of cabling used.
E N D
DCN286 INTRODUCTION TO DATA COMMUNICATION TECHNOLOGY Ethernet Fundamentals
Xerox DEC+Intel IEEE In short, you need to know that IEEE develops Ethernet standards. IEEE802 family contains various Ethernet standards to specify: • Speed • Type of cabling used
Popular Copper Media Standards • TIA (Telecommunications Industry Association) and EIA (Electronic Industries Alliance) work together to publish commercial building telecommunications cabling standards TIA/EIA-568-B which defines how to use the pins on the connectors on the ends of the cables. • IEEE (Institute of Electrical and Electronic Engineers) publishes LAN standards such as IEEE802.3 which will define cable requirement.
IEEE802.3 • Specify requirements in Physical layer (1st layer of TCP/IP ISO/OSI model) such as cable, connector, encoding and speeds • Details of MAC (Media Access Control) sublayer of Datalink layer (2nd layer) such as MAC address format, collision detection • Error check in FCS (Frame Check Sequence) field of 802.3 trailer • Signal synchronization by Preamble and SFD (Start Frame Delimiter)
MAC functions • Communicate between physical and higher layers. • Define physical address of network hosts. • Define framing • Define CSMA/CD (Carrier Sense Multiple Access/Collision Detect)
Framing • The process of encapsulating data inside a header and possibly a trailer • The meaning given to the bits inside those headers and trailers • All IEEE Ethernet standards use the same framing.
Encapsulation • 1. Application layer add application protocol header. • 2. Transport layer add TCP or UDP header and breaks into Segment which has TCP header and data. • 3. Network layer adds logical address header and the PDU(protocol data unit) packets have IP header and data • 4. Data link layer adds header including destination MAC address. Frame has Ethernet header, trailer and data. • 5. Physical layer will be responsible to transmit bits (electrical signals) over the medium.
Frame • 1. Network layer protocol adds header and trailer to form packets. • 2. Datalink layer protocols add Ethernet header and trailer to form frames. • 3. NIC sends the bits over Ethernet LAN. • . . . . . . . • The fields would be reviewed again in next slide
More details of frame Please note that CRC (Cyclic Redundancy Check) is used here. Cisco text book uses FCS. But, it could be called Ethernet Checksum. CRC could be used as well.
MAC address format • Total 6 bytes (48bits) • Contains 3 bytes (24bits) OUI (Organizational Unique Identifier) and 3 bytes (24bits) vendor assigned identifier • Globally unique • Usually specified in 12 Hex digits (0-9 and a-f) Example: 00-0c-6e-d6-df-0a
IEEE802.2 LLC Basic features: • Identify the type of data inside the frames’ data field • Control the transmissions and perform error detection and recovery
IEEE802.2 header IEEE802.2 header has fields containing: • SSAP: Source Service Access Point • DSAP: Destination Service Access Point SNAP (Subnetwork Access Protocol) header is used when DSAP cannot contain so many protocol types informaitn
CSMA/CD (Carrier Sense Multiple Access/Collision Detect) • Carrier Sense: all devices listen • Multiple Access: more than one devices start sending signals. Collision occurs when two devices send signals at the same time leading their electrical signals to overlap. • Collision Detect: detect the collision, sending out jam signals and wait for next try. • Half Duplex logic is used in CSMA/CD
UTP cable and loopback circuit • One pair is sending and another pair is receiving. • Hub repeats all received signals out to all ports (except the port receiving signals) • NICs use loopback circuit to detect overlapped signals (one is reported by loopback circuit and one is returned by hub)
Prevent collisions Switch can identify destination MAC address and would not forward the traffic to all ports. It will increase collision domains to avoid collision: • If several devices connecting to switch ports are trying to send signals to different recipients in the same time, the switch uses its internal bandwidth to forward the traffics in the same time. • If the several devices are sending signals to same recipients, switch forwards one traffic and buffers (holds in memory) other frames.
Full duplex • Send/receive in the same time (remember the two pairs are handling send and receive) • Disable the CSMA/CD and loopback feature. • Autonegotiation can work well over copper wires. But, it is not supported in fiber connections.
Deterministic media access (token passing) • FDDI (physical ring and logical ring topology) • Token Ring (physical star and logical ring topology) In short, only the device can send signals with a free token. Otherwise, wait for it.
WLAN (Wireless LAN) collision avoidance • WLAN is in half duplex mode and using CSMA/CA (CSMA with Collision Avoidance) • Collision detection is not possible in WLAN. Two reasons: 1. Each wireless station has one antenna for both sending and receiving. Hence we can’t use the same antenna for both transmitting and at the same time detecting collisions. Even if we have two antennas, it will be difficult to detect collision. Because the transmitting signal power will be much higher than the incoming signal, it will not recognize any collision. 2. In wireless, only the receiver is in problem, not the transmitter. We need to detect collision at the receivers end and the sender is not able to tell it whether there is a collision in receivers end.
Several terms (optional) • RTS (request to send) • CTS (clear to send)
Question Any question? If you do not have question, please search internet and collect more information of those IEEE802 standards. • Please be comfortable to explain collision detection and avoidance process. • Please be familiar with those organizations’ full name and main responsibilities.