1
Q

What is the purpose of an IP address?

A

To allow communication between devices over a network by acting as a unique identifier for each device and facilitates the transport of packets from source to destination by DEFINING the communication pathway.

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

What is the size of source and destination fields of IPv4?

A

32 bits EACH

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

How many combinations of IPv4 are possible?

A

2^32

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

What is the size of the source address and destination address of IPv6 addresses?

A

128 bits each

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

How many classes of IPv4 addresses are there?

A

5 classes
A, B, C, D, E
NOTE: D and E unaccessible for public

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

How to determine dotted decimal notation of binary representation of IP address with address
11001010000010010101111110111100

A

11001010.00001001.01011111.10111100

11001010 = 2^7 + 2^6 + 2^3 + 2^1 = 202
00001001 = 2^0 + 2^3 = 9
01011111 = 2^0 + 2^1 + 2^2 + 2^3 + 2^4 + 2^5 = 95
10111100 = 2^2 + 2^3 + 2^4 + 2^5 + 2^7 = 188

202.9.95.188

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

How to determine dotted decimal notation of binary representation of IP address with address
11001010000010010101111110111100

A

11001010.00001001.01011111.10111100

11001010 = 2^7 + 2^6 + 2^3 + 2^1 = 202
00001001 = 2^0 + 2^3 = 9
01011111 = 2^0 + 2^1 + 2^2 + 2^3 + 2^4 + 2^5 = 95
10111100 = 2^2 + 2^3 + 2^4 + 2^5 + 2^7 = 188

202.9.95.188

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

What is classful addressing?

A

Different configurations of 32-bit IPv4 addresses that are classified into either A, B, C, D or E class addresses

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

Can classful addresses be directly implemented in one location?

A

No, these must be divided into smaller addresses aka SUBNETTING

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

What is subnetting?

A

Dividing classful addresses into classless addresses

This creates subnets

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

What is classless addressing?

A

These are when classful addresses have been subnetted into subnets.

Subnets are classless

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

How to subnet a classful address into classless?

A
  1. Convert decimal into binary form
  2. Remove x bits from the host ID. Bits taken from MSB
  3. Removed bits are subnet ID bits
  4. x^2 bits is the number of subnet masks generated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Why classless used over classful?

A

Not practical to deploy classful, too many IP addresses for only one location. Subnetting allows more efficient use of network as subnetted network can be split between locations.

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

How are network and host part of an IP address idenfitified in classless addressing?

A

There must be a subnet mask to define the network and host part of the address
Stolen bits from host ID become subnet bits

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

For each of the following Classless IPv4 addresses and their corresponding subnet
masks, find out the network address, the subnet’s broadcast address, and the
number of usable addresses in that subnet.
a) IP address: 192.168.13.23, subnetmask: 255.255.0.0

OPTIONA:L

b) IP address: 130.194.77.37 subnetmask: 0xfffffe00
c) IP address 130.194.66.77 subnetmask: /26

A

a) IP address: 192.168.13.23, netmask: 255.255.0.0
192.168.13.23 = 11000000.10101000.00001101.00010111 (convert decimal to binary form)
255.255.0.0 = 11111111.11111111.00000000.00000000 (convert decimal to binary)
0.0.255.255 = 000000000.00000000.11111111.11111111 (determine wild card, reverse of subnet mask)
Get network (perform AND operation between address and netmask)
Get broadcast address (perfom OR operation for 1 bit between address and wildcard)
Host min address is Network + 1
Host max address is Broadcast - 1
Range = broadcast - network - hostmin (1) - hostmax (1)

OPTIONAL:

b) IP address: 130.194.77.37 netmask: 0xfffffe00
c) IP address 130.194.66.77 netmask: /26

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

Explain how application layer addresses (e.g. www.monash.edu or jsmith@foo.com)
are resolved to IP addresses and why is this necessary?

A

A dns or ns will recieve a request to the dns for the ip of the domain name from the source address. The ns will then resolve the IP address and domain name which can then be sent together to the source address.

This occurs through name resolution.

This allows the source to determine the IP of the domain

17
Q

Explain how IP addresses are resolved to MAC addresses (in Ethernet) and why is
this necessary.

A

The dns sends a frame to all hosts on the local network with the MAC address of interest. The host that has this MAC address will respond with its address.

18
Q

What is ARP?

A

Address resolution protocol

19
Q

What is a DHCPdiscover?

A

Broadcast for a DHCP server