Lecture 1 Slides
Lecture 1 Slides
and Implementation
Lecture 1
Unit Overview
Fundamental Routing Concepts and Routing
Protocols
Agenda this Week
Unit Overview: I will highlight important key items from the Unit
Outline Handout and discuss how to succeed in the unit.
Lecture
2
Lecture Topics
VPN Overview
Differentiating Routing Protocols
Tunnels
Enterprise Network Architecture
Characteristics of a Secure VPN
Routing Protocols
DMVPN and NHRP Concepts
Understanding Network Technologies
IPv6 Overview
Traffic Types
GUA
Connecting Remote Locations
Link-local address
Underlay vs Overlay Networks
ICMPv6 ND
Types of VPNs
MPLS Overview
Virtual Routing and Forwarding (VRF)
3
Enterprise
Network
Infrastructure
A high-level overview of a
typical enterprise network, it
can be divided into two
major areas:
Enterprise Campus
Enterprise Edge
4
Data Centers
Core
Spine
Aggregation
Leaf
Access
5
Enterprise Network
Infrastructure
Enterprise Edge:
Provides:
Access to the Internet
Access to the same network services as users at the main site.
6
Levels of Internet Service Providers (ISP)
Tier-1 ISP: These ISPs are at the top of the hierarchy and
they have a global reach they do not pay for any internet
traffic through their network instead lower-tier ISPs have to
pay a cost for passing their traffic from one geolocation to
another which is not under the reach of that ISPs
Tier-3 ISP: These ISPs are closest to the end users and
helps them to connect to the internet by charging some
money.
7
NTT DATA (Tier 1) Internet Service Provider
8
Traceroute Through the NTT Network
9
Enterprise Network
Infrastructure
Enterprise Edge:
Provides:
Access to the Internet
Access to the same network services as users at the main site.
10
Example of a Modern Corporate Network Today
11
Another Example of a Modern Corporate Network
12
Role of Dynamic
Routing Protocols
Routing protocols provide:
Network reachability between routers
Dynamically adapt to network
changes
Best practice that you use one IP (IGP) routing protocol throughout the
enterprise.
OSPF or EIGRP
Multiple routing protocols (IGP and BGP) are used when the organization is
multihomed to two or more ISPs for Internet connectivity.
BGP with ISP 13
Choosing a Dynamic Routing Protocol
Input (network) requirements
Size of the network (scalability)
Vendor interoperability
Familiarity
What’s currently being used
Protocol characteristics:
IGP or EGP
Type of routing algorithm
Speed of convergence
Scalability
Summarization 14
IGP versus EGP
Interior Gateway Protocols
(IGP): These are used within
the organization, and they
exchange the routes within
an AS.
RIP
EIGRP
OSPF
IS-IS
Exterior Gateway Protocols (EGP): Used to exchange routes
between different ASs.
BGP is the only EGP that is used today.
15
Types of Routing Protocols
Exterior
Gateway
Interior Gateway Protocols Protocols
Distance Vector Link State Path Vector
Distance Vector Routing Link State Routing Path Vector
Protocols Protocols
IPv4 RIPv2 EIGRP OSPFv2 IS-IS BGP-4
RIPng EIGRP for OSPFv3 * IS-IS for BGP-4 for
IPv6 IPv6 IPv6 IPv6 or
MP-BGP
* OSPFv3 supports routing both IPv4 and IPv6.
16
Distance Vector Routing Protocols
What does a street sign like this tell you?
How far (distance)
Which way (direction)
Distance vector
Routes are advertised as vectors of
distance and direction.
Distance is defined in terms of a metric
Such as hop count
Direction is simply the:
Next-hop router or
Exit interface
Typically use the Bellman-Ford algorithm for
the best-path (shortest) route determination 17
Link-State Protocols
Link-state routing protocol can
create a “complete view,” or
topology, of the network.
Link-state protocols are associated
with Shortest Path First (SPF)
calculations. OR
A link-state router uses the link-
state information to:
Create a topology map
Select the best path to all
destination networks in the
topology.
Each router makes the decision!
Link State routing protocols is like having a complete map of the network topology 18
Path vector protocols
22
Traffic Types
Destination IP address: A device can send traffic to one
recipient, to selected recipients, or to all devices within a
subnet at the same time.
Routing protocols use different traffic types to control how
routing information is exchanged.
Unicast: Unicast addresses are used in a one-to-one context.
Multicast: Multicast addresses identify a group of interfaces.
Traffic that is sent to a multicast address is sent to multiple
destinations at the same time.
Anycast: It is assigned to an interface on more than one node.
When a packet is sent to an anycast address, it is routed
to the nearest interface that has this address.
Broadcast: IPv4 broadcast addresses are used when sending
traffic to all devices in the subnet.
23
Well-known IPv4 and IPv6 multicast addresses used by
routers
25
Underlay vs Overlay Networks
26
Using VPNs MPLS
Internet
27
Types of VPNs MPLS
Internet
31
VPN Overview
VPNs enable the exchange of information over a public (or private network)
as if remote hosts would be connected to the same private network.
Similar to leased lines.
The majority of VPN technologies also support routing protocols.
VPNs use tunnels.
32
Tunnels
Transport mode:
When IPsec headers are simply inserted in an IP packet (after the IP header),
The original IP header is exposed and unprotected.
Data at the transport layer and higher layers benefits from the implemented IPsec
features.
Transport mode protects the transport layer and up.
35
Router Router
IP IP
Tunnel mode:
The actual IP addresses of the original IP header, along with all the data within the
packet, are protected.
Tunnel mode creates a new external IP header that contains the IP addresses of the
tunnel endpoints (such as routers or VPN Concentrators).
The exposed IP addresses are the tunnel endpoints, not the device IP addresses
that sit behind the tunnel end points. 36
VPN technologies that use virtual tunnels
GRE (appear Layer 2adjacent)
DMVPN – Dynamic Mulitpoint VPN
Good for hub spoke – communications between spokes
without going thru hub
Uses multipoint GRE
GRE by itself doesn’t encrypt but can use IPsec 37
Lecture Topics
VPN Overview
Differentiating Routing Protocols
Tunnels
Enterprise Network Architecture
Characteristics of a Secure VPN
Routing Protocols
DMVPN and NHRP Concepts
Understanding Network Technologies
IPv6 Overview
Traffic Types
GUA
Connecting Remote Locations
Link-local address
Underlay vs Overlay Networks
ICMPv6 ND
Types of VPNs
MPLS Overview
Virtual Routing and Forwarding (VRF)
38
IPv6 Address Types
IPv6 Addresses
Assigned Solicited-Node
FF00::/8 FF02::1:FF00:0000/104
32 bits
128 bits
• 64-bit Interface ID = 18 quintillion (18,446,744,073,709,551,616) devices/subnet
• 16-bit Subnet ID = 65,536 subnets
/64 Global Unicast Address and the 3-1-4 Rule
/48 /64
16 bits 16 bits 16 bits 16 bits 16 bits 16 bits 16 bits 16 bits
3 + 1 = 4 (/64) : 4
2001:0DB8:CAFE:0001:0000:0000:0000:0100/64
2001:0DB8:CAFE:0001::100/64
2001:DB8:CAFE:1::/64
Static GUA :100 A G0/0
:1
2001:DB8:CAFE:3::/64
Configuration :100
:1
G0/0
R1
:1
S0/0/0
B
2001:DB8:CAFE:2::/64
I love the 3-1-4
rule and
R1(config)#interface gigabitethernet 0/1
subnetting IPv6!
R1(config-if)#ipv6 address 2001:db8:cafe:2::1/64
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface serial 0/0/0
R1(config-if)#ipv6 address 2001:db8:cafe:3::1/64
R1(config-if)#no shutdown
R1(config-if)#exit
Unlike IPv4, IPv6 does not associate the all-zeroes and all-ones Interface-IDs
(host portion) to subnet/broadcast – valid IPv6 device addresses.
IPv6 Address Allocation
Global Routing Prefix I am getting a /64 at home
/23 /32 /48 /56 /64
Subnet ID
Sub Interface ID
*RIR
*ISP Prefix
*Site Prefix
Possible Home Site Prefix
Subnet Prefix
/32 /48
Subnet
Global Routing Prefix ID Interface ID
Link-local Unicast
FE80::Interface ID
Link-local addresses are created
• Automatically :
• FE80 (usually) – First 10 bits
• Interface ID
• EUI-64 (Cisco routers)
• Random 64 bits (many host operating systems)
• Static (manual) configuration
G0/0
Automatic Link-Local Address S0/0/0
R1
using EUI-64 G0/1
FC 99 47 75 C3 E0
Insert FF-FE
FC 99 47 FF FE 75 C3 E0
FC
1111 1100
1110 99 47 FF FE 75 C3 E0
U/L bit flipped
FE 99 47 FF FE 75 C3 E0
G0/0
Verifying the Router’s S0/0/0
R1
Link-Local Address G0/1
R1# show interface gigabitethernet 0/0
GigabitEthernet0/0 is up, line protocol is up
Hardware is CN Gigabit Ethernet, address is fc99.4775.c3e0 (bia
Link-local
fc99.4775.c3e0) addresses
<Output Omitted> only have to
Wait! Two be unique
R1#show ipv6 interface brief Link-locals on the link.
GigabitEthernet0/0 [up/up] are the
FE80::FE99:47FF:FE75:C3E0
2001:DB8:CAFE:1::1
EUI-64 same!
GigabitEthernet0/1 [up/up]
FE80::FE99:47FF:FE75:C3E1 FF:FE = EUI-64 (most likely)
2001:DB8:CAFE:2::1
Serial0/0/0 [up/up]
FE80::FE99:47FF:FE75:C3E0
Serial interfaces will use a MAC
2001:DB8:CAFE:3::1 address of an Ethernet interface.
R1#
G0/0
Static Link-Local Addresses FE80::1 S0/0/0
Static addresses are more easily remembered G0/1 R1 FE80::1
and recognizable. FE80::1
R1(config)#interface gigabitethernet 0/0
R1(config-if)#ipv6 address fe80::1 ?
link-local Use link-local address
• Loopback Address
• ::1/128
• Used by a node to send an IPv6 packet to itself, typically when testing the
TCP/IP stack.
• Same functionality as IPv4 loopback 127.0.0.1
• Not routable.
• Unspecified Address
• :: (all-0s)
• Indicates the absence or anonymity of an IPv6 address (RA source address)
Unicast Addresses
Note: Site local addresses (FEC0::/10)
has ben deprecated.
Next
All ICMPv6 IPv6 Main Header ICMPv6
Data
messages Header 58 Header
ICMPv6 Neighbor Discover Protocol
ICMPv6 Neighbor Discovery defines 5 different packet types:
• Router Solicitation Message
• Router Advertisement Message Router-Device
Messaging
Used with dynamic address allocation
• Redirect Message
Similar to ICMPv4 redirect message
Router-to-Device messaging
Route Selection for Routers
Build the Routing Table
The main considerations when you build the routing table are:
Prefix length
Route Selection for Routers
Assume, again, that a router runs has three routing processes
(RIP, EIGRP and OSPF), and each process has received
these routes: