Ip routing static and connected routes

A and F Q4. A router is configured with the no ip subnet-zero global configuration command. Which of the following interface subcommands would not be accepted by this router?

Ip routing static and connected routes

In this lesson, I will walk you through an example and show you all steps that occur. To do this, I will use the following topology: Above we have two host computers and two routers.

This host creates an IP packet with its own IP address The first question that H1 will ask itself is: Is the destination local or remote? It answers this question by looking at its own IP address, its subnet mask and the destination IP address: H1 will now build an Ethernet frame, enters its own source MAC address and asks itself the second question, do I know the destination MAC address of the default gateway?

It checks its ARP table to find the answer: If not, it would have sent an ARP request. We now have an Ethernet frame that carries an IP packet with the following addresses: The frame will be on its way to R1.

If the FCS is incorrect, the frame is dropped right away. There is no error recovery for Ethernet, this is something that is done by protocols on upper layers, like TCP on the transport layer.

If the FCS is correct, we will process the frame if: The destination MAC address is the address of the interface of the router.

Ip routing static and connected routes

The destination MAC address is a broadcast address of the subnet that the router interface is connected to. The destination MAC address is a multicast address that the router listens to.

We de-encapsulate extract the IP packet out of the Ethernet frame which is then discarded: If the header checksum is not correct, the IP packet is dropped right away.

There is also no error recovery on the network layer, we rely on upper layers for this. If the header checksum is correct, we continue by looking at the destination IP address: R1 now checks its routing table to see if there is a match: R1 show ip route Codes: It will now do a second routing table lookup to see if it knows how to reach As you can see, there is an entry for There is one thing left to do with the IP packet before we can forward it.By default the AD of directly connected interfaces is 0 and for static routes it's 1 Permanent: With the permanent word, the router is forced to keep this route in its routing table even if the interface leading to this network is shutdown.

Router(config)# ip route 3 A. The 3 at the end of the command signifies that it is a floating static route.

CCNA FAQ: IP Routing Static and Connected - Config Router

B. The 3 at the end of the command signifies the hops to get to the destination. C. The destination network is incorrect, so this command will not work. D. Answer: Static routes are used primarily in stub networks or when the administrator wishes to have complete control over the routing decisions of their routing devices.

Routing protocols are used in complex networks with multiple paths to a destination.

Table of Contents

Aug 21,  · If a router has a directly connected network and a static route to that same network go If a router has a directly connected network and a static route to that same network going in a different direction, which has priority? If I have a directly connected network of on fa0/1 and I set a static route: ip route Static Routing Configuration Guide with Examples This tutorial explains how to configure static routing step by step in detail including advantage of static routing and disadvantage of static routing.

Jun 16,  · Static routes are seen in show running-config but not in show ip route command output. You can display all active dynamic static routes with both the show ip route and show ip route static commands after these active routes are added in the main routing table.

A characteristic of static routes is.

IP Addressing and Routing Part 3: Default and Static Routing | Pluralsight