Chapter 11 Networking Flashcards

(20 cards)

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

What is the standard communication method to send messages between devices known as?

A

TCP/IP

TCP/IP is also a routing protocol that provides best effort delivery.

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

Name the four layers of the TCP/IP model.

A
  • Application
  • Transport
  • Internet
  • Link

Each layer has a specific job in the communication process.

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

In the context of networking, what does IP represent?

A

House number

It is a unique number in the network.

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

What does Port refer to in networking?

A

Which door to use

Ports are used to identify specific services on a device.

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

Define Socket in networking terms.

A

Combo of IP and Port

Example: 192.168.10.1:23.

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

What are the three components of an IP configuration?

A
  • IP address
  • Subnet Mask
  • Default Gateway

These components define the network and how to access it.

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

What does the subnet mask define in an IP configuration?

A

Defines your network/how big of network

It helps distinguish between the network and host parts of an IP address.

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

True or false: The first part of an IP address represents the host.

A

FALSE

The first part of the IP is the network; the rest is the host.

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

What is the difference between IPv4 and IPv6 addressing?

A
  • IPv4: 32 bit addressing
  • IPv6: 128 bit addressing

IPv4 supports ~4.2 million addresses, while IPv6 supports ~340 trillion-trillion-trillion addresses.

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

How do computers browse the Internet using names?

A

Mapping the name to the IP via DNS

IP addresses are used for routing messages across subnets.

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

What command is used to view the adapters in your system?

A

$ip link

This command shows the status and MAC of the adapters.

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

What utility can be used to test if you can communicate with a remote computer?

A

Ping

You need to know the remote IP address to use this utility.

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

What command shows the route table in Linux?

A

$ip route

The route table helps determine where to send packets.

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

What command is used to show all active sockets?

A

$ss -a

This command displays all sockets and their connections.

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

What is the purpose of the Network Manager in Linux?

A

Manages networking

It provides commands to show device info and manage connections.

17
Q

To delete a connection in Network Manager, what command would you use?

A

$sudo nmcli com del enp2

This command removes the specified connection.

18
Q

What file do you edit to set a computer’s hostname?

A

/etc/hostname

You can also use the command $sudo set-hostname <name>.</name>

19
Q

What does the hosts file do?

A

Converts names to IP addresses

It is used for name resolution on the local machine.

20
Q

What does a computer do when it can’t resolve a name or IP address?

A

Asks a Domain Name Service (DNS) server

The DNS address is specified in /etc/resolv.conf.