1. Home
  2. Explore
  3. Computer Science
  4. IP Protocols and Traffic Types

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

IP Protocols and Traffic Types

Transcript

Hi, I'm Patrick Regan. Welcome to TCP/IP, Part IV, Internet Protocol Types. This video is a continuation of the last two videos where we discussed the common protocols found in the TCP/IP protocol suite, and this will complete the CompTIA Network Plus 1.4 objective. This video covers ICMP, GRE, and IPsec. It also covers traffic types, including unicast, multicast anycast and broadcast.

Generic Routing encapsulation, or GRE, is it tunneling protocol developed by Cisco that it can encapsulate a wide variety of network layer protocols inside virtual point-to-point connections. GRE is used to create a private point-to-point connection across the public network such as the internet. It encapsulates traffic inside of the internet, protocol packet, where two end points are prepared to be directly connected to each other. Basically, it's a tunnel between two end points with no built-in encryption. It's often used to conjunction with IPsec to create secure VPNs. There is a ability to transport multicast traffic and support different protocols make it a valuable tool and modern networking. We are well added additional 24 bytes overhead, but you can use jumbo frames to ensure the GRE overhead is not a fake payload. A jumbo frame is an

ethernet frame with a payload larger than the standard maximum transmission unit, where Mtu and 1,500 bytes, which usually leads an increase in efficiency and higher performance. Jumbo frames can typically carry up to 9,000 bytes of payload, although the exact maximum size can vary depending on the network hardware and configuration. A virtual private network or VPN is a secure encrypted connection that extends a private network over a public network that is the internet. It allows users to send you received data as if the devices are directly connected to a private network or to have a direct connection to server, just as if they were connected locally. You connect to a server directly, you can manage the server or you can use it as a jump box to other servers or devices.

A tunnel refers to the secure encrypted pathway, ready between your device and a VPN server, ensuring your data travels privately and securely across the internet. Think of it as a private protected pipeline where your internet traffic is shielded from prionized and potential interception. He functions of a VPN include encryption where VPN encrypts data and transit, preventing third parties from raiding or tapping with it. Privacy, high-dripe address and online activities from your ISP and other observers. Remote access lets you to secure the access to private network like a company's internal systems from a remote location. And lastly, bypass censorship or geo restrictions by allowing access to region-restricted websites and services by masking your IP address.

VPN can be deployed with specialized cryptographic hardware or software. If VPN concentrator is a hardware network and device that enables multiple simultaneously VPN connections through a single network. It's essentially a specialized router or firewall that handles many VPN tunnels efficiently. It is often used by organizations to allow remote users to securely access their corporate network. And always on VPN is a type of VPN connection that is automatically established and maintained ensuring a constant secure connection to remote network which is different from traditional VPNs which requires users to manually connect and disconnect. The VPN connection is established and maintained automatically, often based on factors like user login or network state changes. Users don't need to manually manage the VPN,

making it seamless for remote work and access to corporate resources. Because this in VPN connection ensures that all internet traffic is encrypted and protected and proven security, and if your computer is on and connected, is available to receive updates, software installs and configuration changes. There are several types of VPNs, categorized by how they are used and the underlying technology they employ. The main types are remote access VPNs, which allows individual users such as employees to securely connect to a private network from a remote location, which are often used by employees working remotely or accessing company resources from home and when they're on the road. By to site VPNs, establish secure connections between two or more networks, often used to connect different physical locations of a company.

Internet-based VPNs provides secure internal access with the organization's premises and extra net VPNs enable external clients who access and organizations network securely. Cloud VPNs provides secure connection between users and a cloud-based network, which can be either client-cloud VPNs, which allow remote workers to connect to the company's cloud or network-cloud VPNs, which connects different cloud environments. As a sale VPNs use SSL or TLS encryption to create secure tunnels over the Internet. This often requires no specific client software, making them easier to set up and use. Double VPN is the feature offered by some VPN providers, where your Internet traffic is routed through two separate VPN servers, which adds an extra layer of privacy and security, making it harder to track your location or activity.

Internet protocol security, or IPsec, is the framework of protocols and a suite of protocols that ensure secure communications across IP networks, which operates at layer 3, or the network layer. Provides authentication, data integrity, and confidentiality, for IP packets, making it a key component of secure virtual private networks or VPN. But can also be used to secure communications between different types of devices and for securing data transmissions of a various networks, even within a local area network.

It's also used in software defined, wide array networks, or SD-WANs for securing remote access. IPsec can be used to do the following, to encrypt application layer data to provide security for router sending routing data across the public internet, provided the indication without encryption, like to authenticate that the data originates from a known sender and to protect network data by setting up circuits using IPsec tunneling, in which all data being sent between the two endpoints is encrypted, as with the virtual private network connection.

IPsec has two modes. Transport mode used to secure end-to-end communications, such as between the client and a server. The data payload is encrypted, but the header data remains unchanged. Federal mode is used for server-to-server, server-to-gateway, or gateway-to-gateway configurations by creating a virtual path that a packet takes from the source computer to a destination computer. When packets are sent along the path, the entire packets are encrypted. Is essentially creating a virtual tunnel that all packets are sent through. IPsec has the following protocols. It capsulating security payload, or ESP, provides data integrity, encryption, authentication,

and anti-replay. It also provides a dedication for payload that's a provides encryption or confidentiality, and the integrity is commonly used in IPsec. Authentication header, or AH, also provides data integrity, authentication, and anti-replay, but does not provide encryption, does not protect data confidentiality. This is not providing encryption or confidentiality. It is rarely used. Anti-replay protection protects against the unauthorized transmission of packets.

ESP and AH can be combined to provide authentication, integrity, and anti-replay for the entire packet and confidentiality for the payload. This slide shows you what happens to the original packet that includes the IP header, transport, layer header, and data. As you can see, regardless of which mode and protocol you use, most of the content is authenticated, which provides where the packet came from, and its integrity, which indicates will show if the packet has been modified, tampered, or corrupted. However, you have to use ESP, or AH-ESP, if you want to transport header and the data to be encrypted. When ESP issues with tunnel mode, basic the packet is encrypted at the gateway, then through the tunnel to the other gateway, and the encrypted when it gets to the other end. The original packet will be sent on its way to its final destination when it leaves the VPN gateway. This is, it was sent locally.

For best protection, AH-ESP in transport mode, provide the best protection from end-to-end, while AH-ESP in tunnel mode vides the best protection from gateway to gateway, but not before after the gateways. When it establishes the IP sector communications, a security association or SA is a established during the first two phases, a security association, or SA, the set of agreements between two entities defining how they will communicate securely. Essentially, establishes a secure channel by defining the security parameters like encryption and a authentication algorithms to be used. IPsec SAs are unidirectional, meaning they describe the security parameters for traffic flow in one direction.

Each IP sec pair requires two essays to establish bidirectional communications, one for sending and one for receiving data. There are two sets of SAs. IKE SA sets up secure communication channels for negotiation and IPS SAs provide the actual data encryption and authentication for the tunnel. Internet security association in key management protocol or ISAKMP provides a general structure for managing security associations and key exchange between two pairs, including authentication and key generation. It defines the procedures and formats for establishing, negotiating, modifying, and deleting SAs, which are agreement set specify how two devices will communicate securely. ISAKMP is commonly used in VPNs and other secure communication systems that set up an encrypted channel.

Internet key exchange or IKE is a network security protocol designed to dynamically exchange encryption keys without sending the keys across the network and to build a security association or essays which will be used to establish security communications channels. Key rolls of IKE include, negotiation where IKE negotiates security policies and algorithms to be used for the secure connection. Identification is where IKE establishes mutual authentication between the two peers, ensuring they are who they claim to be. Key exchange is when IKE exchanges cryptographic keys, ensuring secure communication.

IKE primarily uses IKE version 2, which is the preferred choice to choose improvements in speed, security, and efficiency. The keys are generated and shared using the Diffie-Hellman where both notes calculate the shared secrets based on the exchange public keys in their private keys, making it difficult for each shoppers to intercept and the private keys are never transmitted. Essentially, ISAKMP defines the what of the key exchange process while IKE defines the how.

Note, Microsoft implemented their own version of IKE version 2 that is based on the IPsec IKE version 2. It generates its own VPN tunnel, the ports AAP, Active Directory, SmartCard and Azure ADV extensions, and allows a mobile device to seamlessly transition from one network to another. It supports multiple Simitensity points of attachments, the ports always on VPN, and the ports automatically connection. Don't get the Microsoft IKE version 2 confused with IPsec IKE version 2.

And the steps in IPsec include Step 1, the Security Association, or SA Negotiation, IKE Phase 1, which establishes a secure and then in case you channel between two pairs where it creates an IKE SA. IKE uses UDP Port 500. Step 2, IPsec SA setup, IKE Phase 2, Negotiates parameters to secure the data, including encryption keys, where it creates IPsec SA's one per direction. It establishes the ESP and/or AH protocol, exchange new keys, and cryptographic settings, and sets up how data will be protected.

Step 3, information exchange for the IPsec tunnel based on ASP and/or AH protocols, and IPsec mode, transport versus tunnel. Step 4, Rekey and NSA expiration, IPsec SA's expire based on time, or data volume, and IKE we need to negotiate new keys and essays when needed. Step 5, the IPsec tunnel is terminated. The Internet Control Message Protocol, or its ICMP, is a crucial component of the Internet Protocol suite, used for network diagnostics, error reporting, and operational queries. ICMP is primarily used by network devices like Routers and Firewalls, to send error messages and operational information, to indicate issues with data transmission. When you use the Ping and TraceRoute commands, you're using ICMP packets to assess connectivity, latency, and routing information.

But then the TCP/IP protocol suite packets can be sent to different address types or addressing methods. These addressing methods are sometimes referred to as traffic types. Traffic types is categorized in the Unicast, broadcast, multicast, and anycast. Unicast is where one host sends directly to another host, one to one. When you connect to a single server or you ping a single server, you're using Unicast. Broadcast is where one host sends information to all nodes at once, one to all number to a public address system or PA system. Remember, Broadcast don't typically go through routers. Multicast is where one host sends to many of many host simultaneously. One protocol that uses multi-casting is an internet

group management protocol or IGMP. Multi-casts an issues with internet protocol television, real-time streaming media, and video conferencing. Anycast is when a host sends to a single IP address in multiple locations, and the network will route to the nearest or most optimum host-based on factors such as Routing costs, distance, latency or congestion. You can think of it as a one-to-one of many. Anycasts use a load-balancing and high availability systems and to reduce latency and performance globally.

Question, what can you use to ensure the GRE overhead does not affect payload when you configure a tunnel between two remote sites? Answer, jumbo frames. Question, what is a secure way to provide site-to-site connectivity?

Answer IPsec. Question, which is the following IP transmission types encrypts all of the transmitted data. Answer ESP.

Question, what protocol does ping use? Answer ICMP. Question, your configured a DNS look-up service that will access the server that's closest to its destination. But does not respond, it will go to the next closest server. What address do you need to use?

Answer anycast. Question. What type of address is this called when you have one host communicate directly with another host? Answer unicast.

For more information, refer to these sites in summary. Generic routing encapsulation or GRE is a tunneling protocol developed by Cisco that can encapsulate a wide variety of network layer protocols inside virtual point-to-point connections. The protect network data by setting up circuits used in IP sector tunneling in which all data being sent between the two end points is encrypted as with the virtual private network VPN connection. In capsulating, the security payload or ESP provides data integrity, encryption, identification and anti-replay.

Their net control message protocol or ICMP is a crucial component of the Internet Protocol suite used for network diagnostic, error reporting and operational queries. Unicast addressing is one host sends directly to another host, one to one. Broadcast addressing is one host sends information to all nodes at once, one to all, similar to a PA system. Multicast addressing is one host sends to many of many host simultaneously. One protocol that uses multi-casting is Internet Group Management Protocol or IGMP. Anycast has the host sends to a single IP address in multiple locations, and the network will drop to the nearest or most optimum host.

Thank you for watching this video. The next video will be TCP/IP, Part 6. IP version 4 addressing. You have not already, the subscribe to the pad has your back channel.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent