CS335 Networking & Network Administration Tuesday, April 20, 2010.

24
CS335 Networking & Network Administration Tuesday, April 20, 2010
  • date post

    21-Dec-2015
  • Category

    Documents

  • view

    222
  • download

    1

Transcript of CS335 Networking & Network Administration Tuesday, April 20, 2010.

Page 1: CS335 Networking & Network Administration Tuesday, April 20, 2010.

CS335 Networking &

Network Administration

Tuesday, April 20, 2010

Page 2: CS335 Networking & Network Administration Tuesday, April 20, 2010.

WAN’s and Routing

LAN’s Local Area Network span a building or campus

MAN’s Metropolitan Area Network spans a city

WAN’s Wide Area Network can span sites in multiple

cities, countries, or continents Large corporations

Page 3: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Scalability

A WAN must be able to grow as needed to connect many sites across large distances

Support many simultaneous connections

Page 4: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Packet Switches

Allows many switches to interconnect for expansion

Page 5: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Packet Switched WAN

Page 6: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Physical addressing in a WAN

Hierarchical addressing

Page 7: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Next-Hop forwarding

Packet switch does not keep complete information on how to reach all possible destinations, just its next hop

Page 8: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Source independence

Doesn’t matter where a packet comes from Next hop depends only on the destination This allows the forwarding mechanism to be

compact and efficient Because all packets follow the same path, only one

table is required Only the destination address needs to be extracted

from the packet A single mechanism handles forwarding uniformly

Page 9: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Routing table

Forwarding a packet to its next hop is routing Two-part hierarchical address has practical

consequences

Page 10: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Next hop routing table

Page 11: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Default route

Eliminates duplicate entries Uses default if doesn’t find an explicit entry Only one default route in a table, and has

lower priority than other entries

Page 12: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Routing table computation

Static routing A program computes and installs routes when the

packet switch boots; the routs do not change Dynamic routing

A program builds an initial routing table when booted; the program alters the table as condition in the network change

Page 13: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Shortest Path Computation

Dijkstra’s algorithm used to find the shortest path from a source to other nodes

Uses weights on edges* as a measure of distance

Path with fewest number of edges may not be the path with the least weight

* edges are connections between nodes * weights are assigned non-negative values

Page 14: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Shortest Path Computation

Least weight path

Page 15: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Distributed route computation

Packet switches send each other routing info Distance vector routing – packet switch

sends routing info across network and updates routes based on distance vector algorithm (13.2 in book)

Link state routing (known as SPF - Shortest path first)

Page 16: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Routed vs. routing protocols Routed protocols

Any network protocol that provides enough information in its network layer address to allow a packet to be forwarded. Routed protocols define the field formats within a packet. Uses the routing table to forward packets. IP is an example of a routed protocol.

Routing protocols Support a routed protocol by providing mechanisms for sharing

routing information. Routing protocol messages move between routers to update and maintain tables. TCP/IP examples are: RIP – Routing information protocol IGRP – interior gateway routing protocol EIGRP – enhanced interior gateway routing protocol OSPF – open shortest path first

Page 17: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Network performance

Delay – the time required to send a bit from one device to another

Throughput – the number of bits per second that can be transmitted across the network Throughput and delay are not independent. As

traffic (congestion) increases, delay increases. A network that operates at close to 100% of its throughput capacity has sever delay.

Jitter – a measure of the variance in delay

Page 18: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Protocols and layering

Protocols – a design that specifies the details of how computers interact, including the format of the messages they exchange and how errors are handled

Protocol suite – a set of protocols that work together to provide a seamless communication system. Each protocol handles a subset of all possible details – also called the protocol stack

OSI layer Model

Page 19: CS335 Networking & Network Administration Tuesday, April 20, 2010.

OSI Model

Page 20: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Multiple nested headers

Page 21: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Data Encapsulation in a layered architecture

Your computer Web server

7-Application

http

7-Application

http

6-Presentation

unicode

6-Presentation

unicode

5-Session

security

5-Session

security

4-Transport

tcp

4-Transport

tcp

3-Network

ip

3-Network

ip

2-Data link

ethernet

2-Data link

ethernet

1-Physical

Bit stream 100100010101010010100

1-Physical

Bit stream 100100010101010010100

User data

A

User data

P A

User data

S P A

User data

T S P A

User data

N T S P A

User data

D N T S P A

User data

D N T S P A

User data

N T S P A

User data

T S P A

User data

S P A

User data

P A

User data

A

User data

Page 22: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Retransmitting lost packets

Reliable transfer requires protocols to use positive acknowledgement with retransmission

Can introduce duplicate packets when there is long delay

Flow control mechanisms to handle data overrun – stop and go sender waits for receiver to send an ACK

Inefficient use of network capacity

Page 23: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Sliding Window algorithm

Page 24: CS335 Networking & Network Administration Tuesday, April 20, 2010.

Sliding Window algorithm

Technique a protocol can use to improve throughput by allowing a sender to transmit additional packets before receiving an acknowledgement. A receiver tells a sender how many packets can be sent at a time (called a window size).