• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/143

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

143 Cards in this Set

  • Front
  • Back

What do protocols of the OSI model network layer specify?

Addressing and processes that enable transport layer data to be packaged and transported.

What does the network layer encapsulation enable?

Data to be passed to a destination within a network (or on another network) with minimum overhead.

What is the communication between networks called?

Routing.

What does the network layer provide?

OSI layer 3 provides services to allow end devices to exchange data across the network.

What are the four basic processes that the network layer uses to accomplish end-to-end transport?

-Addressing end devices


-Encapsulation


-Routing


-De-encapsulation

What is "Addressing end devices"?

End devices must be configued with a unique IP address for identification on the network.

What is a host?

It is an end device with a configured IP address.

What is "Encapsulation"?

The network layer receives a PDU from the transport layer. The network layer adds IP header information, e.g. IP address of the source and destination hosts. The PDU is now a packet.

What is "Routing"?

To travel to other networks, the packet must be processed by a router. The router will then select paths for and direct packets toward the destination host in a process known as routing. Many intemediary devices may be passed before getting to the destination host.

What is a hop?

Each route the packet takes to reach the destination host.

What is "De-encapsulation"?

When the packet is at the network layer of the destination host, the host checks the IP header of the packet. If there is a match with their own IP address then the IP header is removed from the packet. This process is known as de-encapsulation (removing headers from lower layers).

What happens after the packet is de-encapsulated?

The resulting Layer 4 PDU is passed up to the appropriate service at the transport layer.

What does the transport layer (OSI Layer 4) do?

It manages the data transport between the processes running on each host.

What do network layer protocols specify that the transport layer (OSI Layer 4) doesn't specify?

The packet structure and processing used to carry the data from one host to another host.

What are the two commonly implemented network layer protocols?

-Internet Protocol version 4 (IPv4)


-Internet Protocol version 6 (IPv6)

What are other legacy network layer protocols that aren't widely known?

-Novell Internetwork Packet Exchange (IPX)


-AppleTalk


Connectionless Network Service (CLNS/DECNet)

What is the network layer service implemented by the TCP/IP protocol suite?

IP

What is IP?

It was designed as a protocol with low overhead. It provides only the functions that are necessary to deliver a packet from a source to a destination over an interconnected system of networks. It was not designed to track and manager the flow of packets.

What are the basic characteristics of IP?

-Connectionless = No connection with destination is established before sending data packets.


-Best effort(unreliable) = Packet delivery is not guaranteed.


-Media Independent = Operation is independent of the medium carrying the data.

What is the role of the network layer?

To transport packets between hosts while placing as little burden on the network as possible.

What is the network layer not concerned with or even aware of?

The type of communication contained inside of a packet. IP is connectionless, meaning that no dedicated end-to-end connection is created before data is sent.

What is IP often referred to as?

Unreliable or best-effort delivery protocol.

What does unreliable mean?

That IP does not have the capability to manage and recover from undelivered or corrupt packets.

Why is IP unreliable?

While IP packets are sent with information about the location of delivery, it contains no information that can be processed to inform the sender whether delivery was successful.

Where does the reliability lie?

The decision of reliability is to the transport layer making IP more adaptable and accomodating for different types of communication.

What is an example of a connection-oriented protocol and what does it require?

TCP, it requires that control data be exchanged to establish the connection. To maintain information about the connection, TCP also requires additional fields in the PDU header.

What does IP operate independently of?

The media that carry the data at lower layers of the protocol stack.

What is the OSI data link layer's responsibility?

To take an IP packet and prepare it for transmission over the communications medium. This means that the transport of IP packets is not limited to any particular medium.

What is one major characteristic of the media that the network layer considers?

The maximum size of the PDU that each medium can transport. This characteristic is referred to as the maximum transmission unit (MTU).

What is fragmentation?

a.k.a fragmenting the packet, in some cases, an intermediate device, usually a router will need to split up a packet when forwarding it from one medium to a medium with a smaller MTU.

What does the process of encapsulating data layer by layer enable?

The services at the different layers to develop and scale without affecting other layers, meaning that the transport layer segments can be readily packaged by any new protocol that might be developed in the future (like IPv6).

What remains unchanged during the network layer processes?

In all cases, the data portion of the pcaket, that is the encapsulated transport layer PDU.

What are the two parts of an IPv4 packet?

-IP Header = Identifies the packet characteristics.


-Payload = Contains the Layer 4 segment information and the actual data.

What does an IPv4 packet look like?



What are the significant fields in an IPv4 header?

-Version


-Differentiated Services (DS)


-Time-to-Live (TTL)


-Protocol


-Source IP Address


-Destination IP Address

Explain the Version field in an IPv4 header.

Contains a 4-bit binary value identifying the IP packet version. For IPv4 packets, this field is always set to 0100.

Explain the DS field in an IPv4 header.

Formerly called the Type of Service (ToS) field, it is an 8-bit field used to determine the priority of each packet. The first 6 bits identify the Differentiated Services Code Point (DSCP) value that is used by a quality of service (QoS) mechanism. The last 2 bits identify the explicit congestion notification (ECN) value that can be used to prevent dropped packets during times of network congestion.

Explain the TTL field in an IPv4 header.

Contains an 8-bit binary value that is used to limit the lifetime of a packet. It is specified in seconds but is commonly referred to as hop count.

How does the TTL process work?

The packet sender sets the initial time-to-live (TTL) value and is decreased by one each time the packet is processed by a router, or hop. If the TTL field decrements to zero, the router discards the packet and sends an Internet Control Message Protocol (ICMP) Time Exceeded message to the source IP address.

What is the traceroute command and what field does it use?

It uses the TTL field to identify the routers used between the source and destination.

Explain the Protocol field in an IPv4 header.

This 8-bit binary value indicates the data payload type that the packet is carrying, which enables the network layer to pass the data to the appropriate upper-layer protocol. Common values include ICMP (1), TCP (6), and UDP (17).

Explain the Source IP Address field in an IPv4 header.

Contains a 32-bit binary value that represents the source IP address of the packet.

Explain the Destination IP Address field in an IPv4 header.

Contains a 32-bit binary value that represents the destination IP address of the packet.

Which fields are used to identify and validate the IP packet?

-Internet Header Length (IHL)


-Total Length


-Header Checksum

Explain the IHL field.

Contains a 4-bit binary value identifying the number of 32-bit words in the header. The IHL value varies due to the Options and Padding fields. The minimum value for this field is 5 and the maximum value is 15.

Explain the Total Length field.

Sometimes referred to as the Packet Length, this 16-bit field defines the entire packet (fragment) size, including header and data, in bytes. The minimum length packet is 20 bytes and maximum length is 65,535 bytes.

Explain the Header Checksum field.

The 16-bit field is used for error checking of the IP header. The checksum of the header is recalculated and compared to the value in the checksum field. If the values do not match, the packet is discarded.

What fields are used to keep track of fragments (during a fragmentation process)?

-Identification


-Flags


-Fragment Offset



Explain the Identification field.

This 16-bit field uniquely identifies the fragment of an original IP packet.

Explain the Flags field.

This 3-bit field identifies how the packet is fragmented. It is used with the Fragment Offset and Identification fields to help reconstruct the fragment into the original packet.

Explain the Fragment Offset field.

This 13-bit field identifies the order in which to place the packet fragment in the reconstruction of the original unfragmented packet.

What is Wireshark?

A useful network monitoring tool for anyone working with networks and can be used with most labs in the Cisco Certified Network Associate (CCNA) courses for data analysis and troubleshooting. It can be used to view sample values contained in IP header fields.

What are the three major issues of IPv4?

-IP address depletion


-Internet routing table expansion


-Lack of end-to-end connectivity

Explain the issue: IP address depletion.

IPv4 has a limited number of unique public IP addresses available. Although there are approximately 4 billion IPv4 addresses, the increasing number of new IP-enabled devices, always-on connections, and the potential growth of less-developed regions have increased the need for more addresses.

Explain the issue: Internet routing table expansion.

A routing table is used by routers to make best path determinations. As the number of servers (nodes) connected to the Internet increases, so too does the number of network routes. These IPv4 routes consume a great deal of memory and processor resources on Internet routers.

What is a technology commonly implemented within IPv4 networks?

Network Address Translation (NAT).

What is NAT?

NAT provides a way for multiple devices to share a single public IP address. However, because the public IP address is shared, the IP address of an internal network host is hidden. This can be problematic for technologies that require end-to-end connectivity.

What led to the development of IPv6?

When the Internet Engineering Task Force (IETF) grew concerned about the issues with IPv4 they began to look for a replacement.

What improvements does IPv6 provide?

-Increased address space


-Improved packet handling


-Eliminates the need for NAT


-Integrated security

How does IPv6 provide increased address space?

They are based on 128-bit hierarchical addressing as opposed to IPv4 with 32 bits (more bits) which increases the number of available IP addresses.

How does IPv6 provide improved packet handling?

The header has been simplified with fewer fields, improving packet handling by intermediate routers and also provides support for extensions and options for increased scalability/longevity.

How does IPv6 provide elimination for the need for NAT?

No need for NAT as there are loads of public IPv6 addresses.

How does IPv6 provide integrated security?

It natively supports authentication and privacy capabilities (additional features had to be implemented on IPv4 to do this).

How many octets and basic header fields does the IPv4 header consist of?

20 octets and 12 basic header field (exc. options field and padding field)

How many octets and basic header fields does the IPv6 header consist of?

40 octets and 8 header fields (3 basic IPv4 ones and 5 additional header fields).

What does an IPv6 packet look like compared to an IPv4 packet?



What are some advantages for an IPv6 simplified header over an IPv4 one?

-Better routing efficiency for performance and forwarding-rate scalability


-No requirement for processing checksums


-Simplified and more efficient extension header mechanisms


-A flow label field for per-flow processing with no need to open the transport inner packet to identify various traffic flow.

What are the fields of an IPv6 packet header?

-Version


-Traffic Class


-Flow Label


-Payload Length


-Next Header


-Hop Limit


-Source Address


-Destination Address

Explain the Version field in an IPv6 packet header.

This field contains a 4-bit binary value identifying the IP packet version. For IPv6 packets, this field is always set to 0110.

Explain the Traffic Class field in an IPv6 packet header.

This 8-bit field is equivalent to the IPv4 Differentiated Services (DS) field. It also contains a 6-bit Differentiated Services Code Point (DSCP) value used to classify packets and a 2-bit Explicit Congestion Notification (ECN) used for traffic congestion control.

Explain the Flow Label field in an IPv6 packet header.

This 20-bit field provides a special service for real-time applications. It can be used to inform routers and switches to maintain the same path for the packet flow so that packets are not reordered.

Explain the Payload Length field in an IPv6 packet header.

This 16-bit field is equivalent to the Total Length field in the IPv4 header. It defines the entire packet (fragment) size, including header and optional extensions.

Explain the Next Header field in an IPv6 packet header.

This 8-bit field is equivalent to the IPv4 Protocol field. It indicates the data payload type that the packet is carrying, enabling the network layer to pass the data to the appropriate upper-layer protocol. This field is also used if there are optional extension headers added to the IPv6 packet.

Explain the Hop Limit field in an IPv6 packet header.

This 8-bit field replaces the IPv4 TTL field. This value is decremented by one by each router that forwards the packet. When the counter reaches 0 the packet is discarded and an ICMPv6 message is forwarded to the sending host, indicating that the packet did not reach its destination.

Explain the Source Address field in an IPv6 packet header.

This 128-bit field identifies the IPv6 address of the sending host.

Explain the Destination Address field in an IPv6 packet header.

This 128-bit field identifies the IPv6 address of the receiving host.

What are extension headers?

They provide optional network layer information. Extension headers are optional and are placed between the IPv6 header and the payload. EHs are used for fragmentation, security, to support mobility, and more.

What does an IPv6 packet header look like?



What is another role of the network layer?

To direct packets between hosts.

Where can a host send a packet to?

-Itself


-Local host


-Remote host

How does a host send a packet to itself?

It can ping itself by sending the packet to a special IPv4 address of 127.0.0.1 which is referred to as the loopback interface.

When is a loopback address automatically assigned?

When TCP/IP is running.

What is the IP within the network that refers to the local host?

127.0.0.0/8

What is a local host?

A host on the same network as the sending host, they share the same network address.

What is a remote host?

A host on a remote network to the sending host, they do not share the same network address.

What is the router connected to the local network segment referred to as?

The default gateway.

What is the default gateway?

A device that routes traffic from the local network to devices on remote networks, it is often used to connect a local network to the Internet.

What is a routing table?

A data file in RAM that is used to store route information about directly connected network, as well as entries of remote networks the device has learned about.

What does the local table of the host typically contain?

-Direct connection (route to loopback interface = 127.0.0.1)


-Local network route = Network which the host is connected to is automatically populated in the host routing table.


-Local default route = Represents route that packets must take to reach all remote network addresses, created when default gateway address is present on the host.

What is the default gateway address?

The IP address of the network interface of the router that is connected to the local network, it can be configured manually or learned dynamically.

What is important to note about a default gateway?

The default route, and therefore, the default gateway, is only used when a host must forward packets to a remote network. It is not required, nor even needs to be configured, if only sending packets to devices on the local network.

What does the route print/netstat -r command do?

On a Windows host, it can be used to display the host routing table, both commands = same output.

What three sections are displayed with the netstat -r/route print command?

Related to the current TCP/IP network connections:


-Interface List = Lists MAC address and assigned interface number of every network-capable interface on the host including Ethernet, Wi-Fi, and Bluetooth adapters.


-IPv4 Route Table = Lists all known IPv4 routes, including direct connections, local network, and local default routes.


-IPv6 Route Table = Lists all known IPv6 routes, including direct connections, local network, and local default routes.

What are the five sections in the IPv4 Route Table?

-Network Destination = Lists the reachable networks.


-Netmask = Lists a subnet mask that informs the host how to determine the network and the host portions of the IP address.


-Gateway = Lists the addresses used by the local computer to get to a remote network destination.


-Interface = Lists the addresses of the physical interface used to send the packet to the gateway that is used to reach the network destination.


-Metric =Lists the cost of each route and is used to determine the best route to a destination.

What is 127.0.0.0 - 127.255.255.255?

These loopback addresses all relate to the direct connection and provide services to the local host.

What is 192.168.10.0 - 192.168.10.255?

These are addresses that all relate to the host and local network, all packets with destination addresses that fall into this category will exit out of the 192.168.10.10 interface.

What is 192.168.10.0?

The local network route address; represents all computers on the 192.168.10.x network.

What is 192.168.10.10?

The address of the local host.

What is 192.168.10.255 ?

The network broadcast address; sends messages to all hosts on the local network.

What is 224.0.0.0?

Special multicast class D addresses reserved for use through either the loopback interface (127.0.0.1) or the host IP address.

What is 255.255.255.255 ?

Represents the limited broadcast IP address values for use through either the loopback interface or the host IP address. These addresses can be used to find a DHCP server before the local IP is determined.

What are the four sections in the IPv6 Route Table?

-If = Lists the interface numbers from the Interface List section of the netstat –r command. The interface numbers correspond to the network capable interface on the host, including Ethernet, Wi-Fi, and Bluetooth adapters.


-Metric = Lists the cost of each route to a destination. Lower numbers indicate preferred routes.


-Network Destination = Lists the reachable networks.


-Gateway = Lists the address used by the local host to forward packets to a remote network destination. On-link indicates that the host is currently connected to it.

What is to be noted about interfaces in IPv6?

They commonly have two IPv6 addresses: link local address and a global unicast address. (Also notice there are no broadcast addresses in IPv6)

What is ::/0?

This is the IPv6 equivalent of the local default route.

What is ::1/128?

This is equivalent to the IPv4 loopback address and provides services to the local host.

What is ::2001/32?

This is the global unicast network prefix.

What is 2001:0:9d38:953c:2c30:3071:e718:a926/128?

This is the global unicast IPv6 address of the local computer.

What is fe80::/64?

This is the local link network route address and represents all computers on the local link IPv6 network.

What isfe80::2c30:3071:e718:a926/128?

This is the link local IPv6 address of the local computer.

What is ff00::/8?

These are special reserved multicast class D addresses equivalent to the IPv4 224.x.x.x addresses.

What happens when a packet arrives on a router interface?

The router looks at its routing table to determine where to forward packets.

What information does a routing table of a router store?

-Directly-connected routes


-Remote routes

What are directly-connected routes?

These routes come from the active router interfaces. Routers add a directly connected route when an interface is configured with an IP address and is activated. Each of the router's interfaces is conneted to a different network segment. Routers maintain information about the network segments that they are connected to within the routing table.

What are remote routes?

These routes come from remote network connected to other routers. Routes to these networks can either be manually configured on the local router by the network administrator or dynamically configured by enabling the local router to exchange routing information with other routers using dynamic routing protocols.

What does a host routing table include?

Only information about directly-connected networks.

What do both a routing table and a host routing table identify?

-Destination network


-Metric associated with the destination network


-Gateway to get to the destination network

What does the show ip route command do?

Displayes the routing table of a router.

What additional route information can a router also provide?

How the route was learned, when it was last updated, and which specific interface to use to get to a predefined destination.

What happens when a packet arrives at the router interface?

The router examines the packet header to determine the destination network. If the destination network matches a route in the routing table, the router forwards the packet using the information specified in the routing table. If there are two or more possible routes to the same destination, the metric is used to decide which route appears on the routing table.

What happens when an active router interface is configured with an IP address and subnet mask?

Two routing table entries are automatically created.

What information is contained the entries of routing tables?

-Route Source


-Destination network


-Outgoing interface



What is a route source?

It identifies how the route was learned. Directly connected interfaces have two route source codes.

What are the two route source codes?

-C = Identifies a directly connected network. Directly connected networks are automatically created when an interface is configured with an IP address and activated.


- L =Identifies that this is a link local route. Link local routes are automatically created when an interface is configured with an IP address and activated.

What is the destination network?

It identifies the address of the remote network.

What is the outgoing interface?

It identifies the exit interface to use when forwarding packets to the destination network.

What are common codes for remote networks?

-S = Identifies that the route was manually created by an administrator to reach a specific network. This is known as a static route.


-D =Identifies that the route was learned dynamically from another router using the Enhanced Interior Gateway Routing Protocol (EIGRP).


-O =Identifies that the route was learned dynamically from another router using the Open Shortest Path First (OSPF) routing protocol.

What information is included in routing table entries?

-Route source


-Destination network


-Administrative distance


-Metric


-Next-hop


-Route timestamp


-Outgoing interface

What is Administrative distance?

Identifies the trustworthiness of the route source.

What is Metric?

Identifies the value assigned to reach the remote network. Lower values indicate preferred routes.

What is next-hop?

Identifies the IP address of the next router to forward the packet.

What is route timestamp?

Identifies when the route was last heard from.

What is the next hop for a packet that must be sent to another network?

It must be the default gateway (router interface).

Why do networks directly connected to a router have no next-hop address?

Because a router can forward packets directly to hosts on these networks using the designated interface.

When is a packet dropped?

If a route representing the destination network is not in the routing table, the packet is dropped (that is, not forwarded).

What are the four types of memory that a router has access to?

-RAM


-ROM


-NVRAM


-Flash

What is RAM used to store?

-Cisco IOS


-Running configuration file


-IP routing table


-ARP cache


-Packet buffer

What is DRAM?

A very common kind of RAM that stores the instructionsand data needed to be executed by the CPU.

What do Cisco routers use ROM to store?

-Bootup instructions


-Basic diagnostic software


-Limited IOS

What is ROM?

It is firmware embedded on an integrated circuit inside the router and does not lose its contents when the router loses power or is restarted.

What is NVRAM?

It is used by the Cisco IOS as permanent storage for the startup configuration file (startup-config). Like ROM, it does not lose its contents when power is turned off.

What is Flash memory?

It is non-volatile computer memory used as permanent storage for the IOS and other system related files. The IOS is copied from flash into RAM during the bootup process.

What are the hardware components of a router?

-Power supply


-Shield for WAN interface card, WIC or high-speed WIC


-Fan


-SDRAM


-NVRAM


-CPU


-AIM

What are the connections of a router?

-Console ports


-AUX port


-Two LAN interfaces


-Enhanced high-speed WAN interface card


-Storage slots