Lecture 3/4 - IP Addressing Scheme Flashcards

1
Q

What is an IP Address?

A

An IP Address is an address that uniquely identifies a node on an IP network on the public internet.

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

What is the format of an IP Address? [2]

A
  • An IP Address is typically represented in dotted-decimal notation.
  • It consists of 4 numbers within a predefined ranged, separated by a period:
    X.Y.Y.Y
    where X indicates the class
    and Y can be between 1 - 254
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Differentiate between Unicast [1], Multicast [1] and Broadcast [2]

A
  • In unicast communication, packets are sent from a sender to a single receiver on the system
  • In Multicast communication, packets are sent from a sender to a group of receiver on the network, but not to all
  • In Broadcast communication packets are transmitted from a sender to all receivers within a subnet
  • Broadcast packets are not forwarded by routers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Discuss about the classes of IP Addresses [A2, B2, C2, D1, E1]

A
  • Class A is intended for very large networks with a large number of nodes
  • The MSB is 0, hence X: 1-126
  • Class B is intended for medium-sized networks supporting a large number of nodes
  • The MSB has value 10, hence X: 128-191
  • Class C is intended for small networks with a few nodes
  • The MSB has value 110, hence X: 192-223
  • Class D addresses are used for multicasting and are known as Multicasting Addresses.
  • Class E addresses are reserved for future use, experimental and research purposes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is 127.0.0.1 used for? [3]

A

127.0.0.1 is reserved for loopback.

It is a special address that offers a means to test the functioning of NICs, their drivers and software WITHOUT REQUIRING A PHYSICAL CONNECTION TO A NETWORK.

Packets sent to the loopback address are intercepted and shipped back to the sending application.

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

Define Network Id (NID) [2]

A
  • It is the first part of an IP address

* It uniquely identifies a network segment (subnet) within a network

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

Define Host Id (HID) [2]

A
  • It is the last part of an IP address

* It uniquely identifies a device(host) within a subnet

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

Define Broadcast address

A

It is a special type of IP address that is used for sending packets to all recipients on a subnet

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

Given an IP address, how do you computer the Broadcast address?

A
  1. Set the Host Bits to 255
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Define Subnet mask

A

It is a number that defines a range of IP addresses that can be used in a subnet

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

Given an IP address, how do you obtain the Default Subnet Mask? [2]

A
  1. Set the Network ID to 255

2. Set the Host ID to 0

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

Define Network Address [2]

A
  • A network address is a logical address that uniquely identifies a network segment (subnet)
  • Nodes having the same network address can communicate with each other
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Given a set of IP Addresses and their respective subnet masks, how to you determine if the nodes can communicate?

A
  1. Compute the Network Address of each node

2. Devices with the same network address can communicate

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

Given a Non-Default Subnet mask, how do you determine the Host Bits and Last Bits?

A

The host bit is the number of CONTINOUS 1s in the Subnet ID

The number of 0s in the Subnet ID gives the Last Bits

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

Given the Host Bits (HB) and Last Bits (LB) how do you calculate the (1) number of subnets and (2) number of devices per subnets?

A
  1. # of Subnets = 2^(HB) - 2

2. # of Device / Subnet = 2^(LB) -2

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

Given an IP address and its corresponding Non Default Subnet Mask, can you find the range of IP addresses?

A

Yes :)