Explanining the TCP/IP Transport Layer and Application Layer Flashcards

1
Q

Is the process by which an IP host is able to support multiple sessions simultaneously and manage the individual traffic streams over a single link. A session is created when a source machine needs to send data to a destination machine.

A

Session Multiplexing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  • Detection and retransmission of dropped packets
  • Detection and remediation of duplicate or out-of-order data
  • Avoidance of congestion in the network
A

TCP reliability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  • Web browsers
  • Email
  • FTP
  • Network printing
  • Database transactions
A

Common applications that use TCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  • Domain Name System (DNS)
  • Voice over IP (VoIP)
  • TFTP
A

Common applications that use UDP

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

Calling port number (16 bits)

A

Source Port

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

Called port number (16 bits)

A

Destination Port

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

Used for reliability and congestion avoidance (32 bits each)

A

Sequence Number and Acknowledgment Number

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

Size of the TCP header (4 bits)

A

Header Length

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

For future use (3 bits)

A

Reserved

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

Control bits (9 bits

A

Flags

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

Enables the receiver to demonstrate to the sender that segments are being acknowledged.

A

Nonce Sum (NS)

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

Acknowledge that the congestion-indication echoing was received

A

Congestion Window Reduced (CWR)

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

Indication of congestion

A

Explicit Congestion Notification Echo (ECE)

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

This data should be prioritized over other data.

A

Urgent (URG)

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

Used for acknowledgment

A

Acknowledgment (ACK)

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

Indicates that application data should be transmitted immediately and not wait for the entire TCP segment

A

Push (PSH)

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

Indicates that the connection should be reset

A

Reset (RST)

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

Synchronize sequence numbers

A

Synchronize (SYN)

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

Indicates there is no more data from sender

A

Finish (FIN)

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

Window size value, used for flow control (16 bits)

A

Window size

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

Calculated checksum from a constructed pseudo header (containing the source address, destination address, and protocol from the IP header, TCP segment length, and reserved bits) and the TCP segment (TCP header and payload) for error-checking (16 bits)

A

Checksum

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

If the URG flag is set, this field is an offset from the sequence number indicating the last urgent data byte (16 bits)

A

Urgent Pointer

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

The length of this field is determined by the data offset field (from 0 to 320 bits)

A

Options

24
Q

Upper-layer protocol (ULP) data (varies in size)

A

Data

25
Q

FTP is a reliable, connection-oriented service that uses TCP to transfer files between systems that support FTP. FTP supports bidirectional binary and ASCII file transfers. Besides using port 21 for exchange of control, FTP also uses one additional port, 20 for data transmission.

A

FTP (port 21, TCP)

26
Q

Secure Shell (SSH) provides the capability to remotely access other computers, servers, and networking devices. SSH enables a user to log in to a remote host and execute commands. SSH messages are encrypted.

A

SSH (port 22, TCP)

27
Q

Telnet is a predecessor to SSH. It sends messages in unencrypted cleartext. As a security best practice, most organizations now use SSH for remote communications.

A

Telnet (port 23, TCP)

28
Q

Hypertext Transfer Protocol (HTTP) defines how messages are formatted and transmitted and which actions browsers and web servers can take in response to various commands. It uses TCP.

A

HTTP (port 80, TCP)

29
Q

Hypertext Transfer Protocol Secure (HTTPS) combines HTTP with a security protocol (Secure Sockets Layer [SSL]/Transport Layer Security[TLS]).

A

HTTPS (port 443, TCP)

30
Q

DNS is used to resolve Internet names to IP addresses. DNS uses a distributed set of servers to resolve names that are associated with numbered addresses. DNS uses TCP for zone transfer between DNS servers and UDP for name queries.

A

DNS (port 53, TCP, and UDP)

31
Q

TFTP is a connectionless service. Routers and switches use TFTP to transfer configuration files and Cisco IOS images and other files between systems that support TFTP.

A

TFTP (port 69, UDP)

32
Q

SNMP facilitates the exchange of management information between network devices. SNMP enables network administrators to manage network performance, find and solve network problems, and plan for network growth.

A

SNMP (port 161, UDP)

33
Q

When a user is browsing the web, a browser sends a HTTP request to get the (HTML) document that represents the page.

A

Hyper Text Markup Language (HTML)

34
Q

Dynamic allocation of IPv4 addresses is the most common type of address assignment. As devices boot and activate their Ethernet interfaces, the DHCP client service triggers a DHCP Discover broadcast that includes the Media Access Control (MAC) address of the DHCP client.

A

Dynamic allocation

35
Q

Automatic allocation of IPv4 addresses is very similar to dynamic allocation, except that the lease time is set to never expire. This setting results in the DHCP client always being associated with the same IPv4 address.

A

Automatic allocation

36
Q

Static allocation is an alternative that is generally used for devices such as servers and printers, where the device needs to keep the same IPv4 address configuration permanently. A static entry is made in the DHCP database that maps the MAC address to an IPv4 address.

A

Static allocation

37
Q

The DHCP client boots up and sends this message on its local physical subnet to the subnet’s broadcast (destination IPv4 address of 255.255.255.255 and MAC address of ff:ff:ff:ff:ff:ff), with a source IPv4 address of 0.0.0.0 and its MAC address.

A

DHCP Discover

38
Q

The DHCP server responds and fills the yiaddr (your IPv4 address) field of the message with the requested IPv4 address. The DHCP server sends the DHCP Offer to the broadcast address, but includes the client’s hardware address in the chaddr (client hardware address) field of the offer, so the client knows that it is the intended destination.

A

DHCP Offer

39
Q

The DHCP client may receive multiple DHCP Offer messages, but chooses one and accepts only that DHCP server’s offer, implicitly declining all other DHCP Offer messages. The client identifies the selected server by populating the Server Identifier option field with the DHCP server’s IPv4 address. The DHCP Request is also a broadcast, so all DHCP servers that sent a DHCP Offer will receive it, and each will know whether it was accepted or declined. Even though the client has been offered an IPv4 address, it will send the DHCP Request message with a source IPv4 address of 0.0.0.0.

A

DHCP Request

40
Q

The DHCP server acknowledges the request and completes the initialization process. DHCP ACK message has a source IPv4 address of the DHCP server, and the destination address is once again a broadcast and contains all the parameters that the client requested in the DHCP Request message. When the client receives the DHCP ACK, it enters into the Bound state, and is now free to use the IPv4 address to communicate on the network.

A

DHCP ACK

41
Q

Command should be issued on the interface where the DHCP broadcasts are received.

A

ip helper-address address

42
Q

Defines addresses in the DHCP pool. Optionally, defines a subnet mask or prefix length to define the network part.

A

network network-number [mask | prefix-length]

43
Q

Specifies the IP address of the default router for a DHCP client.

A

default-router address

44
Q

Specifies the IP address of a DNS server.

A

dns-server address

45
Q

Specifies the domain name for the DHCP client.

A

domain-name domain

46
Q

Specifies the duration of the lease. The default is a one-day lease.

A

lease {days [hours] [minutes] | infinite}

47
Q

You can also exclude the range of IPv4 addresses from the DHCP assignment, by using the

A

ip dhcp excluded-address ip-address [last-ip-address]

48
Q

To configure the DHCP server on a router, you should enter the DHCP pool configuration mode using the

A

ip dhcp pool name

49
Q

Specify that the interface will forward UDP broadcasts, including BOOTP and DHCP, to the specified server address.

A

ip helper-address address

50
Q

This option displays the complete TCP/IP configuration for all adapters, including DHCP and DNS configuration.

A

/all

51
Q

Command displays only the IP address, subnet mask, and default gateway values for each adapter. Adapters can represent physical interfaces, such as installed network adapters, or logical interfaces, such as dial-up connections.

A

ipconfig

52
Q

This option renews DHCP configuration for all adapters (if an adapter is not specified) or for a specific adapter if the adapter parameter is included.

A

/renew [adapter]

53
Q

This option sends a DHCPRELEASE message to the DHCP server to release the current DHCP configuration and discard the IP address configuration for either all adapters (if an adapter is not specified) or for a specific adapter if the adapter parameter is included.

A

/release [adapter

54
Q

This option displays the contents of the host DNS cache. When an IP host makes a DNS query for a hostname, it caches the result to avoid unnecessary queries.

A

/displaydns

55
Q

This option deletes the host DNS cache. This option is useful if the IP address that is associated with a hostname has changed, but the host is still caching the old IP address.

A

/flushdns

56
Q

This option displays help at the command prompt

A

/?