CCNA 1 - Finals Flashcards
: Responsible for end-to-end data exchange between devices.
Network Layer
: Core protocol of the network layer (IPv4 and IPv6).
IP (Internet Protocol)
: Wrapping data within IP headers by examining layer 3 (no impact on layer 4)
Encapsulation
: Determining the best path for data delivery.
Routing
: Removing IP headers.
De-encapsulation
: Maximum size of data that can be transmitted in a single frame.
MTU (Maximum Transmission Unit)
: Dividing large packets into smaller units. (layer 3)
Fragmentation
: Is the primary communication protocol for the network layer.
IPv4
The network header has many purposes:
- *It ensures the packet is sent in the correct direction (to the destination).
- *It contains information for network layer processing in various fields.
- *The information in the header is used by all layer 3 devices that handle the packet
: Translates private IP addresses to public ones.
NAT (Network Address Translation)
: Next-generation IP protocol with improved features and larger address space.
IPv6
: Contains information about network destinations and paths to reach them.
Routing Table
: The router that handles traffic destined for networks outside the local network.
Default Gateway
: Manually configured routes.
Static Routing
: Automatically discovers and maintains routing information.
Dynamic Routing
A host can send packets to the following:
- Itself – 127.0.0.1 (IPv4), ::1 (IPv6)
- Local Hosts – destination is on the same LAN
- Remote Hosts – devices are not on the same LAN
– Source uses its own IP address and Subnet mask, along with the destination IP address
IPv4
– Source uses the network address and prefix advertised by the local router
IPv6
is dumped out the host interface to be handled by an intermediary device.
Local traffic
is forwarded directly to the default gateway on the LAN.
Remote traffic
There three types of routes in a router’s routing table:
Directly Connected – These routes are automatically added by the router, provided the interface is active and has addressing.
Remote – These are the routes the router does not have a direct connection and may be learned:
* Manually – with a static route
* Dynamically – by using a routing protocol to have the routers share their information with each other
Default Route – this forwards all traffic to a specific direction when there is not a match in the routing table
MAC vs IP Address
- MAC Address: Unique physical address of a network interface card (NIC). Layer 2
- -Used for NIC to NIC communications on the same Ethernet network.
- IP Address: Logical address used to identify devices on a network. Layer 3
- -Used to send the packet from the source device to the destination device.
is used by IPv6 to associate the IPv6 address of a device with the MAC address of the device NIC.
ICMPv6
: Used by IPv4 to map IP addresses to MAC addresses.
ARP (Address Resolution Protocol)
The command displays the ARP table on a Cisco router.
show ip arp
The command displays the ARP table on a Windows 10 PC.
arp –a
: Attack where an attacker sends false ARP messages to redirect network traffic.
ARP Spoofing
: A network device that forwards data packets between different networks.
Router
: A point of connection between the router and the network.
Interface
: The router interface that handles traffic destined for networks outside the local network.
-used when a host sends a packet to a device on another network.
Default Gateway
used to store the router’s configuration.
NVRAM: Non-Volatile Random Access Memory
: Contains information about network destinations and the paths to reach them.
IP Routing Table
Description, no shutdown, show ip int brief, show ip route, show int, show ip int
description command: add infos about the network connedted to the interface
No shutdown command: activates the interface
Show ip int brief (ip/ipv6): displays all interfaces, their IP addresses, and their current status.
Show ip route: displays the contents of the IP routing tables stored in RAM
Show interface: displays statistics for all interfaces on the device. Only displays the IPv6 addressing infos.
Show ip interface: displays the IPv4 statistics for all interfaces on a router
: A 32-bit address used to identify devices on an IP network.
IPv4 Address
: Determines the network and host portions of an IPv4 address.
Subnet Mask
: A concise way to represent the subnet mask.
Prefix Length
: Transmission to a single destination IP address.
Unicast
: Transmission to all devices on a network.
Broadcast
: Transmission to a specific group of devices.
Multicast
: Globally routable address assigned by an ISP.
Public IP Address
: Non-routable address used within a private network.
-are common blocks of addresses used by most organizations to assign IPv4 addresses to internal hosts
-are not unique and can be used internally within any network.
Private IP Address
: Translates private IP addresses to public ones.
NAT (Network Address Translation)
: 127.0.0.1, used for testing local TCP/IP connectivity.
Loopback Address
:0 Self-assigned address used when DHCP is unavailable.
Link-Local Address
: A network segment where broadcast traffic is propagated.
Broadcast Domain
: Dividing a network into smaller subnetworks.
Subnetting
: Using different subnet masks within a single network to optimize address utilization.
VLSM (Variable Length Subnet Masking)
: A company’s internal network.
Intranet
: A network segment that hosts public-facing servers.
DMZ (Demilitarized Zone)
, automatically assigns IP addresses to devices.
DHCP: Dynamic Host Configuration Protocol
Device Address Assignment
End user clients – Most use DHCP to reduce errors and burden on network support staff. IPv6 clients can obtain address information using DHCPv6 or Stateless Address Autoconfiguration (SLAAC).
Servers and peripherals – These should have a predictable static IP address.
Servers that are accessible from the internet – Servers must have a public IPv4 address, most often accessed using NAT.
Intermediary devices – Devices are assigned addresses for network management, monitoring, and security.
Gateway – Routers and firewall devices are gateway for the hosts in that network
: The next-generation Internet Protocol with a larger address space.
IPv6
: Running both IPv4 and IPv6 protocols simultaneously.
Dual Stack
: Encapsulating IPv6 packets within IPv4 packets.
Tunneling
: Translates between IPv6 and IPv4.
NAT64 (Network Address Translation 64)
: A 16-bit segment of an IPv6 address.
Hextet
: Transmission to a single destination.
Unicast
: Transmission to a group of destinations.
Multicast
: Transmission to the nearest device with a specific address.
Anycast
can replace any single contiguous string of one or more 16-bit hextets consisting of all zeros. [can only be used once within an address]
double colon (::)
: A globally routable IPv6 address.
Global Unicast Address (GUA)
: An IPv6 address used for communication within a local link.
Link-Local Address (LLA)
: Allows devices to automatically obtain IPv6 addresses.
SLAAC (Stateless Address Autoconfiguration)
: Dynamic Host Configuration Protocol for IPv6.
DHCPv6
: A process for generating an interface ID from a MAC address.
-16 bit value of fffe
-7th bit of the client MAC address is reversed from binary 0 to 1
EUI-64 (Extented Unique Identifier - 64)
: ICMPv6 message sent by hosts to discover routers.
Router Solicitation (RS)
: ICMPv6 message sent by routers to provide network information.
Router Advertisement (RA)
: A multicast address used to deliver packets to a specific device.
Solicited-Node Multicast Address
: A portion of the IPv6 address that identifies a specific subnet.
Subnet ID
There are two common IPv6 Assigned multicast groups:
- ff02::1 All-nodes multicast group - This is a multicast group that all IPv6-enabled devices join. A packet sent to this group is received and processed by all IPv6 interfaces on the link or network.
- ff02::2 All-routers multicast group - This is a multicast group that all IPv6 routers join. A router becomes a member of this group when it is enabled as an IPv6 router with the ipv6 unicast-routing global configuration command
: is similar to the all-nodes multicast address.
-is mapped to a special Ethernet multicast address.
Solicited-Node IPv6 Multicast
: Used to provide feedback on IP packet processing.
ICMP (Internet Control Message Protocol)
is the messaging protocol for IPv4. ICMPv6 is the messaging protocol for IPv6 and includes additional functionality.
ICMPv4
: ICMP message indicating that the packet’s TTL has expired.
Time Exceeded
: ICMPv6 protocol for address resolution router discovery
Neighbor Discovery Protocol (NDP)
: ICMPv6 message sent by hosts to discover routers.
Router Solicitation (RS)
: Allows hosts to automatically obtain IPv6 addresses.
Stateless Address Autoconfiguration (SLAAC)
: A process to ensure that an IPv6 address is unique on the network.
Duplicate Address Detection (DAD)
: ICMPv6 message used to respond to Neighbor Solicitation messages.
Neighbor Advertisement (NA)
: Uses ICMP Echo Request/Reply to test connectivity.
Ping
: Tests the path between two hosts by incrementally increasing the TTL.
Traceroute
: Responsible for end-to-end communication between applications.
Transport Layer
: Reliable, connection-oriented protocol.
TCP (Transmission Control Protocol)
: A unique identifier assigned to an application process on a host.
Port Number
: A combination of an IP address and a port number used to uniquely identify a communication endpoint.
Socket
: Dividing data into smaller units (segments).
Segmentation
: Interleaving multiple conversations on the same network.
Multiplexing
Connection-oriented vs Connectionless
Connection-Oriented: Requires a connection establishment before data transmission.
Connectionless: No connection establishment required.
: Regulates the rate of data transmission to prevent overloading the receiver.
Flow Control
: Process of establishing a TCP connection.
Three-Way Handshake
: Maximum amount of data that can be transmitted in a single TCP segment.
Maximum Segment Size (MSS)
: A unit of data transmitted over a network using UDP.
Datagram
: A connectionless unreliable protocol suitable for applications that prioritize speed and low overhead.
UDP
: A reliable connection-oriented protocol with features like flow control
TCP
The six control bit flags are as follows:
- URG- Urgent pointer field significant
- ACK- Acknowledgment flag used in connection establishment and session termination
- PSH- Push function
- RST- Reset the connection when an error or timeout occurs
- SYN- Synchronize sequence numbers used in connection establishment
- FIN- No more data from sender and used in session termination
: The top layer of the OSI model responsible for user interactions.
- provides the interface between the applications used to communicate, and the underlying network over which messages are transmitted
Application Layer
: A model where clients request services from servers.
Client-Server Model
: A network where devices can act as both clients and servers.
Peer-to-Peer (P2P)
: Used for transferring web pages.
- is a request/response protocol that specifies the message types used for that communication.
HTTP (Hypertext Transfer Protocol)
The three common message types
- GET - This is a client request for data. A client (web browser) sends the GET message to the web server to request HTML pages.
- POST - This uploads data files to the web server, such as form data.
- PUT - This uploads resources or content to the web server, such as an image.
: Encrypted version of HTTP.
HTTPS (HTTP Secure)
is a store-and-forward method of sending, storing, and retrieving electronic messages across a network.
storing
are stored in databases on mail servers.
Email messages
communicate with mail servers to send and receive email.
Email clients
: Used for sending email.
- The destination email server may not be online or may be busy. If so, SMTP spools messages to be sent at a later time.
SMTP (Simple Mail Transfer Protocol)
: Used for receiving email deletes messages from the server.
- is used by an application to retrieve mail from a mail server. When mail is downloaded from the server to the client using POP the messages are then deleted on the server.
POP (Post Office Protocol)
: Used for receiving email, messages remain on the server.
- is another protocol that describes a method to retrieve email messages.
- Unlike POP, when a user connects to an IMAP server, copies of the messages are downloaded to the client application. The original messages are kept on the server until manually deleted.
- When a user decides to delete a message, the server synchronizes that action and deletes the message from the server.
IMAP (Internet Message Access Protocol)
: Translates domain names into IP addresses.
stores different types of resource records that are used to resolve names. These records contain the name, address, and type of record.
DNS (Domain Name Service)
Some of these record types are as follows:
- A-An end device IPv4 address
- NS- An authoritative name server
- AAAA- An end device IPv6 address (pronounced quad-A)
-
MX- A mail exchange record
Examples of top-level domains:
o.com - a business or industry
o.org - a non-profit organization
o.au – Australia
is a computer operating system utility that allows a user to manually query the DNS servers configured on the device to resolve a given host name.
Nslookup
: Automatically assigns IP addresses to devices.
- is considered dynamic addressing compared to static addressing. Static addressing is manually entering IP address information.
DHCP (Dynamic Host Configuration Protocol)
: Used for transferring files between a client and a server.
FTP (File Transfer Protocol)
is an application which runs on a computer that is being used to push and pull data from an FTP server.
FTP client
: A client/server protocol for file and printer sharing.
SMB (Server Message Block)