Ip routing

Ip routing types

And that just about covers our routing analysis. The routing process is the usually done by devices called routers. Routes can also be statically configured or learned using routing protocols. It will now do a second routing table lookup to see if it knows how to reach Because hosts are on different subnets, Host A sends its packet to the default gateway the router. This host creates an IP packet with its own IP address Host A is configured to send all packets destined for remote networks to router R1. The destination MAC address is a multicast address that the router listens to. In the diagram above and subsequent diagrams, we have emphasized the network number portion of the IP address by showing it in red.

Routing tables are maintained either manually by a network administrator, or updated dynamically with a routing protocol.

Featured Success Stories. Finds its own IP address as the destination in the IP packet. Static vs. The router needs to create a frame to send the packet to the destination host.

There are three different methods for populating a routing table: directly connected subnets. Now, we are going to describe step by step what happens when Host A Network A wants to communicate with Host B Network B which is on a different network.

If not, drop the frame. R1 will do this and since this changes the IP header, we have to calculate a new header checksum. Dynamic routing uses special routing information protocols to automatically update the routing table with routes known by peer routers.

Host A is configured to send all packets destined for remote networks to router R1.

ip routing pdf

In general, most routing software determines a route through a shortest path algorithm. Interior gateway protocols are used to distribute routing information inside of an Autonomous System AS. First, the router looks in the ARP cache to determine whether the hardware address has already been resolved from a prior communication.

Within C, the routing module will know from the network number of each interface which one to use for forwarding IP packets.

Rated 7/10 based on 86 review
IP Routing Explained