Networking Flashcards

* TCP/IP * Classful Networks * Subnet Masks * Broadcast Addresses * CIDR * Private address space

1
Q

What’s the meaning of TCP/IP acronysm?

A

Transmission Control Protocol / Internet Protocol

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

How many octet do we need to represent an IP Address

A

4

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

To which class does the subnet 255.0.0.0 belongs?

A

Class A

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

Which command should we use for seeing IP information?

A

ip, ifconfig (will be deprecated soon)

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

What’s the purpose of a DNS

A

To translate from a hostname to an IP address and vice-versa.

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

What is a top level domain (TLD)?

A

.com, .mx, .edu, those are TLD.

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

Where is the hostname of the machine configure?

A

/etc/hostname

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

If we want to know the IP of a host in the internet, which command should we use?

A

host

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

can we configure a name that will be use by DNS in our /etc/hosts file?

A

No, host names configure in /etc/hosts are local to the Linux System.

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

In which file do we control the order for name resolution?

A

/etc/nsswitch.conf

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

For what is the port 22 reserved?

A

SSH

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

For what is the port 443 reserved?

A

HTTPS

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

In which config file can you map port numbers to port names?

A

/etc/services

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

What DHCP stands for?

A

Dynamic Host Configuration Protocol

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

which command should we use to know if we can reach a host or not?

A

ping

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

what command should we use if we want to see all the hops that our machine needs to make to reach a host?

A

traceroute

17
Q

Which command should we use if we want to see network information?

A

netstat

18
Q

Which command should we use to see the traffic of a network

A

tcpdump