n Read 2.3, 2.5 n Problems 1.6, 2.6, 2.8 n Quiz #1, Lecture 12, 4 February u Open book & notes u Calculators are allowed u No Smart Phones ECEN4533 Data Communications Lecture #4 14 January 2013 Dr. George Scheets
n Read 3.1 u Ignore Probability Equations until Review n Scan Design Problem #1 n Problems 2.7, 3.1, 3.2 n Quiz #1 u Lecture 12, 4 February (Live) u < 11 February (Async Distance Learning) n Extra Credit (up to 20 points) u Find errors in text or solutions. ECEN4533 Data Communications Lecture #5 16 January 2013 Dr. George Scheets
n Read 3.2 n Problems 3.9, 3.10 n Quiz #1 u Lecture 12, 4 February (Live) u < 11 February (Async Distance Learning) n Design #1 due 1 February (Live) u 8 February (Async DL) u Late = -1 per working day n No Class next Monday ECEN4533 Data Communications Lecture #6 18 January 2013 Dr. George Scheets
PSTN Call Sequencing n User Dials Number n Routing Protocol Determines path thru network n Affected Core Switches notified u Time Slots reserved to support call Time Slot = 1 byte every 1/8000 th second for 64 Kbps u Switches continuously move bytes arriving on input time slot(s) to appropriate output line and time slot(s) u User “sees” dedicated nailed up bandwidth n Source TCP opens logical connection with Sink u Packets transferred, logical connection closed n Switch resources released when user hangs up
ISDN connection using PSTN Long Distance & Local Carriers dedicate 64 Kbps to our use (Circuit Switching). node c PST Network Nailed up Circuit PC node a PC
Carrier PSTN Network 1 3 PSTN Switch Trunks Access Line PC Switches move bytes from input to output. Bytes get moved at line speeds. Trunk capacity is dedicated.
Moving Traffic with Packets n Layer 7 Application Word Perfect u 2,920B file to move n Layer 6 Presentation Windows API n Layer 5 Session TCP n Layer 4 TransportTCP u Maximum TCP Segment Size assumed to be 1460B (Parameter in Windows Registry) u Chops file into 2 x 1460B packets, adds 20B TCP Header to each n Layer 3 Network IP u Adds 20B IP Header to each packet n Layer 2 Data Link Undefined u Adds 10B Layer 2 Header to each frame n Layer 1 Physical Undefined
Wired Phone CO Analog Voice Digital Bit Stream (1's & 64 Kbps n Generally analog from phone to CO u One twisted Pair n At Central Office u Filtered (BW about 3.5 KHz) u Analog Voltage is Sampled 8,000 times/second u Rounded off to 1 of 256 possible voltages u Converted to a fixed length 8 bit code word Analog Voice
Ex) Internet Local connection dedicates 64 Kbps to our use. ISP provides connectivity on a random, as needed, basis. Location a Location b ISP Network PC
Internet Service Provider Backbone 1 3 Router Trunks Access Line Routers move packets from input to output. Packets get full trunk line speed. Trunk capacity shared randomly, as needed. PC 64 Kbps 45 Mbps
Internet Call Sequencing n Assuming an "Always On" 64 Kbps connection... u Similar to DSL or Cable Modem (but slower) n... Logical connections opened between end devices u TCP (Layer 5). Routers do not monitor!! n Router I/O decisions based on Layer 3 IP address u Best match found in Look-Up Table n Router Tables updated independently of traffic u ‘Hello’ packets exchanged every 10 seconds with adjacent routers u More detailed routing information (who is connected to whom) exchanged intermittently u Router determines best output port, generally for blocks of hierarchical IP addresses
Moving Traffic with Packets n Layer 7 Application Word Perfect u 2,920B file to move n Layer 6 Presentation Windows API n Layer 5 Session TCP n Layer 4 TransportTCP u Maximum TCP Segment Size assumed to be 1460B (Parameter in Windows Registry) u Chops file into 2 x 1460B packets, adds 20B TCP Header to each n Layer 3 Network IP u Adds 20B IP Header to each packet n Layer 2 Data Link Undefined u Adds 10B Layer 2 Header to each frame n Layer 1 Physical Undefined
Ex) ATM Local Carriers dedicate 64 Kbps to our use. IXC provides random connectivity on an as-needed basis. Location a locationc Carrier ATM Network VC, a to/from c PC
ATM Backbone ATM Switch Trunks Access Line Switches move cells from input to output. Cells get full trunk line speed. Trunk capacity shared randomly, as needed.
ATM Call Sequencing n End device requests logical connection n Routing Protocol determines path thru network n Affected Core Switches notified u Look-Up table updated to show proper output port where specific input cells should be placed u Switch resources (bandwidth, buffer space) reserved as appropriate u User appears to see dedicated nailed up bandwidth u Path is known as a Virtual Circuit n TCP opens logical connection with far site u Packets transferred, TCP logical connection closed n Switch resources released when user finished
Moving Traffic with ATM Cells n Layer 7 Application Word Perfect u 2,920B file to move n Layer 6 Presentation Windows API n Layer 5 Session TCP n Layer 4 TransportTCP u Maximum Segment Size assumed to be large, say 64 KB u 2,920B file not segmented. Adds 20B TCP Header n Layer 3 Network IP u Adds 20B IP Header n Layer 2 Data Link ATM u Adds 8B padding & 8B SAR Trailer. u Chops into 2976/48 = 62 cells (53 byte cell size). Adds 5B ATM header to each cell. n Layer 1 Physical Undefined
Internet Packet Format Traffic ?? ?? IPTCP Layer 2 Header Layer 2 Trailer? Probably originated or passed through an Ethernet.
Internet Protocal v4 TOS TTL Source Address Destination Address 4 Bytes
802.3 LAN OSU Campus Network (> 2001) Routers 1 Gbps Ethernet OneNet EthernetSwitch LAN LAN
OSU 2009 Internet Connectivity
Example Tracert Handy site for figuring out who owns IP addresses: (has links to databases covering other regions)
Traceroute to n 4 Internal OSU-Stillwater routers n 3 OneNet routers (all in Tulsa?) n 5 Cogent Communications routers te4-3.ccr01.tul01.atlas.cogentco.com te2-2.mpd01.dfw01.atlas.cogentco.com n 1 Akamai Technologies (Hosting Service) n (3:30 pm, 12Sept11, rtt = 8 msec, 12 routers)
Traceroute to n 4 Internal OSU-Stillwater routers n 3 OneNet routers (Tulsa?) n 4 Cogent Communications routers u te ccr01.tul01.atlas.cogentco.com u te ccr22.dfw01.atlas.cogentco.com n 1 Global Crossing router u GigabitEthernet2-3.ar2.HOU1.gblx.net n 4 Routers in Houston u te2-5.dsr01.hstntx2.networklayer.com n The Planet server (hosting service) n (3:55 pm, 12Sept11, rtt = 14 msec, 16 routers)
# Routers not necessarily f(distance) Launched 14 September 2011, 2 miles from OSU campus n n 1 Scheets' home router n n 5 SBC (now AT&T) & AT&T routers u u dist2-vlan50.okcyok.sbcglobal.net u u ggr6.dlstx.ip.att.net n n 3 Cogent Communications routers u u te3-2.ccr01.tul01.atlas.cogentco.com n n 3 ONENET routers u u Probably in Tulsa, maybe Oklahoma City n 3 Oklahoma State routers n (11:19 am, 14Sept11, rtt = 71 msec, 15 routers)
Fall 2007 Weird Route Seen by Student Tulsa to OSU Stillwater n Tracert launched from Tulsa, hit Atlanta Washington, D.C. Illinois Kansas City Tulsa Oklahoma City OSU Stillwater
Internet Protocal v6 4 Bytes Flow Label Destination Address Source Address Hop Limit
RedNeckNet ISP Salina Joplin Stillwater Lubbock Dallas Little Rock
RedNeckNet VoIP Full Mesh N(N-1)/2 Connections
RedNeckNet VoIP Bus 5 Connections
RedNeckNet VoIP Star 5 Connections
Grading n Real World: u 1 team gets full credit u Everyone else gets a zero n Partial credit u Awarded on Quizzes & Tests u NOT AWARDED ON DESIGN PROJECTS! n Real world designs don't get partial credit u Either Work or They Don't n Double check your work!!! Use a spreadsheet
StatMux frequency time Different channels use all of the frequency some of the time, at random, as needed.
CDM frequency time Different channels use all of the bandwidth all of the time. Channels use different codes. Other channels cause noise-like interference.
CDMA: 3D View code #1 code #2 code #3 frequency time