Академический Документы
Профессиональный Документы
Культура Документы
L3 Header Packet
L2 Header Frame
Bits
Routing Table Principles
Asymmetric Routing
Parent Routes
Child Routes
Supernet
Default Route
Best match is equal to the longest
match!!!
A packet is destined for 172.16.1.1. Where will the router send packet?
Classless and Classful Routing Behaviors
Router(config)# ip classless
Router(config)# no ip classless Classless Routing Behavior
Classfull Routing Behavior
! Classless and classful routing behaviors are not the same as classless and classful routing
protocols.
Routing Types
• A router must learn about non-
directly connected networks
either statically or dynamically.
• Directly connected
networks are networks that
the router is connected to, has
an IP address/mask.
• Non-directly connected
networks are remote
networks connected to other
routers.
Static Routes
! For static routes with outbound point-to-point serial networks, it is best to configure static routes with only the
exit interface. For point-to-point serial interfaces, the next-hop address in the routing table is never used by the
packet delivery procedure, and so it is not needed.
! For static routes with outbound Ethernet networks, it is best to configure the static routes with both the next-
hop address and the exit-interface.
Best Path and Metric
The best path is selected by a routing protocol based on the value or metric it uses to determine the distance to reach a network. The
routing algorithm generates a value, or a metric, for each path through the network. Metrics can be based on either a single
characteristic or several characteristics of a path. Some routing protocols can base route selection on multiple metrics, combining them
into a single metric. The smaller the value of the metric, the better the path.
Administrative distance (AD) defines the preference of a routing source. Each routing source - including specific routing
protocols, static routes, and even directly connected networks - is prioritized in order of most- to least-preferable using
an administrative distance value. Cisco routers use the AD feature to select the best path when it learns about the same
destination network from two or more different routing sources. Administrative distance is an integer value from 0 to
255
How the router chooses the best path to the network 192.168.6.0/24?
Administrative Distance
Floating Static Routes
R2(config)# ip route 0.0.0.0 0.0.0.0 s0/0/0
R2(config)# ip route 0.0.0.0 0.0.0.0 s0/0/1 3 Administrative Distance = 1
Administrative Distance = 3
interface Virtual-Template1
mtu 1492
ip address 192.168.1.254
peer default ip address pool 1
ip address-pool local
ip local pool 1 192.168.1.1 192.168.1.100
interface FastEthernet0/0
pppoe enable group global
Лабораторный стенд технологии DSL
ATM
IP
AAA Server
• User PC Billing
• CPE (ATU-R) – ADSL Modem
• DSLAM (ATU-C)
• Transport Network
• Authentication system and billing
VPN Connectivity Overview
• MPLS-based VPNs
• Tunneling VPNs
– GRE
– Ipsec
– DMVPN
Private WAN Infrastructures
MPLS
Multiprotocol Label Switching (MPLS) is a multiprotocol high-
performance WAN technology that directs data from one router to the
next, based on short path labels rather than IP network addresses.
L3 MPLS VPNs
• Traffic forwarding through the MPLS backbone is based on
labels that are previously distributed among the core routers.
• With a Layer 3 MPLS VPN, the service provider participates in
customer routing.
• The service provider establishes routing peering between the
PE and CE routers.
• Then customer routes that are received on the PE router are
redistributed into MP-BGP and conveyed over the MPLS
backbone to the remote PE router.
• On the remote PE, these customer routes are redistributed
back from MP-BGP into a remote PE-CE routing protocol.
• Routing protocols between PE-CE routers on the local and
remote sites may be totally different.
Routing Across MPLS VPNs
• The RIP process (there can be multiple RIPng processes on a single router).
• The route prefix.
• The route metric, in which RIPng uses hop count as a metric. In the example, all three
routes have a metric of 2. This means the destination network is 2 hops away,
counting itself as a hop.
• Installed and expired, in which the keyword “installed” means the route is in the
routing table. If a network becomes unavailable, the route will become “expired”
after the dead timer expires. An expired route value (in seconds), during which the
route will be advertised as expired, is listed.
• Expires in, in which if the countdown timer reaches 0, the route is removed from the
routing table and marked expired. This timer, the dead timer, is by default three times
the hello timer—180 seconds.