0% found this document useful (0 votes)
11 views

Routing Essentials

Uploaded by

lynnunderwater
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Routing Essentials

Uploaded by

lynnunderwater
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 40

ROUTING ESSENTIALS

TECH ACADEMY- DAY EIGHT- JOSÉ QUIROS


WHAT IS ROUTING?
PROCESS OF MOVING DATA BETWEEN LAYER 3 NETWORKS.

Non-Juniper
COMPONENTS OF
ROUTING

• Routing requirements:
• End-to-End communication paths
• Routing information on
participating Layer 3 devices.

Non-Juniper
• Routing is the transmission of packets from a
source to a destination address. A routing
protocol determines the path by which the
packets are forwarded, shares information
ROUTING with immediate neighbor devices and other
DATABASES devices in the network and adjusts to
OVERVIEW changing network conditions.

Non-Juniper
ROUTED VS ROUTING PROTOCOLS

Non-Juniper
TYPES OF ROUTING PROTOCOLS

INTERIOR EXTERIOR
GATEWAY GATEWAY
PROTOCOL PROTOCOL
(IGP) (EGP)

Non-Juniper
INTERIOR GATEWAY PROTOCOL

(IGPs) exchange
routing information Examples of IGPs
within a single include:
routing domain.

Intermediate Enhanced Interior


Open Shortest Path Routing Information System to Gateway Routing
First (OSPF) Protocol (RIP) Intermediate Protocol (EIGRP)
System (IS-IS)

Non-Juniper
SO, WHAT IS AN
AUTONOMOUS SYSTEM?

• Collection of connected Internet


Protocol (IP) routing prefixes under
the control of one or more network
operators on behalf of a single
administrative entity

Non-Juniper
• Although most IPv4 host addresses are
public addresses designated for use in
networks that are accessible on the Internet,
there are blocks of addresses that are used
PUBLIC VS in networks that require limited or no
PRIVATE Internet access. These addresses are called
ADDRESSES private addresses.

Non-Juniper
PRIVATE ADDRESSES

• The private address blocks are:


• 10.0.0.0 to 10.255.255.255
(10.0.0.0 /8)
• 172.16.0.0 to 172.31.255.255
(172.16.0.0 /12)
• 192.168.0.0 to 192.168.255.255
(192.168.0.0 /16)

Non-Juniper
NETWORK ADDRESS
TRANSLATION (NAT)
TRANSLATES PRIVATE ADDRESSES TO PUBLIC ADDRESSES.

Non-Juniper
PORT
ADDRESS
TRANSLATION Extension to network address The goal of PAT is to
translation (NAT) that permits
(PAT) multiple devices on a local
conserve IP addresses.
area network (LAN) to be
mapped to a single public IP
address.

Non-Juniper
PUBLIC ADDRESSES

Non-Juniper
NETWORK
AND
BROADCAST
ADDRESSES The first and last addresses
cannot be assigned to hosts.
These are the network address
and the broadcast address,
respectively.

Non-Juniper
We represent the IPv4 default route as 0.0.0.0.
The default route is used as a "catch all" route
when a more specific route is not available.
DEFAULT
ROUTE
Juniper default route is set as 0.0.0.0/0

Non-Juniper
LINK-LOCAL ADDRESSES

IPv4 addresses in the These addresses can be


address block 169.254.0.0 automatically assigned to
to 169.254.255.255 the local host by the
(169.254.0.0 /16) are operating system in
designated as link-local environments where no IP
addresses. configuration is available.

Non-Juniper
DISTANCE-VECTOR ROUTING
PROTOCOL
TYPES OF
IGP
LINK-STATE ROUTING PROTOCOL

Non-Juniper
• Each router does not possess information
about the full network topology
• Advertises its distance value (DV) calculated
DISTANCE- to other routers and receives similar
VECTOR advertisements from other routers
ROUTING
PROTOCOL
• I.E.: RIP, RIPv2, IGRP…

Non-Juniper
LINK-STATE ROUTING PROTOCOL

Each router then


Each router independently
possesses calculates the best
information about i.e.: OSPF, next hop from it
the complete ISIS
for every possible
network topology destination in the
network

Non-Juniper
• Exterior gateway protocols exchange
routing information between autonomous
systems. Examples include:

EXTERNAL
• Border Gateway Protocol (BGP)
GATEWAY
PROTOCOL

Non-Juniper
ROUTING IS
BETWEEN AS

Non-Juniper
NETWORKS AND
SUBNETWORKS

• Large groups of machines that are


interconnected and can communicate
with one another form networks.
• Networks and routes are stored in the
Routing Table.

Non-Juniper
• Compiles information learned from routing
protocols and other routing information
sources.
SO, WHAT IS A • Selects an active route to each destination.
ROUTING • On JunOS, Juniper OS on its network
TABLE? devices, primary unicast routing tables are
inet.0 for IPv4 and inet6.0 for IPv6.

Non-Juniper
Used to determine best routes in the
routing table.

ADMINISTRATIVE
DISTANCE

The value is used in routers to rank routes


from most preferred (low AD value) to
least preferred (high AD value).

Non-Juniper
On JunOS operating systems, administrative
distance is known as Route Preference

ROUTE Ranks routes received from different sources.


PREFERENCE

Considered the primary Used as tiebreaker when


the same destination
criterion for selecting the prefix is available
active route. through multiple sources.

Non-Juniper
DEFAULT ROUTE PREFERENCE VALUES IN JUNIPER
DEVICES

Non-Juniper
SELECTING THE BEST ROUTE

Non-Juniper
EQUAL-COST MULTI PATH (ECMP)

Non-Juniper
EQUAL-COST
MULTI PATH
(ECMP)

Non-Juniper
VIEWING THE
ROUTING
TABLE

Non-Juniper
ADDRESS RESOLUTION
PROTOCOL (ARP)

• Communication protocol used for


discovering the link layer address, such
as a MAC address, associated with a
given internet layer address, typically
an IPv4 address.

Non-Juniper
ARP PROCESS
THE ADDRESS RESOLUTION ITSELF IS A TWO-STEP PROCESS – A
REQUEST AND A RESPONSE.

Non-Juniper
ARP PROCESS

Non-Juniper
ARP PROCESS

Non-Juniper
ARP PROCESS

Non-Juniper
ARP PROCESS

Non-Juniper
ARP REQUEST

Non-Juniper
ARP REQUEST

Non-Juniper
SHOW ARP NO-RESOLVE

Non-Juniper
THANK YOU!

Non-Juniper

You might also like