Lesson 5C Flashcards

1
Q

What is a VLAN?

A

A VLAN (Virtual LAN) is a way to create separate groups within a single switch. Each VLAN acts like its own small network, so devices in different VLANs don’t mix their messages, even if they are on the same physical switch.

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

How does a VLAN help with network performance?

A

VLANs reduce network congestion by splitting a large network into smaller, manageable sections. Each VLAN has its own broadcast domain, which means broadcast messages only go to devices in the same VLAN, not all devices on the switch.

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

What is a subnet?

A

A subnet is a smaller, separate network within a larger network. It divides the main network into smaller sections, each with its own unique range of IP addresses. This helps organize and manage the network more efficiently.

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

What is classful addressing?

A

Classful addressing is an old method of assigning IP addresses based on address ranges:

Class A: For very large networks with up to 16 million devices.
Class B: For medium-sized networks with up to 65,000 devices.
Class C: For smaller networks with up to 254 devices.

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

How do you identify an IP address class?

A

Check the first number of the IP address:

1 to 126: Class A
128 to 191: Class B
192 to 223: Class C

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

What is a public IP address?

A

A public IP address is an address that can be used to reach a device over the internet. It is unique across the entire internet and allows devices to communicate with each other globally.

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

What is a private IP address?

A

A private IP address is used within a local network (like home Wi-Fi) and is not visible on the internet. It allows devices to communicate within the same network without using up public IP addresses.

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

What does NAT do?

A

NAT (Network Address Translation) changes private IP addresses to a public IP address when sending data to the internet. It allows multiple devices on a local network to share a single public IP address.

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

What is a proxy server?

A

A proxy server is an intermediary that retrieves data from the internet on behalf of a device. It has a public IP address and can provide privacy and control over internet usage by acting as a go-between.

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

What is APIPA?

A

APIPA (Automatic Private IP Addressing) is used when a device can’t find a DHCP server to get an IP address. It automatically assigns an address in the range 169.254.1.1 to 169.254.254.254 so the device can still communicate on the local network.

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

What does APIPA stand for and what does it do when a computer can’t find a DHCP server?

A

APIPA stands for Automatic Private IP Addressing. When a computer can’t find a DHCP server, it automatically assigns itself an IP address from the range 169.254.1.1 to 169.254.254.254. This allows the computer to still communicate with other devices on the same local network even though it can’t connect to the internet.

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

What are two important factors to consider when planning an IPv4 network addressing scheme?

A

1) Number of Subnets: Decide how many smaller networks (subnets) you need.

2) Number of Hosts: Determine how many devices (hosts) each subnet must support.

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

From which ranges should your network ID be chosen, and which ranges should be avoided?

A

Your network ID should come from a valid public IP address range or a private IP address range. Avoid using IP ranges reserved for loopback addresses, link-local addresses, multicast addresses, or experimental addresses.

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

Why is it important that network and host IDs cannot be all 1s or all 0s in binary?

A

All 1s in binary are reserved for broadcast messages that go to all devices on the network. All 0s are used to represent “this network,” so they cannot be assigned to individual devices.

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

How do you determine the number of bits to add to your subnet mask if you need a specific number of subnets?

A

Find the nearest power of 2 that is equal to or greater than the number of subnets you need. For example, if you need 12 subnets, the next power of 2 is 16. This means you need to add 4 bits to your default subnet mask.

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

What does the subnet mask 255.255.240.0 represent in terms of bits for subnetting?

A

The subnet mask 255.255.240.0 means 20 bits are used for the network and subnet portion of the IP address. This is because 255 in binary is 11111111, and 240 is 11110000. Combined, this gives 20 bits.

17
Q

How many usable hosts can you have in a subnet with 12 bits for hosts, and why?

A

You can have 4094 usable hosts in a subnet with 12 bits for hosts. This is calculated using the formula 2^n - 2, where n is the number of host bits. The subtraction of 2 accounts for the reserved network address and the broadcast address.

18
Q

How do you calculate the next subnet ID when given a subnet mask of 255.255.240.0?

A

Subtract the least significant octet in the subnet mask from 256 to find the increment for each subnet. For a mask of 240, subtract 240 from 256 to get 16. This means each subnet starts 16 addresses apart. So, if the first subnet is 172.30.0.0, the next one will be 172.30.16.0.

19
Q

For the subnet 172.30.16.0/20, what are the first and last usable IP addresses?

A

The first usable IP address is 172.30.16.1 and the last usable IP address is 172.30.31.254. The first address is one more than the subnet address, and the last address is two less than the next subnet address.

20
Q

What happens if you use a /24 network and need to create 16 subnets? How many hosts per subnet can you have?

A

If you use a /24 network and need 16 subnets, you can only have 14 hosts per subnet. This is because you need to use 4 bits for subnetting, leaving only 4 bits for hosts. 2^4 - 2 equals 14, as 2 addresses are reserved (network and broadcast).