Routing Essentials
Routing Essentials
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.
Non-Juniper
SO, WHAT IS AN
AUTONOMOUS SYSTEM?
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
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
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
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
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
Non-Juniper
On JunOS operating systems, administrative
distance is known as Route Preference
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)
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