Direct-link-lan

Direct-link-lan - Csci 232 Computer Networks Direct Link...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Csci 232 Computer Networks Direct Link networks 1 Direct Link Networks Encoding and Framing Error Detection/Correction Reliable Transmission will be covered later (with TCP) Media Access Control (Wired) LAN Technologies Readings Chapter 2 except Section 2.5, which is delayed to the discusson on Transport layer. Csci 232 Computer Networks Direct Link networks 2 Encoding Signals propagate over a physical medium modulate electromagnetic waves (on amplitude, frequency, and phase): the process of encoding source data onto a carrier signal with frequency f_c e.g., vary voltage (amplitude) Encode binary data onto signals e.g., 0 as low signal and 1 as high signal known as Non-Return to zero (NRZ) Bits NRZ 1 1 1 1 1 1 1 Csci 232 Computer Networks Direct Link networks 3 Problems: Consecutive 1s or 0s Low signal (0) may be interpreted as no signal High signal (1) leads to baseline wander Receiver keeps an average of the signal it has seen so far and uses this average to distinguish between low and high signals Unable to recover clock Clocks at the sender and receiver use signal transition to synchronize each other Csci 232 Computer Networks Direct Link networks 4 Alternative Encodings Non-return to Zero Inverted (NRZI) make a transition from current signal to encode a one; stay at current signal to encode a zero solves the problem of consecutive ones Manchester transmit XOR of the NRZ encoded data and the clock only 50% efficient. Csci 232 Computer Networks Direct Link networks 5 Encodings (cont) 4B/5B every 4 bits of data encoded in a 5-bit code 5-bit codes selected to have no more than one leading 0 and no more than two trailing 0s thus, never get more than three consecutive 0s resulting 5-bit codes are transmitted using NRZI achieves 80% efficiency Csci 232 Computer Networks Direct Link networks 6 Encodings (cont) Bits NRZ Clock Manchester NRZI 1 1 1 1 1 1 1 Csci 232 Computer Networks Direct Link networks 7 Framing Break sequence of bits into a frame why? determine where a frame starts and ends Typically implemented by network adaptor Frames Bits Adaptor Adaptor Node B Node A Csci 232 Computer Networks Direct Link networks 8 Approaches Sentinel-based delineate frame with special pattern: 01111110 e.g., HDLC, SDLC, PPP problem: special pattern appears in the payload solution: bit stuffing sender: insert 0 after five consecutive 1s receiver: delete 0 that follows five consecutive 1s What if the receiver sees a 1? Header Body 8 16 16 8 CRC Beginning sequence Ending sequence Csci 232 Computer Networks Direct Link networks 9 Approaches (cont) Couter-based include payload length in header e.g., DDCMP problem: count field corrupted solution: catch when CRC fails How many frames are affected when counter or sentinel is corrupted?...
View Full Document

This note was uploaded on 12/04/2009 for the course CS 183 taught by Professor Susan during the Spring '09 term at GWU.

Page1 / 69

Direct-link-lan - Csci 232 Computer Networks Direct Link...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online