TCP/IP model Flashcards

1
Q

Protocols and Applications of Application Layer

A

Telnet, HTTPS, SSH, NTP, FTP, DNS, TFTP, DHCP/BootP, SNMP, APIPA, HTTP

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

What is Telnet

A

Telephone Network: Be able to run programs on another device

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

What is SSH

A

Secure Shell: Same as Telnet but it is encrypted where Telnet is in clear text

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

What is FTP

A

File Transfer Protocol: Sends and receive files using TCP

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

What is TFTP

A

Trivial FTP and it uses UDP.

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

What is SNMP

A

Simple Network Management Protocol: Allows us to monitor our network. Uses something called a Network Management Station to gather information about network hosts

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

What is HTTP and HTTPS

A

Hypertext Transfer Protocol (Secure): Allows us to view webpages

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

What is NTP

A

Network Time Protocol: Allows us to keep the time synchronized through out our network

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

What is DNS

A

Domain Name Services: Allows us to resolve human names to IP addresses

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

What is DHCP

A

Dynamic Host Configuration Protocol: Allows us to receive IP information on a host. Also assigns automatic IP addresses.

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

What is APIPA

A

Automatic Private IP Addressing: Created by Microsoft. Give us link local address. If device cant get dhcp and no static address is assigned, device will assign itself a 169254 address and thats owned by microsoft.

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

What does the TCP header have

A

Source and Destination port (16 bits each)
Sequence and Acknowledgement number (32 bits each)
Header, Reserved, Flags (4 bits each)
Window size/flow control (16 bits)
TCP Checksum (16 bit)
Urgent pointer(16 bit)

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

What does UDP header have

A

Source Port, Destination Port, UDP length, UDP checksum (All 16 bit each). Data (32 bit)

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

When should TCP be used

A

Email, File Sharing, Downloading, SSH, Telnet, HTTP, HTTPS, DNS

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

When should UDP be used

A

Voice and Video Streaming, DNS, TFTP, SNMP

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

FTP Port number

A

21

17
Q

SSH Port Number

A

22

18
Q

Telnet Port Number

A

23

19
Q

HTTP Port Number

A

80

20
Q

HTTPS Port Number

A

443

21
Q

DNS Port Number

A

53

22
Q

TFTP Port Number

A

69

23
Q

SNMP Port Number

A

161

24
Q

How many bits are in IPv4 Address

A

32 bits

25
Q

Class A range

A

0-127.
First Bit in First Octet is 0.
0 is reserved for Cisco
127 is reserved for loopback

26
Q

Class B range

A

128-191.

First 2 bits in the first octet must be 10

27
Q

Class C range

A

192-223.

First Three bits must be 110

28
Q

Private IPv4 Addresses

A

Class A -> 10.0.0.0 to 10.255.255.255
Class B -> 172.16.0.0 to 172.31.255.255
Class C -> 192.168.0.0 to 192.168.255.255