Lesson 5 TCP IP Addressing Flashcards

(57 cards)

1
Q

TCP IP protocol suite defines what

A

how applications on separate nodes establish and track connections

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

Why was TCP IP developed

A

To allow the addition of hardware and create a more flexible architecture

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

TCP stack has how many layers

A

Four

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

What are the TCP stack layers

A

Application
Transport
Internet
Network Access

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

Compare the OSI model to the TCP model

A

d

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

Which TCP layer adds a trailer during encapsulation

A

Network Access

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

Which TCP layers add a header during encapsulation

A

Application
Transport
Internet

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

Describe a connection-oriented protocol

A

The connection must be established before data is sent

TCP

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

Describe a connection-less protocol

A

The connection does not need to be established before data is sent

UDP

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

Connection-oriented protocols have how many stages

A

Three

  1. Connection is established and parameters are negotiated
  2. Devices transfer data
  3. Connection is released and torn down
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Do connection-less protocols have stages for connections

A

No

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

Can connection-oriented protocols work in uni direction or bir directional environments

A

Bi-direction only

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

What are the two TCP/IP transport layer protocols

A

TCP and UDP

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

Name a transport protocol

A

TCP and UDP

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

TCP does what to a datagram

A

breaks them down into smaller segments

Reassembles them

Waits for acknowledgement of received data

Retransmits them if necessary

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

Describe the three-way handshake

A

SYN

SYN-ACK

ACK

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

What must happen before a client can establish an active connection

A

The server must perform an passive open then the client can perform an an active open

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

SYN

A

Client sends a syn packet to the serve with a sequence number

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

Are the three way handshake sequence numbers random

A

Yes – The number is random value A

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

SYN-ACK

A

The server sends a syn-ack to the client with a sequence number with a value of A+1

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

ACK

A

The client send a ack to the server with a sequence number of B+1

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

Describe UDP

A

User Datagram Protocol

Connectionless Protocol

Best effort deliverary protocol

Smaller header than TCP therefore it means faster more effcient delivery

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

What uses UDP

A

VOIP
Streaming real-time video
Network management applications

24
Q

When performance is more important than delivery which protocol should you use UDP or TCP

25
IP works at which OSI layer
Layer 3
26
Describe IP
It is a connection-less protocol Works as an intermediary between network and higher protocols
27
IP makes no guarantee of
Packet delivery Corruption of data or lost packets
28
IP works with TCP or UDP
True
29
When TCP is used with IP, which one gurantees deliverary and the connection
TCP = deliverary IP = connection
30
Describe ICMP
Used with IP to report the condition of connections between two nodes ICMP reports errors Connectionless Works at layer 3
31
When a nodes buffler is being flooded, what happens
The node sends an ICMP source quench signal to the transmitting node
32
ICMP Destination Unreacheable Means
Destination cannot be contacted
33
ICMP Echo and Echo Reply are used when
Pinging a system
34
Is ICMP traffic usually blocked on the network
Yes
35
Name the IP protocols
``` UDP TCP IGMP ICMP ARP ```
36
Describe IGMP
Supports multicasting OPerates at Layer 3 Provides one to many communications
37
IGMP is best for what
Streaming videos or deploying images to multiple systems
38
Describe ARP
Address Resolution Protocol Maps IP address to a physical or MAC address Works at Layer 2 of the OSI but encapsulated by an Ethernet header
39
How does ARP work
It receives an address from IP If it knows the MAC address for that IP it will send it. If it doesn't know the MAC address, it will send out a broadcast to resolve the IP address. The node with that IP address will send a unicast transmission with its MAC address
40
Protocol Analyzer are also called
Network analyzer
41
Protocol analyzers can look at packets at which OSI layers
Physical Data Network Transport
42
Can a protocol analyzer look at all channels on a wireless network at one time
NO
43
Can a protocol analyzer look at the complete wired network at one time
Yes or it can look at certain segments
44
What are some uses of protocol analyzers
Detecting network intrusions Analyzing network traffic patterns and potential problems Monitoring network usage and performance factors Filtering undesirable network traffic Launching an eavesdropping attack
45
Protocol Analyzers can be software or hardware
Yes
46
What do protocol analyzers need in order to capture all packets
Analyzers must have a network adapter Analyzers must be placed in promiscuous mode
47
How can you decrease the number of ACKs on a TCP/IP network
Increase the PDU size
48
Administrators must configure what on a TCP/IP network
Default Gateway Subnet mask IP address
49
IP V4 address have how many bits
32
50
IPV6 addresses have how many bits
128
51
IP addresses are shown as
Dotted Decimals
52
What is a subnet mask
A number assigned to each host for dividing the IP address into network and node potions
53
First Octet from 1-127 has a default Subnet Mask of
255.0.0.0
54
First Octet from 128 -191 has a default Subnet Mask of
255.255.0.0
55
First Octet from 192-223 has a default Subnet Mask of
255.255.255.0
56
Are these subnet masks permitted 255. 0.0.0 255. 255.0.0 255. 255.255.0 255. 255.128.0 255. 255.255.244
Yes
57
Are these subnet masks permitted 255. 0.255.0 255. 255.292.255 255. 240.254.0 255. 255.0.192
No