Internet Flashcards

1
Q

Explain how the internet is a federated system.

A

Allows interoperability and information sharing between semi-autonomous de-centrally organized lines of business.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does network relate to internet?

A

Internet is not a network technology. It ties different networks together.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the problems facing the Internet?

A
  • Internet Scale
  • Competing Entities must Cooperate
  • Enormous Diversity of Devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Formal definition of Internet.

A

A federated system of enormous scale with large dynamic range
and diversity that is asynchronous in operation failure prone and
constantly evolving

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe the design paradigms of the internet. (5)

A

Decentralized control
A best-effort service model
Route around trouble
Dumb infrastructure with smart endhosts.
The end to end design principle - keep the core network simple and have functionality for reliability and the two endpoints.
Layering

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain best effort service model.

A

No guarantee on whether or when data will be delivered.
No notification of outcome.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What do the following stand for?
SDN
NFV
DSL
ISO
OSI

A

SDN - Software Defined Networks
NFV - Network Functions Virtualisation
DSL - Digital Subscriber Line
ISO - International Organization for Standardization
OSI - Open System Interconnection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Explain layering principle of internet.

A

A part of a system with well-defined interfaces to other parts. One layer interacts only with the layer above and layer below. Two layers interact only through the interface between them. Each layer should have a single standard protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

If layer A is a Session protocol using PDU what is the unit exchanged called?

A

SPDU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain the hierarchical structure of the layers.

A

Each layer offers certain services to the higher layers without revealing how those services are implemented.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

T or F. Communication is always horizontal in the Internet.

A

False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

T or F. Except in the physical medium, communication is always vertical in the Internet.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Explain encapsulation in network.

A

Encapsulation allows higher-level protocols to utilize lower-level protocols while still allowing protocols at every level of the stack to add their own protocol-specific data to each packet. The N + 1 - PCI is not visible to layer N.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

T or F. The packet size will increase as a packet goes from application to link layers when being sent.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

T or F. The packet size will decrease as a packet goes from link to application layers when being received.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Name four main layers and a process utilised on each of them.

A

Application layers (HTTP)
Transport Layer (TCP)
Internet Layer (IP)
Link Layer (Hardware)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What do the following stand for?
SAP
SDU
PDU
PCI

A

SAP - Service Access Point
SDU - Service Data Unit
PDU - Protocol Data Unit
PCI - Protocol Control Information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is SAP?

A

Point between a layer and the next highest one.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is SDU?

A

Is the block of data coming from the higher layer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is PCI?

A

Is the header that is added onto the SDU to make the relevant data block at this layer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is PDU?

A

Is the block of data that is given to the next layer underneath the current layer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

How are packets transported through network by IP?

A

Datagram packet switching

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Explain how TCP/IP Reference Model is a client-server model.

A

A client machine requests a service and runs only when needed. A server program, runs all the time waiting for incoming requests.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What do the following stand for?
NIC
UDP

A

Network Interface Card
User Datagram Protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

What is ‘port’ number?

A

Address of application that we must send the packet to.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

What is UDP?

A

UDP attaches port numbers without any reliability or congestion control unlike TCP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

Explain what TCP does?

A

Gives each byte of data its own Sequence Number. Assigns port number, but also has congestion control and reliability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

What is MSS?

A

Maximum TCP Segment Size. This is the block size for what the receiver can take, usually set at the start and not changed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

What is congestion window?

A

How much I can send which changes all the time. Grows with each successful transmission.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

What is receiver’s advertised window?

A

This is the maximum window size, congestion window cannot exceed it. Can be changed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

What is Threshold?

A

This is where the receiver goes from exponential increase to linear increase. It is initially set but changes when there is a timeout.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

T or F. Packet loss due to transmission is quite common.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

What does ACK stand for?

A

Acknowledgment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

Explain TCP Congestion Control from setup.

A

When connection initialised, sender intialises congestion window to MSS and sends one MSS.
Grows exponentially, add one MSS to congestion window and send 2 MSS ….
If we try to exceed the receivers advertised window then congestion window = receivers advertised window.
When the congestion window reaches or exceeds the threshold, send that number of MSS, then increase linearly by one MSS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

Procedure for timeout.

A

When a timeout occurs, there is a reset of the connection parameters.
Reset threshold to 1/2 current congestion window.
Reset congestion window to one MSS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

Formula for time to send full window?

A

= RTT * number of succeful transmission before a full window can be sent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

What did Barbara Liskov win? When?

A

The Computer Science equivalent of the Nobel Prize in 2008.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

T or F. Extracting a Network PCI from a Transport PDU results in a Network SDU.

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

List the layers in a network in order.

A

Application, Transport, Network, Data Link, Hardware.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

T or F. A Transport PDU is the same as a Network SDU.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

T or F. A Transport SDU is identical to a Network PDU.

A

False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

T or F. The MSS in TCP can not be changed once set.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

T or F. Extracting a Data Link PCI from a Data Link PDU results in a Network PDU.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

T or F. The congestion window in TCP changes a lot of the time.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

T or F and explain. In UDP an IP Host and Port uniquely defines a host’s application process.

A

False.

If two hosts are communicating, the combination of source IP, source port, destination IP, and destination port defines the complete connection context.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

T or F and explain. TCP preserves message (packet) boundaries.

A

Packets are treated as a stream.

False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

T or F. The actual communication in the OSI layered model is vertical.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
48
Q

T or F. The Internet only gives a best effort service with no guarantees.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
49
Q

T or F. A layered architecture means that each layer can look inside any other layer.

A

False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
50
Q

T or F. The communication latency in the Internet varies by billions.

A

False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
51
Q

T or F. Encapsulation means the data is secure.

A

False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
52
Q

T or F. The Internet is designed around being a Synchronous system.

A

False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
53
Q

T or F. The bandwidth in the Internet varies by billions.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
54
Q

T or F and explain. There are four layers in the OSI Model.

A

False.
They are seven.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
55
Q

T or F. The bandwidth in the Internet varies by millions.

A

False.

56
Q

T or F. Layer two in the OSI model is the Data Link Layer.

A

True.

57
Q

T or F. The number of layers is counted from the bottom in the OSI model.

A

True.

58
Q

T or F. The Internet is designed to give guaranteed communication services.

A

False.

59
Q

T or F. The Transport Layer is the first end to end layer in the OSI model.

A

True.

60
Q

T or F. The internet has centralised control.

A

F

61
Q

T or F. The actual communication in the OSI layered model is horizontal.

A

False.

62
Q

T or F. The communication latency in the Internet varies by millions.

A

True.

63
Q

T or F. The MSS in TCP usually changes a lot during the connection.

A

False.

64
Q

T or F. A hostname can have many IP addresses associated with it.

A

True

65
Q

T or F. The receiver’s advertised window (RAW) can be changed at any time in TCP

A

True.

66
Q

T or F. A MAC address can support many IP addresses.

A

False.

67
Q

T or F. The Internet is a federated system.

A

True.

68
Q

T or F. An IPv4 address has 48 bits.

A

False.

69
Q

T or F. An N+1 layer PDU is the same as a N layer SDU.

A

True

70
Q

T or F and explain. UDP sets up a connection for data transfer at the Transport Layer.

A

False.

UDP is connectionless

71
Q

T or F. A domain name can be resolved to multiple MAC addresses.

A

True.

72
Q

T or F. There are more Class B IP addresses than there are Class C addresses.

A

False.

73
Q

T or F. There are over 4 billion IPv4 addresses.

A

True.

74
Q

T or F. RIPE assigns all the IP addresses.

A

False.

75
Q

T or F. Class A addresses start with numbers between 0 and 127 in the first octet.

A

False.

76
Q

T or F. ICANN supports and controls the assignment of all IP addresses.

A

True.

77
Q

T or F. An IP address can have multiple MAC addresses.

A

False.

78
Q

T or F. An IP address can support multiple Domain names.

A

True.

79
Q

T or F. The congestion window can be greater than the Receivers Advertised Window.

A

False.

80
Q

T or F. The Threshold can be greater than the Receivers Advertised Window.

A

True.

81
Q

T or F. RIPE assigns the IP addresses in the Asia Pacific Region.

A

False.

82
Q

What do the following stand for?
ARP
MAC

A

Address Resolution Protocol
Medium Access Control

83
Q

What is MAC address?

A

Physical address of computer. Invariant in time, built into hardware.

84
Q

Is IP always the same?

A

No, internet address can change.

85
Q

Explain the relationship between domains, IP addresses and MAC addresses.

A

IP to MAC is 1:1
Domain to IP is n:k
So Domain to MAC is n:k

86
Q

How many bits in IPv4 address space?

A

32

87
Q

Distinguish class A, B, C subnets.

A

Class A: 1 bit locked to 0. 2^7 - 1 networks. 2^24 - 2 hosts per.
Class B: 1st bit locked to 1, 2nd to 0. 2^14 networks. 2^16 - 2 hosts per.
Class C: 1st bit locked to 1, 2nd to 1, 3rd to 0. 2^21 networks. 2^8 - 2 hosts per.

88
Q

How can A, B and C classes be easil distinguished?

A

First part of IP:
A:
1 - 126
B:
128 - 191
C:
192 - 223

89
Q

List the different regions and their IP providers.

A

RIPE - Europe
ARIN - America
APNIC - Asia

90
Q

What does CIDR stand for? Explain.

A

Classless Inter-Domain Routing.

Assigns IP addresses by building up prefixes assigned and using netmasks.

91
Q

What does the netmask /28 mean?

A

Means the network id of the IP is 28 bits and 4 bits are left for the host id.

92
Q

What is network function virtualisation?

A

Allows network to prioritise tasks with more urgency by building intelligence within the endhosts of a network, e.g. autonomous cars.

93
Q

What is edge computing?

A

Involves reducing reliance on big data centres and the cloud. Means setting up preliminary computers on premises to analyse data briefly. Leads to faster reaction times in case of emergency but is more vulnerable to security risks for valuable data.

94
Q

Distinguish between net id and host id.

A

Net id is network number, host id is your place in the network.

95
Q

T or F. The threshold can be bigger than the Receiver’s advertised window.

A

True

96
Q

T or F. A domain name can be associated with only one IPv4 address.

A

False

97
Q

T or F. Encapsulation means that I do not have to understand the headers from higher layers.

A

True

98
Q

T or F. When the subnetting mask is changed within my network, I must inform the other routers outside of my network.

A

False

99
Q

T or F. A Network SDU is identical to a Transport PDU.

A

True

100
Q

T or F. The IP address 153.182.201.187/30 has a broadcast address of 153.182.201.191.

A

False

101
Q

T or F. 171.77.205.0 is a valid Host IP address with a mask of 255.255.128.0.

A

True

102
Q

T or F. A MAC address is resolved by DNS to give a single IPv4 address.

A

False

103
Q

T or F. A MAC address is resolved by ARP to give a single IPv4 address.

A

True

104
Q

T or F. In TCP the congestion window can not be greater than the threshold.

A

False

105
Q

T or F. Extracting a Network PCI from a Transport PDU results in a Network SDU.

A

False

105
Q

T or F. Even though IP is connectionless and unreliable, it is still possible to have a reliable connection oriented service that uses IP.

A

True

105
Q

T or F. In UCP an IP Host and Port uniquely defines a host’s application process.

A

False

106
Q

T or F. A class C network has 256 possible hosts.

A

False.

107
Q

T or F. A Domain name can not be resolved to many MAC addresses (using DNS and ARP)

A

False

108
Q

T or F. Adding a Network PCI to a Transport PDU results in a Network PDU.

A

True

109
Q

T or F. 194.17.41.7 is a valid host IP addresses with a Mask 255.255.255.248

A

False

110
Q

T or F. An IP address with /26 will have a broadcast IP address ending in 255,191, 63 or 127

A

True

111
Q

T or F. In a class C network the broadcast IP address must end in 255.255

A

False.

112
Q

T or F. Broadcast address is 137.53.255.255 with a mask of 255.255.224.0 for an IP address 137.53.184.24?

A

False.

113
Q

T or F. An IP address with /23 will have a broadcast IP address ending in 255.

A

True.

114
Q

T or F. The decimal notation of the final byte of an IP address with /28 will always be even.

A

False.

115
Q

Why does UDP exist? Can we let users send raw IP packets through network?

A

UDP exists to extend IP’s host-to-host delivery service into a process-to-process communication service.

No you can not let them send raw IP. Without any additional addressing information the destination network layer process responsible for delivering data to application layer would not know what to do with an arriving IP datagram.

116
Q

Is it possible to have more than one TCP connection between 2 ports at the same time?

A

There can be multiple from port 1 or port 2 but not multiple linking port 1 and port 2 as TCP connection is identified uniquely by (port 1, port 2) pair.

117
Q

If IP handles reassembly, does TCP not have to worry about data arriving in wrong order?

A

No. IP datagrams are sorted but the datagrams themselves can be out of order.

118
Q

Why is the transmission of information between two peer
processes in either the TCP/IP Model or the OSI Model called
virtual transmission?

A

The processes are concerned only with the information content being exchanged, and not the way in which this information is actually transmitted.

119
Q

List two ways in which the OSI Reference Model and the
TCP/IP Reference Model are the same, and two ways in which
they differ.

A

S:
- Both layered models.
- End-users don’t have to be concerned about the physical communication network.

D:
- OSI model has 7 layers, TCP/IP model has
4 layers.
- OSI connectionless or connection-oriented service whereas TCP/IP model only provides a connectionless.

120
Q

Distinguish between where the congestion window and the transmission size sent occur.

A

At start congestion window is set to 1 MSS
Then in 1st transmission, 1MSS is sent and congestion window is set to 2 MSS.
Then in 2nd transmission, 2MM is sent, and congestion window is set to 4 MSS.

121
Q

Distinguish between ARP and Reverse ARP.

A

ARP - Gets MAC for given IP address
Reverse ARP - Host broadcasts MAC address to get its own IP address.

122
Q

Using subnetting what is the net id, subnet id and host id roles.

A

The Netid defines the site
The Subnetid defines the physical network
The Hostid defines the actual machine

123
Q

T or F. Bits arrive on wire in physical layer.

A

True.

124
Q

T or F. Packets delivered across links and local networks in network layer.

A

False.

Datalink Layer

125
Q

T or F. Packets delivered between networks for global delivery in network layer.

A

True

126
Q

What does OTN stand for? What is it used for?

A

Optical Transport Network

Transfer between Autonomous systems.

127
Q

When is fragmentation of a datagram needed? How is it implemented?

A

Is needed when an intermediate network has a max frame size too small to carry the datagram.

All fragments of a given datagram have the same identification value.

128
Q

How does IPv6 differ from IPv4?

A

128 bit address vs 32 bit address

129
Q

Why is IPv6 not implemented?

A

Not compatible with IPv4, so hard to roll out universally.

130
Q

Host with IP address 128.96.34.15 with subnet mask 255.255.255.128
How do you find the subnet the host is attached to?

A

Perform bitwise AND operation between values of ip address and subnet mask.

131
Q

T or F. The broadcast address on a subnet always ends with 255.

A

False.

132
Q

T or F. Subnetting and CIDR are really the same.

A

False.

133
Q

T or F. The MSS in TCP is the maximum size of the segment that a device can send of the receiver can receive before the TCP and IP header is added.

A

True.

134
Q

T or F. The broadcast address for the IP 192.168.153.33 /26 is 192.168.153.63

A

True