Review of Underlying Network Technologies Chapter 2 Network

  • Slides: 28
Download presentation
Review of Underlying Network Technologies Chapter 2

Review of Underlying Network Technologies Chapter 2

Network Communication Internet is not a new kind of physical network n n Method

Network Communication Internet is not a new kind of physical network n n Method of interconnecting physical networks Set of conventions for using networks Communication networks can be divided into two basic types n n Connection-oriented (circuit-switched) Connectionless (packet-switched)

Connection-Oriented Forms a dedicated connection or circuit between two points Like U. S. telephone

Connection-Oriented Forms a dedicated connection or circuit between two points Like U. S. telephone system Guarantees capacity n Once circuit is established, no other network activity will decrease the circuit’s capacity Disadvantage is cost n Circuit costs are fixed, regardless of use

Connectionless Data to be transmitted is divided into packets n n Usually only a

Connectionless Data to be transmitted is divided into packets n n Usually only a few hundred bytes Carries identification information Allows concurrent communication n Multiple computers over shared medium Disadv: n As activity increases, given pair of computers receives less of the network capacity

Who Wins? Connectionless! n Despite not being able to guarantee capacity Wins via cost

Who Wins? Connectionless! n Despite not being able to guarantee capacity Wins via cost and performance n n Sharing network bandwidth means fewer connections are required Performance ok since we can build high speed network hardware Throughout the text, network means connectionless network

WANs and LANs WAN: spans large geographical distance n n n n Sometimes called

WANs and LANs WAN: spans large geographical distance n n n n Sometimes called long-haul networks Usually do not have any distance limit Slower: 1. 5 Mbps to 2. 4 Gbps More delay: few ms to several tenths of a second Usually consists of a series of packet switches interconnected by long distance comm lines Extend network by new switch and comm line Computers added by attaching to a packet switch

LAN: spans short geographical distance n n n Fast: 100 Mbps to 10 Gbps

LAN: spans short geographical distance n n n Fast: 100 Mbps to 10 Gbps Less delay: few tenths of ms to 10 ms Each computer usually contains a Network Interface Card Connects machine directly to network Network is “dumb”; interface devices in the computers do the work Every computer attached to a network has a unique address* n n Sender must know recipient’s address Hardware technology specifies address scheme *Will change this statement slightly soon!

Ethernet Technology Ethernet is a packet-switched LAN Invented by Xerox in early 1970’s n

Ethernet Technology Ethernet is a packet-switched LAN Invented by Xerox in early 1970’s n Standardized by Xerox, Intel, and DEC in 1978 IEEE standard number 802. 3 Many variants exist

Original design known as 10 Base 5 n n Uses coaxial cable approximately ½

Original design known as 10 Base 5 n n Uses coaxial cable approximately ½ inch in diameter and up to 500 meters long Cable is completely passive 10 Mbps Original wiring scheme Has been superseded

Thin-wire Ethernet n n Known as 10 Base 2 Some original Ethernet disadvantages: Transceiver

Thin-wire Ethernet n n Known as 10 Base 2 Some original Ethernet disadvantages: Transceiver has non-trivial cost Transceivers located with cable Cable difficult to install (thick shield; hard to bend) n n Thinnet cable thinner, cheaper, more flexible Computer has both the host interface and connection circuitry Easy to connect and disconnect (no technician) Less protection from interference; shorter distances; fewer connections per network

Twisted Pair Ethernet n n n Known as 10 Base-T Popular, current technology Uses

Twisted Pair Ethernet n n n Known as 10 Base-T Popular, current technology Uses conventional unshielded copper wire Cheaper and easier to install n Each computer connects to a hub over 4 pairs of wires Only 2 pairs of wires used n Same communication capability as thick or thin Ethernet; just alternate wiring scheme

Fast Ethernet n n n Thick, thin, twisted pair: 10 Mbps Faster processors Ethernet

Fast Ethernet n n n Thick, thin, twisted pair: 10 Mbps Faster processors Ethernet became bottleneck Developed 100 Base-T (100 Mbps) Uses same twisted pair wires Gigabit Ethernet n n Known as 1000 Base-T (1 Gbps, copper)) 1000 Base-X – uses fiber optics Fiber is much faster Developing 10 and 40 Gbps Ethernet technologies

10/1000 Ethernet n n n Allows compatibility with either 10 Base-T, 100 Base-T, or

10/1000 Ethernet n n n Allows compatibility with either 10 Base-T, 100 Base-T, or 1000 Base-T Can use for computer interfaces or hubs Computer with 10/1000 interface card can attach to any of the 3 configurations Hardware automatically detects speed No hardware or software reconfiguration required

Power over Ethernet n n Small amount of power Sent over same copper cable

Power over Ethernet n n Small amount of power Sent over same copper cable Power does not degrade data transmission Can power small devices with one cable

Two facts about increased capacity n n (1) Few computers can sustain 1 Gbps

Two facts about increased capacity n n (1) Few computers can sustain 1 Gbps data rate (2) New versions did not change standards Max packet size same as for 10 Base-T n Higher-speeds not optimized for highest possible computer-to-computer throughput Allows more stations and more total traffic

Ethernet properties n Shared bus that supports broadcast All stations connect to single shared

Ethernet properties n Shared bus that supports broadcast All stations connect to single shared channel All stations receive every transmission n Uses best-effort delivery Sender gets no information about packet delivery n Distributed access control No central authority to grant access to shared channel Carrier Sense Multiple Access with Collision Detect (CSMA/CD) Host listens before transmit; sends if idle Maximum packet size limits transmission time Must observe minimum idle time between sends

Collision detection and recovery n n Signals travel at approx 70% speed of light

Collision detection and recovery n n Signals travel at approx 70% speed of light Stations can begin transmitting simultaneously (or almost simultaneously) Results in a collision n Each station monitors cable while transmitting If detect collision: host stops, waits, retries Uses binary exponential backoff policy n Sender delays random time; doubles on second collision; quadruples on third collision; and so on If network busy, retransmit attempts quickly spread over a reasonably long period

Wireless Ethernet n n Several wireless standards related to Ethernet 802. 11 b (Wi-Fi)

Wireless Ethernet n n Several wireless standards related to Ethernet 802. 11 b (Wi-Fi) Up to 11 Mbps; usually 2. 5 – 4 Mbps n 802. 11 a and 802. 11 g Up to 54 Mbps n 802. 16 (Wi-Max) Above three for point-to-point or with base 802. 16 is for point-to-point only n 802. 11 n 540 Mbps n 802. 11 i Standard for security

Ethernet addressing and frames n Each computer has a 48 -bit address Checked in

Ethernet addressing and frames n Each computer has a 48 -bit address Checked in interface hardware, not computer’s CPU n When sending, specifies destination: Single, broadcast, or multicast n Addresses associated with the interface hardware Move/change interface; new machine physical address n Transmitted data viewed as a frame Variable length; 64 octets to 1518 octets Besides data, contains: n Preamble, destination and source addresses n Frame type n Cyclic Redundancy Check (CRC)

Ethernet bridges n Bridge Connects two Ethernets; passes frames Operates on packets vs signals

Ethernet bridges n Bridge Connects two Ethernets; passes frames Operates on packets vs signals Bridge follows CSMA/CD rules, so (almost) arbitrary number can be added Ethernet switch is like a multi-port bridge n Adaptive or learning bridges Can decide which frames to forward Usually very sophisticated and robust n Important point: Bridges hide the interconnection details Set of bridged segments acts like single Ethernet

Asynchronous Transfer Mode ATM is connection-oriented Designed for extremely high speed data switching n

Asynchronous Transfer Mode ATM is connection-oriented Designed for extremely high speed data switching n Operate at gigabit speeds Needs complex, expensive hardware n n n One or more high speed switches Optical fiber for all connections Uses fixed-size frames called cells

Connection-oriented networking n n Not like packet-switched networks Must first establish a connection to

Connection-oriented networking n n Not like packet-switched networks Must first establish a connection to the destination computer ATM switch finds path from sender to receiver Waits on remote computer to accept the request Local ATM switch selects identifier for the connection and passes it to the computer Computer sends using identifier n When done, connection must be broken

Wide Area Point-to-Point Networks n n WANs formed by leasing data circuits Digital circuits

Wide Area Point-to-Point Networks n n WANs formed by leasing data circuits Digital circuits initially used for digitized voice Data came later, so data rates are not powers of 10 Are powers of 64 Kbps due to PCM n n 8000 samples/sec; each sample 8 bits T 1: 1. 544 Mpbs; T 2: 6. 312; T 3: 44. 736; T 4: 274. 760 Lower data rates use copper; higher data rates need fiber circuits Point-to-point “network” When system connects exactly two computers “Network” is a stretch; viewed as such for consistency Main point: do not need hardware addresses

Dialup IP n n n Another example of a point-to-point network Typically from modem

Dialup IP n n n Another example of a point-to-point network Typically from modem (residence) to ISP TCP/IP view: Placing call is like running a wire Connection is made; stays as long as needed

Summary Reviewed several network hardware technologies General idea: n n TCP/IP protocols are extremely

Summary Reviewed several network hardware technologies General idea: n n TCP/IP protocols are extremely flexible Almost any underlying technology can be used to transfer TCP/IP traffic