62
Telecommunication & Networking Lesson Six

Telecommunication & Networking

Embed Size (px)

DESCRIPTION

Telecommunication & Networking. Lesson Six. ISO Open System Interconnect (OSI). Move to TCP/IP and VPN. HTTP. Application. Presentation. Session. Routing. Transport. Network. LLC. Data Link. MAC. Physical. Binding Virtual IP Addresses. 137.45.192.8. Source IP Address. - PowerPoint PPT Presentation

Citation preview

Page 1: Telecommunication & Networking

Telecommunication & Networking

Lesson Six

Page 2: Telecommunication & Networking

ISO Open System Interconnect (OSI)

Application

Presentation

Session

Transport

Network

Data Link

Physical

LLC

MAC

Routing

Move to TCP/IP and VPN

HTTP

Page 3: Telecommunication & Networking

Binding Virtual IP AddressesSource IPAddress

DestinationIP Address

Address resolution

Hardware Address

137.45.192.8

0A:07:4B:12:BE:3C

Page 4: Telecommunication & Networking

• ARP (Address Resolution Protocol): Who has this IP?– Ultimate communication is by physical

address (Internet/Ethernet card)– Map IP to Physical Address (MAC

address)– NIC replacement or machine replacement

makes easy with same IP address– IP-to-physical binding included in every

ARP broadcast

• RARP: Who knows my IP address?

Page 5: Telecommunication & Networking

Network Layer• Routing: end-to-end not node-to-node

• Network Control: status information to determine the best path

• Congestion Control: balancing act

• Collection of Accounting Data

Page 6: Telecommunication & Networking

TCP Layers

Application

Transporthost-to-host

NetworkAccess

Physical

Internet

Application

Presentation

Session

Transport

Data Link

Physical

Network

Page 7: Telecommunication & Networking

UDPTCP

IP

ConnectionlessNo re-transmissionNo time outsNo ACKs No Naks

FTPSMTP

RPCTFTP

Class A: 126 max network number; 16,777,124 hostsClass B: 16,384; 65,634Class C: 2,097,152; 254

Page 8: Telecommunication & Networking

TCP/IP• TCP was responsible for the integrity of the

delivery of information from applications to applications

• It was broken off into two parts (1978): TCP and IP• TCP is responsible for accepting information from

applications and breaking it into pieces (TCP segments) acceptable to the network and reassembling the segments at the other end and deliver to applications as ‘information’

• IP simply forward datagrams from source host to destination host

Page 9: Telecommunication & Networking

• IP Data Unit– Version (bit 0-3): IPv4 for example

– H-Length (4-7): Header length; usually is 20 Octets (5 32-bit words)

– Type of Service (8-15): first three bits indicate “precedence,” next bit is the delay bit (1 indicates a short delay request), next bit (bit 4) is the throughput bit (1 indicates a high throughput request), next bit is the reliability bit, bit 6 is the cost bit and bit 7 is not used.

– Total Length (16-31): max length is 65,535 Octets

– Time-to-Live (TTL): 8 bits; the number of hops to traverse in the internet; routers are required to check this field and throw away the datagram if the value is 0

Page 10: Telecommunication & Networking

Classes of IP Address Space

• Primary Classes– Class A: 0 + 7-bit prefix/128 networks (24-bit

suffix - 16,777,216 hosts) [0 thru 127]– Class B: 10 + 14-bit prefix/16384 networks (16-

bit suffix - 65536 hosts) [128 thru 191]– Class C: 110 + 21-bit prefix (netid)/2,097,152

networks (8-bit suffix - 256 hosts) [192 thru 223]

– Class D: 11102 multicast address

Page 11: Telecommunication & Networking

Weaknesses of IP Addressing

• IP identifies the network and the host (machine)

• If a host computer moves from one network to another, its IP address must change

• Normadic computing makes difficult• Expansion (class C to class B) implies

complete halt of all machines to effect the change

Page 12: Telecommunication & Networking

TCP• Sequence number: either the sequence

number of the first octet in the data field or the initial send sequence (ISS) number

• Acknowledgement number: set to a value that acknowledges data previously received and the next expected octet (sequence number)

Page 13: Telecommunication & Networking

• Each node (a computer or a printer) has a unique IP address

• Address - assignment could be different; e.g., AppleTalk addresses are chosen randomly at startup by each host

• But each computer performs many functions• Need different sessions, each session is assigned a

logical ‘address’ or port number• There are 65,535 ports• Port 80 is usually for the Web Server• Check out /etc/services file in UNIX

Page 14: Telecommunication & Networking

Port Assignments in UNIX

Echo 7 Tcp/udp To verify if twomachines are able toconnect (RFC862)

ftp 21 Tcp

telnet 23 Tcp

Finger 79 Tcp RFC1288

Smtp 25 Tcp Simple Mail TransferProtocol (RFC821)

Page 15: Telecommunication & Networking

Sockets

• Datagrams - finite size packets• Header + Payload• A message could be broken down into a number

of payloads with the header indicating the source/destination nodes and port numbers respectively

• The receiving end will rearrange the packets back to a message

• Socket is born

Page 16: Telecommunication & Networking

Socket Operations

• Connect to a remote host• Send data• Receive data• Close a connection• Bind to a port• Listen for incoming data• Accept connections from remote machines on the

bound port

Page 17: Telecommunication & Networking

• The development of technologies for LANs and WANs were not coordinated and was never considered to be meshed together

• The push of Internet is to transform it from a data-network to multimedia-network using the existing infrastructure which has moved from 9600 kbps to magnitude of Gbps transmission rate

• What are the requirements to support data, voice, and video applications

Page 18: Telecommunication & Networking

• Voice & Video have a high tolerance for errors versus Data; loss of video packets demands no resend; loss of voice packets delivers poor fidelity; loss of data packets renders the communication useless.

• Yet network delay is acceptable to data packets, the information just arrived ‘late.’ But for voice & video packets, high network delay renders inefficient communications that may lead to communication breakdown due to annoyance.

Page 19: Telecommunication & Networking

• A speaks, reaches B, B listens, B responds, reaches A, A listens

• “Voice and video transmissions require a short queue length at the network nodes in order to reduce delay, or at least to make the delay more predictable. The short voice packet queue lengths can experience overflow occasionally, with the resulting packet loss. However, data packets require longer queue lengths to prevent packet loss in overflow conditions.”

Page 20: Telecommunication & Networking

VBR vs CBR• Variable Bit Rate: does not require a constant and

continuous allocation of bandwidth; bursty, asynchronous, no time or timing constraint

• Constant Bit Rate• IGMP (Internet Group Management Protocol):

multicasting• RSVP (Resource Reservation Protocol):

establishes a path (versus connectionless IP) and guarantee bandwidth of the path

Page 21: Telecommunication & Networking

UDP• UDP (User Datagram Protocol):

connectionless protocol with no retransmissions, no time outs, no ACKs and NAKs

• NTP (Network Time Protocol): • RTP (Real Time Protocol): sits on top of

UDP to support transmission of data within a defined (very short) time period

• Voice over IP (VoIP)??

Page 22: Telecommunication & Networking
Page 23: Telecommunication & Networking

Internetworking Devices

• Networking Devices – Repeaters

– Bridges

• Internetworking Devices– Routers

– Gateways

Application

Presentation

Session

Transport

Data Link

Physical

Network Gat

eway

Rou

ter

BridgeRepeater

Page 24: Telecommunication & Networking

Repeaters A repeater is a device that regenerates the original bit pattern(before the signals become too weak or corrupted).

Page 25: Telecommunication & Networking

Bridges Bridges bring together two segments of the same type ofnetwork together and relay frames across only if necessary.

Page 26: Telecommunication & Networking

Bridges

• A complete and valid frame must be received before it forwards to other segment

• At the Data Link Layer, e.g., follows CSMA/CD in a Ethernet; thus isolated collisions and delays within a segment

• Computers are not aware the existence of bridges

Page 27: Telecommunication & Networking

Bridges

Page 28: Telecommunication & Networking

Routers Routers determine where a transmission should continue bylooking at addresses at the network layer.

Page 29: Telecommunication & Networking

Gateways Gateways are typically software installed in a router thatsupports connectivity between two different kinds of network.

Page 30: Telecommunication & Networking

Simple Switching Network

Switching Node

Page 31: Telecommunication & Networking

Switching Networks

• Transmission between stations is accomplished via the network of switching nodes

• Switched Communication Networks

• Node-to-node links are TDM or FDM

• Circuit-switching vs Packet-switching

Page 32: Telecommunication & Networking

Circuit-Switching Networks

• A complete path is established before data is being transmitted

• Transmission can be analog and/or digital depending on the nature of the network

• Path will be discontinued after the completion of the transmission

• Examples are telephone networks and PBX– subscribers (telecommunication device), local loops,

exchanges, and trunks

Page 33: Telecommunication & Networking

Switching Concepts

• A Typical Circuit-Switching Node– Control Unit

• establishes connections• maintain connections• shut down connections

• Blocking vs Non-blocking– blocking occurs when a request for connection

cannot be satisfied due to existing connections in the switching node

Page 34: Telecommunication & Networking

Switching Concepts (cont’d)

• Space-division Switching – Crossbar switch - costly (n2); not fault-tolerant; non-

blocking

– Multiple-stage switch - less costly; more complex control; blocking; multiple paths between two points

• Time-division Switching– Virtually all modern circuit switches use digital TDM

• TDM bus switching

Page 35: Telecommunication & Networking

Routing in Circuit-Switched Networks

• Routing : must be efficiency and resilience• Able to handle the busiest traffic load• Static routing with crossover in a

hierarchical structure to improve fault tolerance

• Dynamic routing - peer relationship at the switches (no hierarchical relationship and all are ‘equal’)

Page 36: Telecommunication & Networking

Dynamic Routing in Circuit-Switched Networks

• Two classes:– Alternate Routing

• predefined routes between two switches• select according to predetermined order (order in which

reflects the best use of network resources given historical data)• fixed vs dynamic alternate-routing scheme• fixed offer one route per two nodes; dynamic cycles through a

pre-defined set of routes per two nodes

– Adaptive Routing• reacts to changing patterns in network traffic• one example : Dynamic Traffic Management (DTM) -

developed by Northern Telecom

Page 37: Telecommunication & Networking

DTM

• Central controller finds the best alternate routes• Analysis is performed (say, every 10 seconds) to

evaluate the traffic load for all the alternate routes if the direct link is not available

• Central controller uses information such as utilization at the switch (only 2 out of 5 trunks are used), CPU load, overflow traffic.

Page 38: Telecommunication & Networking

Packet Switching

• Datagram Approach– The relationship between two or more packets of the

same message, even on the same circuit does not exist.

• Virtual Circuit Approach– Relationship between all packets belonging to a

message is preserved– Switched Virtual Circuit (SVC)

• circuit creates for the exchange and exits when the exchange is complete

– Permanent Virtual Circuit (PVC)• circuit creates for the exchange remains the same

Page 39: Telecommunication & Networking

Performance

• Propagation Delay : time it takes a signal to propagate from one node to the next

• Transmission Time : time it takes for a transmitter to send out a block of data

• Node delay : time it takes for a node to perform the necessary processing as it switches data

Page 40: Telecommunication & Networking

Characteristics of Packet Switching

• Connection-oriented service– a logical connection is set up between two

stations– all packets for that connection are numbered

and out in the sequence – all packets are received in the same sequence

(order)– external vs internal virtual-circuit service

Page 41: Telecommunication & Networking

Characteristics of Packet Switching

• Connectionless service– No logical connection is set up between two

stations– all packets for that connection are numbered

and go out independent of each other – all packets are received in the same sequence

(order)– external vs internal datagram service

Page 42: Telecommunication & Networking

Routing

• What do we look for ?– Correctness, simplicity, robustness, stability,

fairness, optimality and efficiency– Elements of routing techniques : how many

hops, cost, delay, distributed vs central vs originating decision place;

Page 43: Telecommunication & Networking

Routing Considerations

• Decision Time – Routing decision made per packet or per virtual

circuit

• Decision Place– Distributed routing – Centralized routing by some network control

center (NCC)– Source routing

Page 44: Telecommunication & Networking

Routing with no new information

• Flooding– send from a source node to every one of its neighbors

– this repeats at other nodes - to all outgoing links other than the sender link

– use diameter, if known, of the network to control packets propagation

– ADVANTAGES• all possible routes are tried

• high probability of a packet getting to its destination in a timely manner

Page 45: Telecommunication & Networking

Routing with no new information

• Random Routing– selects only one outgoing path for

retransmission of an incoming packet– variation: probability to each outgoing link

Page 46: Telecommunication & Networking

Routing with network information

• Adaptive Routing - routing decisions made as conditions on the network change– state of network must be exchanged between

nodes– the more frequent the exchange the better the

routing decisions– information exchange put load on network, may

affect overall performance

• Fixed Routing - next slide

Page 47: Telecommunication & Networking

Packet Switched Network

2 3

6

54

1

1

1

11

1

5

8

3

2

3

65

8

2

47

2 2

3

3

Page 48: Telecommunication & Networking

Fixed RoutingFromNode

- 1 5 1 4 52 - 2 2 4 5

ToNode 4 3 - 5 3 5

4 4 5 - 4 54 4 5 5 - 54 4 5 5 6 -

Page 49: Telecommunication & Networking

Minimum Hops

• or least-cost routing…

• Dijkstra’s Algorithm– Find the shortest paths from a given source node to all

other nodes by developing the paths in order of increasing path length

• Bellman-Ford Algorithm– Find the shortest paths from a given source node

subject to the constraint that the paths contain, at most, one link, then two links and so on

Page 50: Telecommunication & Networking

Frame RelayPacket Switching with Acknowledgement

Frame Relay

1

2

3

4

5

6

7

8

1 2 3 4

Control and data packets are carried on the same circuit

Control packet is carried on a separate logical connection from data packet; no hop-to-hop flow control and errorcontrol; end-to-end flow and error controls are handled at a higher layer (transport)

Page 51: Telecommunication & Networking

ISDN

• Integrated Services Digital Network

• Narrow ISDN (N-ISDN) - 64 Kbps to 1.544 Mbps

• Broadband ISDN (B-ISDN) - up to 600 Mbps; fiber-optic cable

• Allows users to send data, voice, image, facsimile and whatever on the same wires

Page 52: Telecommunication & Networking

FDDI

• Fiber Distributed Data Interface [Copper Distributed Data Interface (CDDI) using twisted-pair wires]

• Uses pulses of light to encode data for transmission

• Uses token-ring technology to achieve a speed of 100 Mbps over a distance of 200 km of fiber optics medium

Page 53: Telecommunication & Networking

ATM (Asynchronous Transfer Mode)

• Based on Broadband ISDN (B-ISDN), 1986

• ATM Forum, 1991

• First ATM specification released, 1992

• ATM Forum approved the Anchorage Accord that brings together about 60 different ATM specifications, 1996

Page 54: Telecommunication & Networking

Challenges for ATM

• Transmission system to optimize the use of high data-rate transmission media

• Interface with existing system - LAN & WAN• Inexpensive to implement• Support existing telecommunication hierarchy• Connection-oriented• Move functions to hardware

Page 55: Telecommunication & Networking

Cells

• 48 octets + 5 octets

Page 56: Telecommunication & Networking

Cell Format• GFC - generic flow control (4 bits); exists

only in UNI; for NNI, it collapses with the next field

• VPI - Virtual Path Identifier (8 bits)• VCI - Virtual Connection Identifier (16

bits): for routing to and from the end user• PT - Payload Type (3 bits)• CLP - Cell Loss Priority (1 bit)• HEC - Header Error Control (8 bits)

Page 57: Telecommunication & Networking

Cell Fields• Generic Flow Control - provides flow

control at the UNI level• Payload Type -

0 or 1

Management Data

User Data

Congestion bit0 : no congestion1 : congestion

Congestion bit Signaling bit

Management bits

00: link-associated management01: end-to-end management10: resource management11: reserved

Page 58: Telecommunication & Networking

ATM Layers

• AAL (Application Adaptation Layer)– allows existing networks (e.g., packet) to

connect to ATM facilities– map packet into cells– cells are reassembled at the receiver's end to the

original packet

Page 59: Telecommunication & Networking

Category of Services

• Category of services– constant bit rate data (AAL1)

• for real time voice

• for real time video

– variable bit rate data (AAL2)– connection-oriented packet data (AAL3)– connectionless packet data (AAL4)– simple data (AAL5 or SEAL)

Page 60: Telecommunication & Networking

ATM LAN Network

Source : Figure 13.13 (Stallings, 5th edition)

Page 61: Telecommunication & Networking

ATM LAN Hub Configuration

Source : Figure 13.14 (Stallings, 5th Ed.)

Page 62: Telecommunication & Networking

ATM LAN Emulation Configuration

Source: Figure 14.13 (Stallings, 5th edition)