
































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































































1.^
Link Layer, Multiple access, Bridges, Switching
2.^
IP addressing, CIDR, NAT
3.^
IP routing, OSPF (link state), RIP(DV), Issues
Ports Not energy-proportional
Built a tool to collecttraces of switch traffic
Data analyzed
Ports used at different
Ports used at different^ speeds (can beclassified into bins)
Most of them workbelow peak utilization
Enabling delay
May be a local H/W mechanism
May be a local H/W mechanism
May not be possible due to Load balancing etc
Network configuration, cost, rack issues
Convert bits to signals and recover bits fromreceived signals
^
Encoding
Decide on a minimum unit for sending bits
^
Cannot send bit by bit (too much overhead) ^
Cannot send bit by bit (too much overhead) ^
Frame creation
Error detection and/or correction of frames
^
Parity, CRC
Flow control
^
ARQ, Sliding WINDOW
Addressing
^
MAC address
Encoding^
^
^
^
^
Bits NRZ
0
0
1
0
1
1
1
1
0
1
0
0
0
0
1
0
The data unit at the data link layer is called a “frame”
A frame is a group of bits, typically in sequence
Issues:
^
Frame creation ^
Frame creation^
^
Frame delineation ^
Have meta tags^
^
What if the meta tags appear in the message?
Character stuffing ($, #)^
$# this prof is good $^ ^
$# this prof s$^ks $^
.. Meta tag in message
^
^
^
Bit stuffing: have a unique bit sequence^
01111110 this prof is good 01111110 ^
01111110 this prof is 01111110 good 01111110 ^
01111110 this prof is 011111010 good 0111110 -- sender ^
Receiver checks for 5 1s, if next bit is 0 – stuff ^
If next bits are 10 end of frame else error
^
^
^
^
^
^
^
Can sender learn the receiver rate apriori
Receiver rejects any message in error or out oforder
Only acks in
Only acks in
Receiver buffers correctly (out-of-sequence)received messages but acks only the last in-sequence message received correctly
Sender retransmits only the lost packet,
Hosts need to be identified at the link layer
MAC address^
48 bits unique address (permanent with adapter) ^
24 bits: manufacturer; 24 bits Serial number No relationships between MAC addresses hosts
No relationships between MAC addresses hosts^ connected by a link^
No grouping or hierarchy possible
Fixed length address^
Look up is efficient but table size = number of hosts on thenetwork ^
Scaling
Determine when to transmit, sense the channel
CSMA
^
1-Persistent CSMA^
^
Non-Persistent CSMA ^
Transmit if idle, else wait for random time, and then repeat^
^
P-Persistent CSMA ^
Transmit with probability p if idle, else wait until idle
In CSMA protocols
^
If two stations begin transmitting at the same time, eachwill transmit its complete packet, thus wasting the channelfor an entire packet time
In CSMA/CD protocols
In CSMA/CD protocols
^
The transmission is terminated immediately upon thedetection of a collision ^
CD = Collision Detect
In wired links, transreceiver can send and receivesimultaneously