The Bits and Bytes of Computer Networking 2 Flashcards

1
Q

How many bits is a MAC address and how are they represented?

A

48 bits, represented by 6 groupings of 2 hexadecimal digits.

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

What is an octet, and how many hex digits can represent one?

A

Any number that can be represented by 8 bits. Can be represented by 2 hex digits.

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

What are the first and last 3 octets of a MAC address?

A

First 3 = OUI - Organizationally Unique Identifier, assigned to individual hardware manufacturers by the IEEE.

Last 3 = assigned to devices by the manufacturer.

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

What is a Unicast?

A

A one-to-one transmission from one point in the network to another point. Delivered from one sender to one specific recipient.

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

What is a Multicast?

A

One-to-many, transmitted only to intended recipients in the network.

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

What is a broadcast?

A

One-to-many, transmitted to all the hosts connected to the network. Sent using broadcast MAC address - all Fs.

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

What is a Checksum and how is it calculated?

A

Calculated by performing a CRC - Cyclical Redundancy Check - against the contents of the packet. The receiving device will also perform a CRC to ensure received data is complete and uncorrupted.

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

How many bits are IPv4 addresses and how are they represented?

A

32 bits, represented by 4 octets, described in decimal numbers, in dotted decimal notation.

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

What is DHCP?

A

Dynamic Host Configuration Protocol, the process that automatically assigns an IP address to a new device from the network it has connected to.

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

What is the difference between a dynamic and a static IP address.

A

A dynamic IP is assigned by DHCP, it can change each time a device connects to a network.

A static IP must be manually configured and does not change.

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

What are data packets at the data link layer called?

A

Ethernet Frames.

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

What are data packets at the network layer called?

A

IP Datagrams.

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

What is the TTL field and what is it’s purpose?

A

Indicates the number of hops a packet can traverse before it is thrown away, each router that the packet reaches will decrement the field by one. The purpose is to prevent endless loops in the case of a misconfiguration.

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

How are the octets in Classes A, B and C divided?

A

Class A - first octet = network ID.
last 3 octets = host ID.

Class B - first 2 octets = network ID.
last 2 octets = host ID.

Class C - first 3 octets = network ID.
last octet = host ID.

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

What are Classes D and E used for?

A
D = Multicasting.
E = Testing purposes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the main issue with the Class system?

A

Class A networks are huge and there is not many of them available, Class C has many available networks but very limited possible host addresses on each. Overall the system is very limiting.

17
Q

What is ARP?

A

Address Resolution Protocol, used to discover the MAC address of a node with a certain IP address.

18
Q

What is an ARP table and what devices store them?

A

A list of IP addresses and the associated MAC addresses, stored on most network connected devices.

19
Q

What does a device do if it doesn’t have an entry in it’s ARP table for an IP address it wants to send data to?

A

It will send a broadcast ARP Message, when the device with the specified IP address receives the message it will send an ARP Response containing it’s MAC address.

20
Q

What is subnetting?

A

Splitting a large network into many smaller subnetworks.

21
Q

What is a Gateway Router?

A

A router that sits on the edge of a network, and connects the network to other networks - an entry / exit point for the network.

22
Q

What is a subnet mask? How does it represent the various IDs?

A

Tells devices what is the network ID, Subnet ID and Host ID. When in binary form - network/ subnet ID are represented by 1s, and the host ID represented by 0s. The device can compare this to the IP address in binary and understand which is which.

23
Q

What is CIDR?

A

Classless inter-domain routing. Expands on the subnet concept by using subnet masks to demarcate networks.

24
Q

What is a demarcation point?

A

Where one network/ system ends and another begins.

25
Q

What is CIDR notation and how does it work?

A

Slash notation, a tidier way to tell the subnet mask.

eg /27 will tell you that the first 27 bits are the network/ subnet IDs, and the remaining bits are the host ID.

26
Q

What are the 4 main columns in a routing table?

A

Destination network, the next hop, total hops, interface.

27
Q

What are routing protocols for, and name the two main categories?

A

How routers can learn the best routes to send data.

Interior routing protocols, exterior routing protocols.

28
Q

What are the 2 subcategories of interior routing protocols? Describe each.

A

Distance-Vector Protocols - older, a router using this protocol will send its routing table to every router directly connected to it, routers don’t know about overall network, only it’s neighbours, slow to react to far away changes.

Link State Protocols - newer, every router will tell every other router about what networks / routers it is connected to, each node will construct a map of the network connectivity, then calculate the fastest route itself.

29
Q

Where are interior gateway protocols used?

A

Used by routers to share information within a single autonomous network.

30
Q

Where are exterior gateway protocols used?

A

Used to communicate data between routers representing the edge of an autonomous system. (Gateway routers)

31
Q

What is an autonomous network? Provide an example of one.

A

A collection of networks that fall under control of a single network operator, eg, the many routers of a national ISP.

32
Q

What does IANA stand for and what are they responsible for?

A

Internet Assigned Numbers Authority - allocate IP addresses.

33
Q

Name 2 distance-vector protocols, and describe what they do.

A

RIP - Routing Information Protocol, finds the fastest route by lowest hop count. Doesn’t consider if route is congested.

EIGRP - Enhanced Interior Gateway Routing Protocol, exchanges routing information with its neighbours, and uses this info to calculate the best route.

34
Q

Name the only exterior gateway protocol in use today, and describe what it does.

A

BGP - Border Gateway Protocol, used by gateway routers, to connect one autonomous system with others. Protects each system, and finds the best routes to take.

35
Q

Name the most common link state protocol and describe what it does.

A

OSPF - Open Shortest Path First, widely used, learns about every router and subnet in the network, all routers share this information with each other through Link State Advertisements. Calculates the best routes using this info.

36
Q

What is non routable address space, and what / why is it used?

A

A range of IP addresses set aside, anyone can use them within a network, and with NAT they can communicate outside of that network.