Advanced Computer Networks

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/103

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.

104 Terms

1
New cards

Bits

Measure of information

2
New cards

Information

Resolution of uncertainty

3
New cards

Shannon information

Proposed a measure of that contains a discrete random variable and asks how much information is received when we observe a specific value for this variable

  • The “degree of surprise”

4
New cards

Shannon entropy

Where p(x) is the probability of x

h(x) = log 2 p(x)

5
New cards

Shannon information

Less likely a value, the more information is imported by revealing its value

If learn two independent facts, information is additive - so can sum the h values

p(x,y) = P(x)p(y)

h(x,y) = h(x) + h(y)

6
New cards

Information/Shannon entropy

For a series of values. The average amount of information transmitted is given by

h(x) = -∑p(x) log2 p(x)

7
New cards

Solutions to IPv4 address exhausation

  • Address conservation

  • NAT

  • Proposed address release eg 0/8, 127/8, 240/4

  • Address recovery

  • CGNAT

8
New cards

Carrier grade NAT (CGNAT)

  • ISP subnet becomes a large private network

  • Home routers are assigned private IP’s

  • The amount of required public addresses is reduced as wall as the cost

  • One bad actor could mean lots of people are blocked

9
New cards

Carrier grade NAT (CGNAT) problems

  • Breaks end to end IP connectivity

  • Limits or removes ability to port forward

  • Stateful: ISP network has to keep state of all connections

  • Everyone gets punished by public IP abuse

  • Security and privacy implications

  • Does not solve IPv4 address exhausation

10
New cards

IPv6

  • 128 bit addresses

  • 3.4×10³8 addresses

  • Addresses represented in colon hexadecimal format

  • Multicast replaces broadcast

11
New cards

IPv6 address formatting

  • Leading 0’s in a block can be omitted

  • A single set of repeated 0 blocks can be replaced by ::

  • Subnets represented in CIDR notation

12
New cards

Changing to IPv6 challenges

  • It isn’t ‘needed’

  • Those who want it can work around it

  • Some ISPs are being stubborn

  • Money

  • Training

  • New infrastructure

  • New issues

  • No urgency

13
New cards

Motivation for IPv6

  • IPv4 address exhaustion

  • Direct addressability - End to end addressing

  • Less complex networks

14
New cards

Why not deploy IPv6

  • ‘I have enough global IPv4 addresses’

  • ‘I like NAT, it adds security’ (It does not)

  • ‘I have little time/money; it’s not a priority’

  • ‘Application x does not support it’

15
New cards

IPv6 common misconceptions

  • Puts the current infrastructure at risk - they can co-exist

  • Insecure

  • Cost - Cost savings and long-term investment

  • ‘ISP doesn’t offer it, so we can’t’ - Are transition mechanisms

  • Don’t break it if it’s not broken

16
New cards

IPv6 challenges

Support

  • Network operators

  • Content providers

  • Software developers

  • Hardware developers

Chicken and the egg problem

Urgency - Killer application is not here yet

17
New cards

Need for IPv6 deployment

  • Address space

  • Routing

  • Firewalling

  • DNS that serves it

  • Address allocation mechanism

18
New cards

IPv6 address allocation

  • SLAAC

  • DHCPv6

19
New cards

DHCPv6

A mix of multicast and unicast traffic, link local and global addresses

  • Client sends a SOLICIT over multicast

  • Server responds with and ADVERTISEment of an address directly to the client

  • Client sends a request for the advertised address over multicast

  • Server sends a REPLY confirming the address allocation

20
New cards

DHCPv6 Unique Identifier (DUID)

Used to identify a host to the DHCPv6 server

Four different types in RFC 8415

21
New cards

Dual stack deployment

Run both protocols on the same equipment so device have two addresses

22
New cards

IPv6 deployment stratergy

Optimal deployment strategy could be

  • Start with it from ISP to your firewall

  • Roll out some test nets

  • Enable public facing services

  • Enable client devices

23
New cards

Tunnelling

Encapsulation of IPv6 packets in IPv4 packets between two destinations

Three main approaches

  • 6 in 4

  • VPN

  • Teredo

24
New cards

6 in 4

IPv6 packet with an IPv4 header bolted in front

25
New cards

Teredo

Encapsulates IPv6 in IPv4 UDP packets

26
New cards

NAT64 (RFC 6146)

IPv4 addresses embedded in a specific Ipv6 prefix

27
New cards

DNS64 (RFC 6147)

DNS server synthesis a AAAA record for a domain that only has A records

Combine with NAT 64 for a whole solution

28
New cards

IPv6 mostly

Devices that can operate IPv6 only do so, other devices are dual stack or IPv4 only

29
New cards

MAP - T (RFC 7599)

Translates IPv4 packets into IPv6

  • MAP-E (RFC 7597) encapsulates, so has at least 40 bytes of overhead

  • MAP-T reduces this to 20 bytes but does not maintain the IPv4 header

30
New cards

Dual stack lite (DS-lite)

Native IPv4, tunnelled and NATed IPv4 (RFC 6333)

31
New cards

Higher bandwidth

Higher the data rate achievable

32
New cards

Higher frequency

Easier it is to use more bandwidth

33
New cards

Centre frequency

Also called carrier frequency

34
New cards

Bandwidth

How wide the signal is

35
New cards

Propagation

How radio waves bounce around an environment

36
New cards

Link budget

Summary of the gains/losses in a radio system

37
New cards

Prx

Received power

38
New cards

Ptx

Transmitter output power

39
New cards

Gtx

Transmitted antenna gain

40
New cards

Grx

Receiver antenna gain

41
New cards

Ltx

Transmit feeder and associated losses (Feeder, connectors, etc)

42
New cards

Lfs

Free space loss or path loss (Inverse square law, atmosphere absorption etc)

43
New cards

Lp

Miscellaneous losses

44
New cards

Modulation

Have a carrier frequency and then change a number of things

  • Amplitude

  • Frequency

  • Phase

45
New cards

Quadrature phase shift keying

Can send multiple bits simultaneously by extending multiple phase shifts

46
New cards

Quadrature amplitude modulation

Combining different modulation schemes

47
New cards

Application of modulation schemes

  • Bluetooth

  • Wi-Fi

  • GSM

  • UMTS - Universal Mobile Telecommunications system

  • LORA

48
New cards

Frequency Division Multiple Access (FDMA)

Divide frequency band into channels and assign each user a different channel (Uplink and downlink may be on different channel)

49
New cards

Time Division Multiple Access (TDMA)

Divide access to the frequency band into a number of distinct time slots

50
New cards

Code Division Multiple Access (CDMA)

Same carrier frequency but are assigned a mutually orthogonal signal composed of ‘chips’

51
New cards

802.15.4

Standard that covers physical specifications (PHY) and MAC for LR-WPANs (Low rate wireless personal area network)

Sits in the network access layer of TCP/IP model and layer 1 and 2 of OSI model

52
New cards

802.15.4 applications

  • Wireless/Environmental sensor networks

  • Industrial communications and control

  • Home automation

  • Health monitoring

  • Smart metering

  • Asset and inventory tracking

  • Intelligent agriculture

53
New cards

PAN coordinator

The networks overall coordinator

54
New cards

Coordinator

Provides synchronisation services to other devices eg router

55
New cards

Full function device

  • Can function as a PAN coordinator or coordinator

  • Can associate with multiple other devices at once

56
New cards

Reduced function device

  • Cannot function as a PAN coordinator or coordinator

  • For very simple applications eg light switch or PIR sensor

  • Can only associate with one FFD at a time

57
New cards

Star topology

All communications are to/from the PAN coordinator

58
New cards

Peer to peer

All devices in range of each other can communicate directly. Is the basis of mesh networking

59
New cards

PPDU

PHY protocol data unit

60
New cards

PSDU

PHY Service Data Unit

61
New cards

Wireless HART

Wireless Highway Addressable Remote Transducer Protocol

Intended for industrial wireless sensing applications

62
New cards

6LoWPAN

IPv6 over low power wireless personal area networks

63
New cards

RPL

Routing protocol for low power and lossy networks, RFC 6550

Work out routing over mesh networks and allows for multi hop networks

64
New cards

TSCH

Time {slotted | synchronised} channel hopping

Essentially combines TDMA and FDMA

Each node gets a timeslot to talk to other nodes

65
New cards

Thread

A royalty free open industry standard designed foe connected home appliances

66
New cards

Matter

A royalty free, open source protocol standard for IoT and smart home

67
New cards

MQTT

Message Querying Telemetry Transport

Messages are published to a broker

Clients subscribe to data streams

68
New cards

CoAP

Constrained Application Protocol

Efficient for low power IoT systems

RESTful

69
New cards

CoAP key features

  • More modern and lightweight design the MQTT

  • Prefers UDP

  • Binary format for protocol

  • DTLS security option

  • Block transfers

  • Resource discovery

  • Push notifications

  • Cache model

  • Multicast support

70
New cards

Thread and CoAP

Thread (which uses 6LoWPAN/Ble/Wi-Fi) uses CoAP to

  • Configure

  • Management messages

71
New cards

LPWAN

Low Power Wide Area Network

72
New cards
73
New cards
74
New cards
75
New cards
76
New cards
77
New cards
78
New cards
79
New cards
80
New cards
81
New cards
82
New cards
83
New cards
84
New cards
85
New cards
86
New cards
87
New cards
88
New cards
89
New cards
90
New cards
91
New cards
92
New cards
93
New cards
94
New cards
95
New cards
96
New cards
97
New cards
98
New cards
99
New cards
100
New cards