CompNet 3

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/53

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

54 Terms

1
New cards

Noise

no consistency in data Multi-access Schemes: phase / polarisation / spin / CDMA

2
New cards

Networks

ISPs (backbone/edge), Enterprises (core/edge), Datacenters (top-of-rack/aggregation & core) (+all border)

3
New cards

Switches

Enterprise/Edge (24-48 ports), Aggregation (192+), Backbone (fewer), Border (very few)

4
New cards

Forwarding

'data plane' directing packet to outgoing link, single router using routing state

5
New cards

Routing

'control plane' computing paths packets will follow, routers communicate, jointly create routing state

6
New cards

Network Service Model

eg guaranteed delivery (with max time), in order delivery, guaranteed min bandwidth etc

7
New cards

Network layer connectionless service

provided by datagram network, no end-end connection, use addresses, 'elastic' service, no timing req, 'smart' end systems (control/recovery), simple network, non-uniform

8
New cards

Network layer connection service

provided by a virtual circuit - a connection-oriented network

9
New cards

Virtual Circuit

source-dest path, ≈ telephone circuit, setup & teardown, packets carry VC#, router with state for each connection, link & router resources may be allocated to VC giving predictable service, links can change VC#, strict timing & reliability req, guaranteed service, complexity inside network not at end systems.

10
New cards

Longest Prefix Match

route on entry with highest number of bits from start which match - most specific

11
New cards

Switching via Memory

direct CPU control, packet copied to memory, then read, 2 bus crossing, limited by mem B

12
New cards

Switching via Bus

input port - output port via shared bus, bus contention, speed limited by bus bandwidth

13
New cards

Switching via Interconnection Network

no bus bandwidth limitations, may fragment datagram into cells

14
New cards

Output Port Queuing

arrival rate via switch > output line speed, can lead to queuing delay or loss (overflow)

15
New cards

Input Port Queuing

fabric slower than total arrival rate, Head-of-line blocking, front datagram stops others behind

16
New cards

Buffer Size

2TxC in general, (2T x C) / √n for small, O(log W) for tiny, T is RTT, C is capacity, n is #flows, W is window

17
New cards

IPv4 Packet

4b version, 4b header length (#32b words), 8b type of service, 16b total length, 16b identifier (tell which fragments belong together), 3b flags (ReservedF, DontfragF, MoreF - not last), 13b frag offset (part of datagram), 8b time to live (decrement each hop, if 0 discard & send time exceeded msg to src, prevents loops), 8b protocol (TCP=6,UDP=17), 16b header checksum (every router checks), 32b source IP, 32b dest IP, options (trcrt)

18
New cards

IP Address

32-bit identifier for host/router/interface has subnet part then host part, allocated by ICANN

19
New cards

Interface

Connection between host/router & physical link Subnet Mask: Number of bits in subnet part

20
New cards

Subnet

device interfaces with same subnet part, can physically reach each other without intervening router

21
New cards

Classless InterDomain Routing

subnet part of arbitrary length Classful Routing: A/B/C/D/E - 8/16/24

22
New cards

Dynamic Host Configuration Protocol

dynamically get address from server alternative to hard-coded in file. Addresses leased, hosts renew leases, allows reuse of addresses. Dynamic reallocation, can move around

23
New cards

Hierarchical Addressing

route aggregation allows efficient advertisement of routing information

24
New cards

Network Address Translation (NAT)

all datagrams leaving local network have same NAT IP address but diff port#s, use NAT translation table with map of (sourceIP,port#)(NAT IP, new port#), use for incoming datagrams, outside client cant connect to server behind NAT because must use single visible IP, must statically configure NAT to fix, could use Universal Plug n Play Internet Gateway Device to allow NATed host to learn public IP & add/delete port#s. NAT & FTP have a control channel which violates layers.

25
New cards

Relaying

NATed client establishes connection to relay, external client connect to relay, relay bridges pkts between

26
New cards

Internet Control Message Protocol

communicate network level info: errors, echo req/reply, carried in IP datagrams

27
New cards

Traceroute

uses TTL + odd port, on expiry ICMP message with name & IP, calc RTTx3, stop on host unreachable msg

28
New cards

IPv6

version, traffic class, flow label, payload length, next header, hop limit, source address, dest address. No fragmentation (end-end), no header len (fixed size), no checksum (other layers), new options - next header (fix size), 64 bit addresses, flow label (resource allocation to flows, handle different types of service)

29
New cards

Tunneling

IPv6 carried as payload in IPv4 datagram among IPv4 routers

30
New cards

Improvements

accountability & anonymity (source address), different packet header at edge/core, payment field

31
New cards

'Valid' Global Routing State

iff forwarding decisions deliver pkts to dest, no dead ends/loops, goal of rting protocols

32
New cards

Source / Destination Routing

paths from 2 sources can be very different, even if they pass through same nodes

33
New cards

Destination Based Routing

paths to same destination must coincide once they overlap, unless they never cross

34
New cards

Delivery Tree

set of paths to destination, must cover every node exactly once, spanning tree routed at destination

35
New cards

Route Computation

learn from observation / centralised computation (1 node has entire network map) / pseudo-centralised computation (all nodes have entire network map) / distributed computation (no nodes have entire map)

36
New cards

Self-learning route computation

topology where loops impossible (eg spanning tree), only 1 path to destinations, use 'learning switches' to discover paths, switches send flood packets to all ports on spanning tree, all nodes covered, switches learn by remembering where flooding packets that arrive at it originated, can use packet source IDs stored with TTL, if unknown destination then forward to all other ports and learn from response

37
New cards

Self-learning route computation algorithm

packet arrives; index table; if entry {if destPort == arrivePort drop else forward } else flood. - requires loop-free topology (spanning tree), slow to react to failure (TTL), little control over paths (no computation)

38
New cards

Data-link Layer

responsibility of transferring datagram from one node to adjacent node over a link

39
New cards

Frame

layer-2 packet, encapsulates datagram

40
New cards

Link Layer Channel Services

framing, link access (encapsulates datagram into frame + header, trailer; channel access if shared medium, uses MAC addresses in headers for source & dest) reliable delivery between adjacent nodes (little error checking on low bit-error links (fibre, twisted pair) higher error rates for wireless) flow control (pacing between send & receive) error detection (signal attenuation, noise, receiver detects errors - signals for retransmit or drops) error correction (identifies & correct bit errors) half & full duplex (half - both nodes can transmit, not at same time)

41
New cards

Link Layer Implementation

in adaptor (network interface card) attaches to system buses, hard+soft+firmware

42
New cards

Encoding

encryption, error detection, compression, analog

43
New cards

Non-return-to-zero

1/0 = high/low, no neutral or rest position

44
New cards

Non-return-to-zero-mark

transition on clock edge if bit is one, no transition is bit is zero

45
New cards

Non-return-to-zero-inverted

transition at clock mid-point if bit is one, no transition is bit is zero

46
New cards

Manchester code

transition at period mid-point, low-high if 1, high-low if 0, data xor clock = value, 2 clock/period

47
New cards

Quad-level code

4 levels, represent 2 bits per period

48
New cards

Baud rate

number of voltage changes per second Bit rate: number of bit changes per second

49
New cards

Code Division Multiple Access

unique code per user, all share same frequency but have different 'chipping' sequence to encode data, signal = data X 'chipping' sequence, decoding - inner product of signal & sequence

50
New cards

Even Parity

add bit such that #1s even, detect 1b errors 2D Bit Parity: detect & correct 1b errors

51
New cards

Cyclic Redundancy Check

detects more errors than parity eg 2 bit, multiplication & binary division, parameterised by n bit divisor P

52
New cards

Forward Error Correction

replace erroneous data by its closest error-free data

53
New cards

Error Correction/Detection Advantages & Disadvantages

Correction: + no resend - more check bits, false recovery possible

54
New cards

Detection: + less check bits - resend