CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf ·...

33
5/14/07 CSc 450/550 1 CSc 450/550 Computer Networks Communication Technologies Jianping Pan Summer 2007

Transcript of CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf ·...

Page 1: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 1

CSc 450/550Computer Networks

Communication Technologies

Jianping Pan

Summer 2007

Page 2: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 2

Last lectures

• Guest lectures on UVicNet, BCNet, CA*Net4

• Introduction– brief Internet history– current Internet structures

• end-user's point of view• service-provider's point of view• network-protocol's point of view

– how's your traceroute to google.com?• ever tried traceroute servers?

Page 3: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 3

Feedback on A0

• More “networks” courses– Advanced Computer Networks– Advanced Communication Networks– Wireless and Mobile Networks– multimedia networking in Multimedia Systems– network computing in Distributed Systems– Network Security and Testing– this course helps you build a foundation for them

• lab hours conflict? a smaller classroom?

Page 4: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 4

Discussion board

• Get help and help others– http://groups.google.com/group/csc450

• Ways to get help– most importantly, attend lectures and labs– use Google group as much as possible– write to lecture/lab instructors– meet during course office hours– arrange for extra help

Page 5: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 5

Today's topic

• Communication technologies– goal: to understand the basic communication

technologies underneath the Internet• Internet access, from home or at work• Internet backbone, big pipes• a little bit EE-flavored

– networking is jointly pursed by both EE and CS

– network acronyms (you will see a lot of them!)• http://www.cisco.com/univercd/cc/td/doc/cisintwk/ita/index.htm

Page 6: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 6

Internet access: phone line

• Analog dialup– computer w/ ISA, PCI, serial, USB– modem w/ RJ11– telephone line

• unshielded twisted pair (UTP) or flat

– up to 56Kbps downstream

• Digital access– ISDN: 2x64Kbps (2B+D)

Page 7: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 7

More on modems

• Nyquist limit (noiseless channel)– 2 H log2 V bps

• Shannon limit (noisy channel)– H log2 (1+S/N) bps

• analog local loop: H=3000~4000Hz; S/N=30dB

• Bandwidth, sample, symbol, bit, data rate– (bits / symbol) * (symbols / second) = bps

• baud rate: 2400; data rate: 9.6, 19.2, 28.8, 33.6Kbps

Page 8: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 8

9.6Kbps 14.4Kbps

Page 9: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 9

• 56Kbps?– increased S/N, asymmetric H

Dialup ISPs

A/DD/A

Page 10: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 10

Digital subscriber lines

• Asymmetric DSL (ADSL)– free up more H– frequency division multiplexing (FDM)

• or discrete multi-tone (DMT)• telephone: filter for regular phones• upstream: small bandwidth• downstream: larger bandwidth

– DSL modem• Ethernet or USB connection to computer/router

Page 11: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 11

DSL vs dialup

Page 12: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 12

DSL ISPs

• Splitter or (micro) filter?

Page 13: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 13

Internet access: cable line

• Traditionally, cable TV is 1-way broadcast– one-way amplifier– shared coaxial cable

• Internet access through HFC (DOCSIS)– two-way communication channels

• small upstream bandwidth• larger downstream bandwidth

– smaller (shared) cable segment• security

Page 14: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 14

HFC ISPs

• Cable vs DSL

hybrid fiber-coaxial

Page 15: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 15

Internet access: LAN

• UVicNet: 10/100Mbps switched Ethernet– RJ45

• old days: AUI, BNC w/ coaxial, shared

– UTP Cat3: 10Mbps– UTP Cat5: 100Mbps

• more twists per inch

• ResNet: 10Mbps switched– was 10Mbps shared

BNC

AUI

Page 16: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 16

Internet access: WLAN

• WiFi (e.g., UVic AirNet)– 802.11b: 2.4GHz, 100ft@11Mbps

• direct sequence spread spectrum• 11 overlapping channels• channel 1, 6, 11 independent

– 802.11a: 5GHz, 54Mbps• orthogonal frequency division multiplexing

– 802.11g: 2.4GHz, 54Mbps

• Security

Page 17: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 17

Internet access: WMAN

• Wireless MAN (metropolitan area network)– MMDS: [email protected]

• range: 25~50km; 3Mbps downstream 200Kbps up

– LMDS: 1.3GHz@28~31GHz• range: 2~5km, line-of-sight!• wireless DSL: 36Gbps downstream 1Mbps up/sector

• IEEE 802.16: WiMax– 10~66GHz (802.11a: 2-11GHz NLOS), OFDM

Page 18: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 18

Wireless*AN

• Personal area network (802.15)– range: up to 10m– Bluetooth (802.15.1): 1Mbps; headset-to-phone– UWB (802.15.3): 400Mbps; wireless USB

• Local area network (802.11)– range: up to 100m

• Metropolitan area network (802.16)– range: up to 50km

Page 19: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 19

Internet access: cellular networks

• Cellular systems– 1st generation (80’s): analog voice (9.6Kbps)

• AMPS: cells, frequency reuse, cell split; FDMA• base station, mobile switching center, handoff

– 2G (90’s): digital voice (14.4Kbps)• TDMA, GSM, CDMA• 2.5G (~100Kbps): GPRS, EDGE, EV-DO, EV-DV

– 3G: digital voice and data (384Kbps, 2Mbps)• WCDMA, CDMA2000, TD-SCDMA

Page 20: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 20

Internet backbone: big pipes!

Page 21: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 21

Fiber optics

Page 22: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 22

Multiplexing technologies

• Frequency division multiplexing (FDM)

Page 23: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 23

Wavelength division multiplexing

WDM

Page 24: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 24

Time division multiplexing

TDM

Page 25: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 25

• Satellite vs fiber

Communication satellite

Page 26: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 26

Internet backbone evolution

• IP/ATM/SONET/WDM– IP: datagram– ATM: virtual circuit– SONET: circuit switching– WDM: lights in different color

• IP/SONET/WDM• IP/WDM

– newest technology

Page 27: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 27

Internet backbone structures

• Tier-1– ATT– Sprint– MCI

• Tier-2– regional

• Tier-3– local

Tier 1 ISP

Tier 1 ISP

Tier 1 ISP

NAP

Tier-2 ISPTier-2 ISP

Tier-2 ISP Tier-2 ISP

Tier-2 ISP

localISPlocal

ISPlocalISP

localISP

localISP Tier 3

ISP

localISP

localISP

localISP

Page 28: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 28

UVicNeta small “Internet”

VLAN Y VLAN Y

C3550 C3550

C5500w. RSM

C5500w. RSM

C5500w. RSM

C5500w. RSM

CoreC6509

VLAN X

CoreC6509

VLAN X

Traffic Shaping

BCNet -Primary Path forResearch Traffic

BCNet -Primary Path for

Commodity Traffic

General Departmental VLANs

Legacy Protocols ONLYEIGRP (IPX & Appletalk)

IP ONLY OSPF Area 0

ResNet

EdgeRouter

EdgeRouter

100 FX

Gig E

EngrNet

Gig E – Primary Path

Gig E – Fallback Path

Fast E – Primary Path

Fast E – Fallback Path

C6509C6509

Public Access Network(PAN) VLANs

C6509

IntrusionPrevention

Page 29: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 29

Link characteristics• Speed (bandwidth): bit-per-second• Delay: millisecond

– transmission delay: packet length / link speed– propagation delay: travel distance / signal speed– processing delay– queuing delay: the most complicated one

A

B

propagation

transmission

nodalprocessing queueing

Page 30: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 30

• Loss: percentage– transmission error– congestion loss

• router buffer–packets enqueue when output is busy–packet dequeue when output is idle

• if buffer is full–some packets have to be dropped

More on link characteristics

Page 31: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 31

This lecture

• Internet communication technologies– Internet access

• phoneline: how to go faster on the same twisted pair?• cableline, Ethernet, wireless*AN, cellular, etc

– Internet backbone• multiplexing technologies: FDM, WDM, TDM

• Explore further– your home Internet access (bandwidth, latency)– compare with your friends' (reliability)

Page 32: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 32

One more message...

• Considering graduate school?– there is a lot of financial support you can use!

• needs-based, merits-based, ...– NSERC Postgraduate Scholarship (PGS)

• Canada Graduate Scholarship (CGS)– Provincial Government of BC

• 2,500 more graduate seats in three years• new Pacific Century Graduate Scholarship!

– UVic Fellowship– Teaching Assistantship, Research Assistantship

Page 33: CSc 450/550 Computer Networks - webhome.cs.uvic.cawebhome.cs.uvic.ca/~pan/csc450k07/2+inet.pdf · CSc 450/550 Computer Networks ... –networking is jointly pursed by both EE and

5/14/07 CSc 450/550 33

Next lectures

• Network architecture• Client-server model• HTTP