Protocols

Part 1

1/21/2009

Questions?

OSI Model

Standards

Physical

fairly immune to electrical interference, high bandwidth, good distance
hard to damage, but hard to install;
"vampire tap" transceivers

Physical

higher bandwidth / longer distance than copper,
optical not electrical signals so immune to em interference,
hard to "tap" undetected;
  • fiber is tougher than you think!
kevlar for tensile and compressive strength, PVC jacket to protect from abrasion and contamination
low loss at S/short 850nm (near infrared since red ends about 700nm),
L/long 1310nm (usu just infrared),
E/extra-long 1550nm (sometimes even this squeaks into "near" but it's usu 750-100nm)
signal encoding: X for fiber channel aka 8B/10B,
R for dark fiber,
W for WAN encoding (SONET compatible)
1000BaseLH long haul, 10GBaseLX4 for 4 WDM
  • single-mode:
single-mode, yellow jacket, laser diode, not cheap by 2x-4x,
one light path through core so lower dispersion so higher bandwidth,
usu 5-10 µ core dia, usu 9/125 for 9 µ core 125 µ cladding dia
  • multimode:
multi-mode, orange jacket, LED, cheaper, many paths so more dispersion, index of refraction can vary with radius to counter the dispersion, commonly 62.5/125 - 50/125 - (100/140) - ((200/230))

Physical

hey, this one is polarized! can't mix up TX and RX

Fiber

Fiber Ethernet Chart
Ethernetwavelengthfiberfiber sizedistance
100BaseFX1310 nmmultimode50 µ or 62.5 µ2 km
1000BaseSX850 nmmultimode62.5 µ500 m
1000BaseLX1310 nmsingle-mode9 µ10 km
1000BaseLX1310 nmmultimode62.5 µ550 m
1000BaseLH1310 nmsingle-mode9 µ10 km
10GBaseSR850 nmmultimode50 µ65 m
10GBaseSR850 nmmultimode62.5 µ26 m
10GBaseLR1310 nmsingle-mode9 µ10 km
10GBaseER1550 nmsingle-mode9 µ40 km
10GBaseLX44 WDM λsingle-mode9 µ10 km
10GBaseLX44 WDM λmultimode62.5 µ300 m
10GBaseSW850 nmmultimode50 µ65 m
10GBaseSW850 nmmultimode62.5 µ26 m
10GBaseLW1310 nmsingle-mode9 µ10 km
10GBaseEW1550 nmsingle-mode9 µ40 km
no need to memorize this; just look it up if you need it

Physical

... RJ45 looks a lot like RJ11, oops!
4 pairs (10 and 100 Mbps Ethernet only use 2 pairs of Cat5; gigE needs Cat5e or Cat6)
twist by pairs and then together

What's a Base?

broadband is like AM radio, if that helps (if it doesn't, ignore this comment)

Ethernet II packet

preamble provides a baseline for timing, and for "1" and "0"
comes first, so you don't have to read as far into the packet!

Ethernet II packet

pad with zeroes if less than 46, fragment across several frames if more than 1500 bytes of payload
cyclic redundancy checksum, transmission error detection (like a CD!)

MTU

maximum transmission unit

MTU

networkMTU
Hyperchannel65535
16 Mbps token ring17914
4 Mbps token ring (802.5)4464
FDDI4352
Ethernet1500
802.3 / 802.2 / PPPoE1492
X.25576
Point-to-point (low delay)296
this table is for "flavor"; still only interested in Ethernet

More Ethernet

assume Ethernet II unless told otherwise

More Ethernet

IP packet

IP packet

IP packet

IP packet

IP packet

IP Addresses

Netmask

Netmask

Local is a very important concept in this class!

ARP

ARP packet

ARP packet header

this is just an Ethernet II header, at least when the ARP is for Ethernet

ARP packet, request or reply

More about ARP

Transmission Process: Before

Pre-Transmission Process: Local

 source nodepacket descriptiondestination node
1me.dept.university.eduARP broadcast for MAC address of DNS server at known numeric IP addressL2 broadcast (to all)
2dns.university.eduARP unicast replyme.dept.university.edu
3me.dept.university.eduDNS unicast request for numeric IP address of neat-stuff.university.edudns.university.edu
4dns.university.eduDNS unicast reply with numeric IP address of neat-stuff.university.edume.dept.university.edu
5me.dept.university.eduARP broadcast for MAC address to the IP address for neat-stuff.university.eduL2 broadcast (all)
6neat-stuff.university.eduARP unicast replyme.dept.university.edu
now local-area data transmission between two hosts can begin

Pre-Transmission Process: Wide Area

 source nodepacket descriptiondestination node
1me.dept.university.eduARP broadcast for MAC address of DNS server at known numeric IP addressL2 broadcast (all)
2dns.university.eduARP unicast replyme.dept.university.edu
3me.dept.university.eduDNS unicast request for numeric IP address for neat-stuff.company.comdns.university.edu
4dns.university.eduDNS unicast reply with numeric IP address of neat-stuff.company.comme.dept.university.edu
5me.dept.university.eduARP broadcast for MAC address of my-default-router.university.eduL2 broadcast (all)
6my-default-router.university.eduARP unicast replyme.dept.university.edu
now wide-area data transmission through my-default-router can begin

Reading

Light Reading

Topical Books

Homework