TCP/IP Network Model Flashcards

1
Q

Name four application layer protocols in the TCP/IP network model.

A
  1. HTTPS (secure web)
  2. SSH (secure shell)
  3. FTP (file transfer)
  4. SMTP (email delivery)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two protocols used in the transport layer of the TCP/IP network model?

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

What layer of the TCP/IP network model uses IPv4 and IPv6 protocols?

A

Internet layer, or Network Layer

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

What two pieces of information form a socket?

A

IP address and service port.

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

Which layer of the TCP/IP network model provides the connection to physical media?

A

The Link or Media Access Layer.

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

What three layers of the OSI network model correspond to the Application layer of the TCP/IP model?

A

Application (7), Presentation (6), and Session (5).

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

What two layers of the OSI network model correspond to the Link layer of the TCP/IP model?

A

The Data Link and Physical layers.

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

In RHEL 7 and later, what prefixes are assignes to network interfaces for ethernet, WLAN, and WWAN?

A

en, wl, and ww.

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

In RHEL 7 and later, what characters are used to represent network interface types for onboard, PCI hotbus slot, and PCI on bus M in slot N

A
o
N,
s
N,
p
M
s
N
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How many bits are assigned as the network prefix for Class A, Class B, and Class C networks?

A

Class A - 8 bits
Class B - 16 bits
Class C - 24 bits

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

What is CIDR?

A

Classless Inter-Domain Routing
The newer network addressing specification, which allows for a variable number of bits in the network prefix of an IPv4 address.

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

What is a network mask

A

A binary mask whose length indicates the number of bits assigned to the network prefix that identifies a subnet.

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

What two forms of expressing a network mask are used?

A
  1. CIDR notation (192.168.0.1/24)
  2. Four 8 bit octets (255.255.255.0)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What address within a subnet is reserved for the network address?

A

The lowest possible address, where the host number is all binary zeros.

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

What address within a subnet is reserved for the broadcast address?

A

The highest possible address, where the host number is all binary ones.

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

What address is commonly used as the gateway address of a subnet?

A

The first available host number, which the binary number is all zeros except for a ‘1’ in the last bit.

17
Q

What are the steps to find the addresses associated with a subnet, given a host’s address and mask?

A

Host address - 172.16.181.23/19
Mask - 255.255.224.0
1. Find the Inverse Mask - 0.0.32.255
2. Find the Network address start numbers -
172.16.(0, 32, 64, 96, 128, 160, 192, 224).0
3. Find the Network address that the given host falls under - 172.16.160.0
4. Find the Broadcast address - 172.16.191.255
5. Find the Host address range -
172.16.160.1 to 172.16.191.254

18
Q

Find the network address, broadcast address, and network host rnage for the subnet 192.168.255.57/23

A

Host: 192.168.255.57
Subnet Mask: 255.255.254.0
1. Inverse Mask: 0.0.1.255
1. Network addresses: 192.168.254.0, 192.168.255.0
1. Broadcast address: 192.168.255.255
1. Host address range: 192.168.255.1 to 192.168.255.254

19
Q

How many bits are there in an IPv6 address?

A

128 bits expresses in eight groups of four hexadecimal nibbles (half bytes).
2001:0db8:0000:0010:0000:0000:0000:0001

20
Q

What are the rules for simplifying an IPv6 address?

A
  1. Remove all leading zeros from groups.
  2. Replace one or more conecutive groups of zeros with a double colon (::)
  3. When including a port number with an IPv6 address always wrap the IP address portion in [] to avoid the port being confused with the address. (i.e. [2001:db8:0:10::1]:80
21
Q

What does Red Hat recomend as tips for simplifying consistantly readable IPv6 addresses?

A
  • Supress leading zeros in a group.
  • Use a two-colon (::) block to shorten the address as much as possible.
  • If an address contains two seperate sections of two or more groups with all zeros, reduce the leftmost section to :: and the rightmost section to :0: for each group. (i.e. shorten 2001:0000:0000:0000:0db8:0000:0000:0000 to 2001::0db8:0:0:0
  • Although it is allowed, do not use :: to shorten a single group of zeros (:0000:). Use :0: instead and leave :: for multiple groups of all zeros.
  • Always use lowercase letters for hexadecimal characters.
22
Q

In an IPv6 address, how many bits represent the network protion and the interface portion of the address?

A

64 bits each.

23
Q

What is the typical IPv6 address for a localhost?

A

::1/128

24
Q

What is the IPv6 network address reserved for multicast?

A

ff00::/8

25
Q

What is the IPv6 network address reserved for link-local addresses?

A

fe80::/10

26
Q

What is an IPv6 link-local address?

A

An unroutable address that the system uses to talk to other systems on the same network link.

27
Q

What are the two methods of IPv6 dynamic address configuration?

A

DHCPv6 and SLAAC (StateLess Address AutoConfiguration)

28
Q

In what file does Linux store the hostname to IP address information for name resolution?

A

/etc/hosts