IP Addresses Flashcards

1
Q

What is an IP Address?

A

An IP address is a unique identifier number assigned to every device on the internet. There are therefore billions of different ones!

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

Why is IPv4 being phased out?

A

Because IPv4 uses 32-bit (4 blocks of 8 bits) long IP addresses there are around 4 billion possible combinations/unique IP addresses to be assigned. As there are many more devices than this on the internet now the IPv4 Address Pool is nearly depleted (empty).

To remedy this IPv6 was created, which uses 124-bit long IP addresses to create a possible 340 TRILLION unique IP’s.

IPv4 and IPv6 addresses can connect to each other.

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

How many bits are in a byte?

A

8 bits to a byte.

1 bit is a 1 or a 0 - binary. The smallest unit of data that can be stored/processed by a computer.

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

What is the difference between a byte and an octet?

A

There isn’t one! Synonymous. Both are made of 8 (hence oct-et) bits. Which are 1 or 0 - binary. The smallest bit of a data is a bit (0/1)

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

Which IP address version uses alphanumeric (numbers and letters) to form it’s unique identifiers/addresses?

A

IPv6 (128 bits) uses alphanumeric addressing whereas IPv4 (32 bits) just uses numbers.

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

What is a default gateway?

A

The default gateway is the network device (usually a router) that connects your subnet to the internet/ISP. You need the address of this device (Default Gateway/Default Gateway Address).

All traffic between the subnet and wider internet is routed/sent through and received through the Default Gateway (router).

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

What server is responsible for converting IP addresses (numbers IPv4/alphanumericals IPv6) to Domain Names and vice versa?

A

The Domain Name System (DNS - udp/53) server converts IP’s into domain names and back again so that users don’t have to remember long number/alphanumeric sequences to connect to each website/device on the internet.

You configure two DNS Servers in your IP configuration so if one is not available (not working, like if google is down) you can use the other and still get online.

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

Why do you use at least 2 DNS servers when configuring DNS on a device?

A

You configure two DNS Servers in your IP configuration so if one is not available (not working, like if google is down) you can use the other and still get online.

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

What was BOOTP and what protocol was developed to replace it/improve it?

A

BOOTP (1993) - bootstrap protocol was developed to automatically assign IP addresses to devices on a network. However, it wasn’t fully automatic as some manual configuration was still required and it didn’t track when a device left the network so the IP was not able to be reused.

It was replaced by DHCP (1997) which is fully automatic bla bla bla and utilises the DORA handshake/process to assign a new network device an IP from it’s server pool.

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

What are the four steps of DORA used by the DHCP server to assign an IP to a new device on the network?

A

Discover - the new device scans for/finds DHCP server/s on it’s network (upon powering on).
Offer - the DHCP server/s offers/gives the device an IP address/es.
Receive - the device receives/confirms/accepts/picks the IP address.
Acknowledge - the DHCP server acknowledges the receipt of the IP address and sends over all necessary configuration to the device to join the network.

DORA is a stepped conversation starting with the device and then to the server then the device then the server. Like a tennis match.

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

What is a reserved IP address?

A

An IP address that is reserved/set aside for a specific device/MAC address. Reserved IP addressed are configured on the DHCP server so that whenever it recognises that a specific MAC address (e.g. a particular printer) has joined the network it assigns it the reserved IP address.

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

What is APIPA?

A

When a DHCP server is not available on a network then APIPA - Automatic Private IP Addressing - assigns a Private IP address to the device thus allowing it access to the network (any devices on the network that ALSO have an APIPA address). DOESN’T ALLOW YOU TO CONNECT TO THE INTERNET.

The IP address assigned will be in the range of 169.254.1.0 through 169.254.254.255.

If you see an IP within this range then you can automatically assume that a DHCP server is not available on the server.

It uses ARP - Address Resolution Protocol to map dynamic IP addresses to MAC addresses on the network. (DHCP also uses ARP)

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

What server can you assume is not on network if you see a device has an IP address within the range of:
169.254.1.0 to 169.254.254.255

A

That range of IP addresses is reserved for APIPA and therefore you can assume that there is NO DHCP server on the network.

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

What two parts does a subnet mask split an IP address into?

A

The first part of the address is the Network address/Identifier for what specific network a device is a part of/connected to.

The second (last part) of the address is the Host/Device identifier.

The first part is as long as there are 1’s. So when the subnet mask switches from 1’s to 0’s that is where the Network Address is SEPARATED from the Host Address part of the IP address.

CIDR notation is how many ones there are before you change to 0’s.

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

What are the benefits of subnetting (partitioning networks into smaller subnets (sub-networks))?

A

Splitting networks into smaller more manageable networks (Subnetting) allow the following benefits:

MANAGEABILITY

It reduces network complexity, reduces broadcast volume and therefore network traffic.

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

What is a broadcast on a network?

A

A broadcast is when a computer sends out data to ALL computers on a network so it can locate the specific one it wants to talk to.

17
Q

What is the potential problem that subnetting solves by making big networks smaller/manageable?

A

The problem is that all the computers receive EVERY broadcast on a network so if the active network is too big then the network gets overloaded and communications are slowed down. Data traffic jams.

It would also be very difficult to pin point problems on a very large network.

Subnetting/sub-dividing networks by using software and routers (default gateways) means that the broadcasts are confined to devices on those smaller sub networks/subnets.

If a computer from one subnet wants to communicate with a pc on another subnet it broadcasts to its subnet and there will be no response so the data (request) will be sent to the default gateway which will then intelligently route it to the right subnetwork.

18
Q

What octets are locked in a Class A IP?

A

The first octet only e.g. 127.xxxx.xxxx.xxxx is a Class A IP address. First octet must be 1-127 range. Default subnet mask of Class A address is 255.xxxx.xxxx.xxxx

19
Q

What range do Class B addresses have?

A

128-191 in the first octet, inclusive. default subnet mask 255.255.xxxx.xxxx - first two octets locked.

20
Q

What type and class of IP address starts 172.16-172.31?

A

Private Class B IP addresses start 172.16 to 172.31.

21
Q

What IP address is used for loopback (tests to see whether Ethernet card, drivers and software work without the need of a physical network/offline)?

A

127.0.0.1 IPv4 or ::1/128
128. IPv6 are loopback IP addresses.

22
Q

What are IP addresses 169. and fe80::/10 examples of?

A

APIPA addresses.

23
Q

What are fc00::/7 range IP addresses?

A

Unique Local Addresses (ULA’s) - Private IP addresses (IPv6)