IP addressing Flashcards

1
Q

What is a IP address

A

An unique numerical address that identifies a host device or a device attempting to communicate over IP on a network

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

Difference between IPv4 and IPv6

A

IPv6 gives more possible addresses compared to IPv4

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

What is the network identifier

A

The left hand bits of 32-bit number
Defines the network where nodes are communicating

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

What is the host identifier

A

Right hand bits of 32-bit number
Identifies separate nodes on a network

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

What are the reserved addresses

A

x.y.z.0 is the network IP address
x.y.z.255 is the broadcast address
127.x.y.z is reserved for loopback

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

What does subnetting do

A

Breaking the number available for the hostIDs between individual subnetworks

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

Why is subnetting useful

A

Reduces broadcast domain, improves security
Reduce data collision

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

What is the subnet mask

A

Used with the IP address to identify the network (and subnet) in the address
It will have the first n bits set to 1 and the rest to 0

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

How does a subnet mask work

A

When you AND a IP address and the subnet mask the network ID is found but the host ID is hidden

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

What is Class Inter-Domain routing

A

CIDR
Used to replace classful addressing. Allows user to use variable length subnet masks (VSLM)

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

What does a CIDR need

A

It has to be contiguous

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

Why is CIDR used

A

Create VLSMs which uses less wastage of IP addresses.

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

What is DHCP

A

Dynamic Host Configuration Protocol
Used to automatically assign IP addresses and other network configuration

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

What does DHCP allow

A

Limited pool of IP addresses to be shared
Allow hosts to reconfigure themselves when moving between networks
Reduces number of IP addresses needed locally

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

What is a port

A

A virtual place within the OS where network connections start and end. Help computers sort traffic

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

What does a socket contain

A

3 parts
protocol, local IP address, local port

17
Q

What is Network Address Translation

A

A NAT
As devices on private IP address cannot access the internet a NAT is required

18
Q

How does a NAT work

A

Allows a single public IP address to be shared by any number of hosts with private IP addresses
The translation device holds the source and destination for each request
It then communicates on host behalf to destination IP
When it receives a response it sends the message back to the host

19
Q

What is Port forwarding

A

A networking technique that allow private network access the internet.
It will be given a non-routable IP address in a private network
Public request reaches external router of private network using given port
Data packets are then forwarded internally to the correct device