Chapter 6 TCP/IP Basics Flashcards

1
Q

What layer does IPv4. IPv6 and ICMP work on

A

Layer 3 Network layer

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

What does the protocol ICMP (Internet Control Message Protocol) do

A

handles IP error reporting and diagnostics

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

How does a sender and receiver acknowledge each other over TCP

A

by using the 3 way handshake SYN, SYN-ACK, and ACK

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

What port does IMAP4 use

A

port 143

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

Where is the source port number stored at

A

Inside the IP packet

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

What are the parts of a TCP header

A

Source port , Destination port, Sequence number, and ack number

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

What are the parts of a udp header

A

Source port, Destination port, length, and checksum

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

What does UDP stand for

A

User datagram protocol

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

What are the two most common UDP networking protocols

A

(DNS) Domain Name System and (DHCP) Dynamic Host Config Protocol

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

Which protocol chops up data into segments at the transport layer TCP or UDP

A

TCP, UDP just gets a header

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

What is ARP (Address Resolution Protocol)

A

A protocol that resolves Ip addresses to a ethernet MAC address

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

What is the range for a Class A IP address

A

1 - 126

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

What is the range for a Class B address

A

128 - 191

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

What is the range for a class C Ip address range

A

192 - 223

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

What is the range for a class D ip address

A

224 - 239

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

What is the range for a class E ip address range

A

240 - 255

17
Q

What (CIDR) Classless Inter-Domain Routing

A

The process of taking a Class of Ip addresses and chopping it up into multiple smaller groups called subnets

18
Q

What is the loopback address for IPv6

A

::1:

19
Q

What is the address for APIPA

A

169.254.XX.XX

20
Q

What is the Linux command to enter Ip information on Unix / Linux systems

A

ip addr add (ip-address) dev eth1

21
Q

What is DORA (Discover Offer Request and Acknowledgement

A

The process in which a DHCP server gives out ip addresses

22
Q

What port does DHCP servers use

A

UDP port 67

23
Q

What port does DHCP clients use

A

port 67

24
Q

What are the three requirements for a DHCP server to work

A
  • A pool of legitimate IP addresses that it can pass out to clients
  • It needs to know the subnet mask for the network
  • It needs to know the ip address for the default gateway for the network
25
Q

What is a DHCP scope

A

A range or pool of Ip addresses

26
Q

What is a IP helper address

A

The ip address of the real DHCP server

27
Q

what is the command to reestablish a lease to a DHCP server

A

ipconfig /renew

28
Q

what is the command to get rid of an ip address lease

A

ipconfig /release

29
Q

What are the commands to release and renew an ip address lease on Mac and Linux

A

eht0 down and eth0 up

30
Q

What is a DHCP failover

A

two dhcp servers work together to provide DHCP for a network