IP Addressing Flashcards

1
Q

What is an IP address?

A

The network layer move traffic from one device to another on the internet, which means that each device must have an IP address

An IP address consists out of 4 numbers (1.1.1.1), each number can be between 0 - 255

each number is constructed out of an octet (8 bit) binary number, making it a 32-bit address

The first three numbers are the network portion, and the last number is the host portion

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

How do we identify the network and host portions of an IP address?

A

d

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

Classless Addressing

A

The network and host portion of the address is determined by the subnet mask

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

Classful Addressing

A

Network and Host portion is determined by Classes as opposed a subnet-mask.

Classes

A 0.0.0.0 - 127.255.255.255 (network portion is the first 8 bits)

B. 128.0.0.0 - 191.255.255.255(network portion is the first 16 bits)

C. 192.0.0.0 - 223.255.255.255(network portion is the first 24 bits)

D. 224.0.0.0 - 239.255.255.255(network portion is all 32 bits, there is no host portion)

E, 240.0.0.0 - 255.255.255.255 (experimental range, not used in reality)

Classes ABC are unicast addresses, which are used to connect individual devices with one another

Class D is a multicast address, which is used for connecting one too many devices

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

Different types of IP addresses

A
  1. Network Address
    - Identifier for a group of devices, or area of ip addresses
    - AKA “network prefix”
  2. Broadcast address
    - Identifier for all devices on a network
  3. Host Address
    - Identifies unique device on a network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How to identify a network address?

A

Need the IP address and subnet mask to identify the host portion of address

The host portion will have all binary zeros

If host portion is all binary zeros, then it will ALWAYS be a network address

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

How to identify a broadcast address?

A

Use a subnet mask to Identify the host portion of the address

if host portion is all binary 1’s then it is a broadcast address

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

How to identify a host address?

A

Use the subnet mask to identify the host portion of the ip

if the host is neither all zeros or all ones, then it is a host address

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

CIDR notation

A

Classless InterDomain Routing

instead of 255.255.255.0 the length of the network prefix is indicated with a /24 (bits) which is added behind the IP address

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

Private IP address Ranges

A

Ranges within the ABC classes that cannot be used in public networks, but only on private networks

A: 10.0.0.0 - 10.255.255.255 /8

B: 172.16.0.0 - 172.31.255.255 /12

C 192.168.0.0 - 192.168.255.255 /16

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

APIPA address

A

Used for automatic configuration of IP addresses

169.254.0.0/16

often fails, if a device has this address, there is a high chance that something is wrong in your network

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

127.0.0.1

A

Loopback or home address

used ot see if tcp stack on opperating system is working correctly

Used for testing on local system

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

PING

A

Packet InterNet Groper

Used to test connections

for two divice to communicate with one another directly, they must be on the same IP network address, if they are not, then communication will have to be facilitated through a third device, like a router

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

What does it mean when PING returns message “transmit failed. General Failure.”

A

it means the devices are not on the same IP network, and there are no routers configured

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

Default Gateway

A

Router IP address

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