IP Protocols and Traffic Types
- 58Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is Generic Routing Encapsulation (GRE), and what kind of traffic can it carry?
58 questions
- 1
What is Generic Routing Encapsulation (GRE), and what kind of traffic can it carry?
Model answer
GRE is a Cisco-developed tunneling protocol that encapsulates a wide variety of network-layer protocols inside virtual point-to-point connections. It can also transport multicast traffic.
Explanation
GRE creates a tunnel between endpoints and can carry different network-layer protocols, including multicast traffic.
- 2
How does GRE create connectivity between two sites over a public network, and does GRE encrypt the traffic by itself?
Model answer
GRE encapsulates traffic in IP packets to create a tunnel between two endpoints across a public network. GRE has no built-in encryption.
Explanation
The tunnel makes the endpoints appear directly connected, but encryption requires an additional security mechanism, often IPsec.
- 3
Why is GRE often used together with IPsec?
Model answer
GRE supports flexible tunneling, including multicast and different protocols, while IPsec can encrypt the traffic to make the connection secure.
Explanation
GRE alone does not encrypt traffic, so combining it with IPsec adds security to the tunnel.
- 4
How much overhead does GRE add, and what can be used to reduce the effect of that overhead on payload?
Model answer
GRE adds 24 bytes of overhead. Jumbo frames can help ensure that the overhead does not reduce the effective payload.
Explanation
The larger frame payload can accommodate the additional GRE headers.
- 5
What is a jumbo frame, and how does its payload size compare with a standard Ethernet MTU?
Model answer
A jumbo frame is an Ethernet frame with a payload larger than the standard MTU of 1,500 bytes. It can typically carry up to 9,000 bytes of payload, depending on hardware and configuration.
Explanation
Jumbo frames increase the amount of payload carried in each frame and may improve efficiency and performance.
- 6
What is a VPN, and what does it allow a user to do over a public network?
Model answer
A VPN is a secure, encrypted connection that extends a private network over a public network. It lets users access data and resources as though their devices were directly connected to the private network.
Explanation
A VPN can provide remote access to a server or organizational resources across the internet.
- 7
What does the term VPN tunnel refer to?
Model answer
A VPN tunnel is the protected pathway between a user’s device and a VPN server through which data travels securely across the internet.
Explanation
The tunnel shields traffic from outside observation and potential interception.
- 8
Name four functions or benefits of a VPN described in the content.
Model answer
A VPN encrypts data in transit, improves privacy by hiding an IP address and online activity, enables secure remote access to private networks, and can bypass some censorship or geographic restrictions.
Explanation
These functions protect traffic and provide access to network resources or region-restricted services.
- 9
What is a VPN concentrator, and why might an organization use one?
Model answer
A VPN concentrator is a specialized network device that handles many simultaneous VPN connections. Organizations use it to let remote users securely access the corporate network.
Explanation
It functions like a specialized router or firewall optimized to manage multiple VPN tunnels.
- 10
How does an always-on VPN differ from a traditional VPN connection?
Model answer
An always-on VPN is established and maintained automatically, often in response to login or network changes. A traditional VPN generally requires users to connect and disconnect manually.
Explanation
Automatic management makes secure remote access more seamless and helps keep traffic protected when the device is connected.
- 11
What security and device-management advantages can an always-on VPN provide?
Model answer
It can keep internet traffic encrypted and protected while the device is connected, and it can make the computer available for updates, software installations, and configuration changes.
Explanation
A persistent connection supports both ongoing security and remote management.
- 12
How does a remote-access VPN differ from a site-to-site VPN?
Model answer
A remote-access VPN connects an individual user to a private network from a remote location. A site-to-site VPN securely connects two or more networks, such as company locations.
Explanation
The distinction is whether the connection is primarily for a user or between networks.
- 13
What are internet-based VPNs and extranet VPNs used to connect?
Model answer
An internet-based VPN provides secure internal access within an organization’s premises. An extranet VPN allows external clients to access an organization’s network securely.
Explanation
These VPN types differ by whether they serve internal access or secure access for external clients.
- 14
What does a cloud VPN provide, and how do client-cloud and network-cloud VPNs differ?
Model answer
A cloud VPN securely connects users or networks to cloud-based environments. A client-cloud VPN connects remote workers to a company’s cloud, while a network-cloud VPN connects different cloud environments.
Explanation
The two types differ in whether the connection is from a user or between cloud networks.
- 15
How does an SSL VPN create a secure connection, and what can make it easier to deploy?
Model answer
An SSL VPN uses SSL or TLS encryption to create a secure tunnel over the internet. It often requires no specialized client software.
Explanation
Avoiding dedicated client software can simplify setup and use.
- 16
What happens to internet traffic when a VPN provider offers a double VPN feature?
Model answer
Traffic is routed through two separate VPN servers, adding another layer of privacy and security and making activity or location harder to track.
Explanation
The traffic passes through two VPN connections rather than one.
- 17
An employee working from home needs secure access to company resources. Which VPN type best fits this situation?
Model answer
A remote-access VPN best fits because it allows an individual user to connect securely to a private network from a remote location.
Explanation
Remote-access VPNs are commonly used by employees working from home or while traveling.
- 18
A company wants to connect its separate offices securely. Which VPN type is most appropriate, and why?
Model answer
A site-to-site VPN is appropriate because it establishes secure connections between two or more networks at different locations.
Explanation
This VPN type connects networks rather than providing access for only one remote user.
- 19
At which OSI layer does IPsec operate, and what security properties can it provide for IP packets?
Model answer
IPsec operates at Layer 3, the network layer, and can provide authentication, data integrity, and confidentiality for IP packets.
Explanation
It is a framework of protocols used to secure communications across IP networks.
- 20
Besides VPN connections, where can IPsec be used to secure communications?
Model answer
IPsec can secure communications between different types of devices, data transmissions across networks including local area networks, and remote access in SD-WANs.
Explanation
Its use is not limited to conventional VPN connections.
- 21
How can IPsec protect routing data sent across the public internet?
Model answer
IPsec can encrypt application-layer data and protect routers sending routing data across the public internet.
Explanation
IPsec can be applied to protect both data and network-related communications.
- 22
What does IPsec authentication without encryption establish?
Model answer
It verifies that data originates from a known sender, but it does not keep the data confidential through encryption.
Explanation
Authentication confirms the source; encryption is needed to conceal the data.
- 23
What is the main difference between IPsec transport mode and tunnel mode?
Model answer
Transport mode protects end-to-end communication by encrypting the data payload while leaving the original IP header unchanged. Tunnel mode encrypts the entire original packet and sends it through a virtual tunnel.
Explanation
Transport mode is suited to host-to-host communication, while tunnel mode is commonly used between servers or gateways.
- 24
Which IPsec mode is used for end-to-end communication, such as between a client and a server?
Model answer
Transport mode is used for end-to-end communication, such as between a client and a server.
Explanation
In transport mode, the payload is encrypted while the original header remains unchanged.
- 25
Which IPsec mode is commonly used for server-to-server, server-to-gateway, or gateway-to-gateway configurations?
Model answer
Tunnel mode is used for these configurations and creates a virtual path between the source and destination.
Explanation
Tunnel mode encrypts the entire original packet as it travels through the tunnel.
- 26
What security services does Encapsulating Security Payload (ESP) provide?
Model answer
ESP provides data integrity, encryption, authentication, and anti-replay protection.
Explanation
ESP is the IPsec protocol that provides confidentiality through encryption as well as other protections.
- 27
What security services does Authentication Header (AH) provide, and what important service does it lack?
Model answer
AH provides data integrity, authentication, and anti-replay protection, but it does not provide encryption or confidentiality.
Explanation
Because AH does not encrypt data, it does not conceal the packet’s contents.
- 28
Why is AH rarely used compared with ESP?
Model answer
AH is rarely used because it does not provide encryption or confidentiality, whereas ESP can encrypt the payload.
Explanation
Encryption is an important security requirement in many IPsec uses.
- 29
Which IPsec protocol should be used when the transport header and data need to be encrypted?
Model answer
ESP should be used because it provides encryption and confidentiality for the payload.
Explanation
Authentication alone does not encrypt packet contents; ESP provides that protection.
- 30
How can ESP and AH be combined, and what security can the combination provide?
Model answer
ESP and AH can be combined to provide authentication, integrity, and anti-replay protection for the entire packet, along with confidentiality for the payload.
Explanation
The combination uses AH’s packet-level protections and ESP’s encryption for payload confidentiality.
- 31
What protection does AH with ESP in transport mode provide, and what are its endpoint limits?
Model answer
AH with ESP in transport mode provides strong end-to-end protection. That protection applies between the endpoints, not beyond them.
Explanation
Transport mode protects the communication between the endpoints while leaving the original IP header unchanged.
- 32
What protection does AH with ESP in tunnel mode provide, and where does that protection apply?
Model answer
AH with ESP in tunnel mode provides strong gateway-to-gateway protection. The protection does not extend to traffic before the first gateway or after the second gateway.
Explanation
The gateways encrypt and decrypt the original packet as it enters and leaves the tunnel.
- 33
What is a security association (SA) in IPsec?
Model answer
An SA is a set of agreements between two entities defining how they will communicate securely, including parameters such as encryption and authentication algorithms.
Explanation
An SA establishes the security parameters for a protected communication channel.
- 34
Why does bidirectional IPsec communication require two IPsec SAs?
Model answer
IPsec SAs are unidirectional, so one SA is needed for sending traffic and another for receiving traffic.
Explanation
Each SA describes security parameters for traffic flowing in one direction only.
- 35
How do an IKE SA and an IPsec SA differ?
Model answer
An IKE SA sets up the secure channel used for negotiation, while IPsec SAs provide encryption and authentication for the actual data tunnel.
Explanation
The IKE SA supports negotiation; the IPsec SAs protect data traffic.
- 36
What is the purpose of ISAKMP in secure communications?
Model answer
ISAKMP provides a general structure for managing security associations and key exchange, including authentication and key generation.
Explanation
It defines procedures and formats for establishing, negotiating, modifying, and deleting SAs.
- 37
How can the relationship between ISAKMP and IKE be summarized?
Model answer
ISAKMP defines what the key exchange process involves, while IKE defines how that process is carried out.
Explanation
ISAKMP supplies the framework, and IKE performs negotiation and key exchange within that framework.
- 38
What is IKE designed to do when setting up IPsec communications?
Model answer
IKE dynamically exchanges encryption keys without sending the keys across the network and builds SAs for secure communication.
Explanation
The resulting SAs define the security parameters used for protected communications.
- 39
What are the main roles of IKE during connection setup?
Model answer
IKE negotiates security policies and algorithms, mutually authenticates the peers, and exchanges cryptographic keys.
Explanation
These steps establish trusted peers and the settings and keys needed for a secure connection.
- 40
How does Diffie–Hellman allow two peers to derive a shared secret without transmitting their private keys?
Model answer
Each peer uses its private key and the other peer’s exchanged public key to calculate the shared secret. The private keys are never transmitted.
Explanation
An observer may see the public keys but cannot readily obtain the private keys or shared secret.
- 41
Which version of IKE is identified as the preferred choice, and why?
Model answer
IKE version 2 is preferred because it improves speed, security, and efficiency.
Explanation
The content identifies IKEv2 as the primary and preferred version.
- 42
What Microsoft-specific features are described for its implementation of IKEv2?
Model answer
Microsoft’s implementation can generate its own VPN tunnel, support Active Directory, smart cards, and Azure AD extensions, and allow mobile devices to transition between networks. It also supports multiple simultaneous points of attachment and always-on and automatic connections.
Explanation
The content distinguishes this Microsoft implementation from IPsec IKEv2 and lists its enterprise and mobility features.
- 43
Which UDP port does IKE use during the initial security-association negotiation?
Model answer
IKE uses UDP port 500.
Explanation
The port is used in the first phase, when IKE establishes a secure negotiation channel between peers.
- 44
What happens during IKE Phase 1 of IPsec setup?
Model answer
IKE Phase 1 establishes a secure negotiation channel between the peers and creates an IKE SA.
Explanation
The IKE SA supports the later negotiation of parameters for protecting data.
- 45
What happens during IKE Phase 2 of IPsec setup?
Model answer
IKE Phase 2 negotiates data-protection parameters, including keys and cryptographic settings, and creates one IPsec SA for each direction.
Explanation
It also establishes whether ESP, AH, or both will be used and how the data will be protected.
- 46
What determines how data is protected during the information-exchange stage of an IPsec tunnel?
Model answer
Data protection is determined by the selected ESP and/or AH protocols and the IPsec mode, transport or tunnel.
Explanation
The protocol choice determines the available security services, while the mode determines how packets are protected.
- 47
What happens when an IPsec SA expires?
Model answer
An IPsec SA can expire based on time or data volume; when needed, IKE negotiates new keys and SAs.
Explanation
Rekeying renews the security parameters used to protect the tunnel.
- 48
How is an IPsec tunnel terminated in the connection lifecycle?
Model answer
The IPsec tunnel is terminated after its protected communication ends.
Explanation
Termination is the final stage of the described IPsec tunnel lifecycle.
- 49
What is ICMP used for, and which network devices commonly use it?
Model answer
ICMP is used for network diagnostics, error reporting, and operational queries. Routers and firewalls commonly use it to report transmission issues and operational information.
Explanation
ICMP messages help communicate network conditions and problems.
- 50
Which protocol do Ping and Traceroute use, and what can these tools assess?
Model answer
Ping and Traceroute use ICMP packets to assess connectivity, latency, and routing information.
Explanation
These commands use ICMP to test reachability and examine aspects of a network path.
- 51
What is unicast traffic, and give an example of its use.
Model answer
Unicast is one-to-one communication in which one host sends directly to another. Connecting to or pinging a single server is an example.
Explanation
The communication is directed from one host to one destination host.
- 52
What is broadcast traffic, and what is an important limitation on how it travels?
Model answer
Broadcast is one-to-all communication in which one host sends information to all nodes. Broadcast traffic typically does not pass through routers.
Explanation
A public-address system is an analogy for sending one message to all recipients at once.
- 53
What is multicast traffic, and name a protocol that uses multicasting.
Model answer
Multicast is communication in which one host sends to many selected hosts simultaneously. Internet Group Management Protocol (IGMP) is one protocol that uses multicasting.
Explanation
Multicast delivers traffic to a group of recipients rather than to just one host or every node.
- 54
Name three applications or services for which multicast can be used.
Model answer
Multicast can be used for Internet Protocol television, real-time streaming media, and video conferencing.
Explanation
These applications can send the same content to multiple recipients simultaneously.
- 55
What is anycast, and how does a network choose which destination to reach?
Model answer
Anycast uses a single IP address available in multiple locations, and the network routes traffic to the nearest or otherwise most optimal host based on factors such as routing cost, distance, latency, or congestion.
Explanation
Anycast is often described as one-to-one-of-many because the sender targets one address shared by multiple possible hosts.
- 56
Why might a service use anycast for DNS or other globally distributed services?
Model answer
Anycast can direct users to a nearby or optimal server, helping reduce latency and support load balancing and high availability.
Explanation
If one destination does not respond, the network can route to another suitable destination using the same anycast address.
- 57
A host communicates directly with one other host. Which traffic type is being used?
Model answer
Unicast.
Explanation
Unicast is one-to-one host communication.
- 58
A DNS service directs a request to a server using one shared IP address at multiple locations, selecting a nearby server. Which addressing method is this?
Model answer
Anycast.
Explanation
Anycast directs traffic addressed to a shared IP address to an appropriate host among multiple locations.

Ask anything
We've read this whole study set, so questions about it get the best answers.