0% found this document useful (0 votes)
119 views4 pages

Advanced IP Routing Techniques

This document discusses various IP routing solutions including routing to multipoint and NBMA interfaces, longest match routing, floating static routes, backup interfaces, reliable static routing with enhanced object tracking, policy routing, local policy routing, GRE tunneling and recursive routing, reliable backup interfaces with GRE, and on-demand routing.

Uploaded by

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

Advanced IP Routing Techniques

This document discusses various IP routing solutions including routing to multipoint and NBMA interfaces, longest match routing, floating static routes, backup interfaces, reliable static routing with enhanced object tracking, policy routing, local policy routing, GRE tunneling and recursive routing, reliable backup interfaces with GRE, and on-demand routing.

Uploaded by

xplore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

IP Routing Solutions

Routing to Multipoint Broadcast Interfaces


R1:
ip route [Link] [Link] [Link]
ip route [Link] [Link] FastEthernet0/0
arp [Link] 0011.93da.bf40 arpa
R6:
interface FastEthernet0/0.146
no ip proxy-arp
<< R1 will not be ables resolve the destination [Link]

Routing to NBMA Interfaces


R5:
interface Serial0/0
frame-relay map ip [Link] 502
!
ip route [Link] [Link] [Link]
ip route [Link] [Link] Serial0/0
! This means that when R5 sends traffic to [Link] it will use the DLCI that is associated
with [Link] (DLCI 501), but when it sends traffic to [Link] it will look for the DLCI
associated directly with [Link].

Longest Match Routing


R4:
ip route [Link] [Link] Serial0/1
ip route [Link] [Link] [Link]

Floating Static Routes


R4:
ip route [Link] [Link] Serial0/1 10
ip route [Link] [Link] [Link] 20

Backup Interface
ip route [Link] [Link] Serial0/1
ip route [Link] [Link] [Link]
!
interface Serial0/0.1 point-to-point
backup delay 3 60
backup interface Serial0/1

Reliable Static Routing with Enhanced Object Tracking


R4:
ip sla monitor 1
type echo protocol ipIcmpEcho [Link] source-interface FastEthernet0/1
timeout 2000
frequency 5
ip sla monitor schedule 1 start-time now
!
track 1 rtr 1
!
ip route [Link] [Link] [Link] track 1
ip route [Link] [Link] [Link] 2

Policy Routing
R1:
interface FastEthernet0/0
ip policy route-map POLICY_ROUTING
!
ip access-list extended FROM_R4
permit ip host [Link] any
ip access-list extended FROM_R6
permit ip host [Link] any
!
route-map POLICY_ROUTING permit 10
match ip address FROM_R4
set ip next-hop [Link]
!
route-map POLICY_ROUTING permit 20
match ip address FROM_R6
set ip next-hop [Link]

Reliable Policy Routing


R1:
ip sla monitor 1
type echo protocol ipIcmpEcho [Link] source-interface
FastEthernet0/0
timeout 2000
frequency 5
!
ip sla monitor schedule 1 life forever start-time now
!
track 1 rtr 1
!
interface Serial0/0
ip address [Link] [Link]
encapsulation frame-relay
cdp enable
frame-relay map ip [Link] 105 broadcast
no frame-relay inverse-arp
!
interface Serial0/1
ip policy route-map RELIABLE_POLICY_ROUTING
!
ip access-list extended FROM_R3_TO_R4_LOOPBACK
permit ip host [Link] host [Link]
!
ip access-list extended FROM_R3_TO_R5_LOOPBACK
permit ip host [Link] host [Link]
!
route-map RELIABLE_POLICY_ROUTING permit 10
match ip address FROM_R3_TO_R4_LOOPBACK
set ip next-hop [Link]
set ip next-hop verify-availability
set ip default next-hop [Link]
!
route-map RELIABLE_POLICY_ROUTING permit 20
match ip address FROM_R3_TO_R5_LOOPBACK
set ip next-hop verify-availability [Link] 1 track 1
set ip default next-hop [Link]

Local Policy Routing (affects only locally generated traffic)


R1:
ip local policy route-map LOCAL_POLICY
!
ip access-list extended TO_R4
permit ip any host [Link]
!
ip access-list extended TO_R5
permit ip any host [Link]
!
route-map LOCAL_POLICY permit 10
match ip address TO_R4
set ip next-hop [Link]
!
route-map LOCAL_POLICY permit 20
match ip address TO_R5
set ip next-hop [Link]

GRE Tunneling and Recursive Routing


SW4:
router rip
network [Link]
distribute-list prefix STOP_RECURSIVE_ERROR out Tunnel0
!
ip prefix-list STOP_RECURSIVE_ERROR seq 5 deny [Link]/24
ip prefix-list STOP_RECURSIVE_ERROR seq 10 permit [Link]/0 le 32
ip routing
!
interface Tunnel0
ip address [Link] [Link]
tunnel source Loopback0
tunnel destination [Link]
NOTE: Filters it's loopback from being advertised out the tunnel to prevent recursive
routing error

Reliable Backup Interface with GRE


R4:
ip route [Link] [Link] [Link]
20
ip route [Link] [Link] [Link]
10
!
interface Tunnel0
ip address [Link] [Link]
tunnel source [Link]
tunnel destination [Link]
keepalive 1 3

R5:
ip route [Link] [Link] [Link]
20
ip route [Link] [Link] [Link]
10
!
interface Tunnel0
ip address [Link] [Link]
tunnel source [Link]
tunnel destination [Link]
keepalive 1 3
backup interface Serial0/0/1
NOTE: Since the line protocol status of this interface is based on the LMI keepalive, R5
creates a tunnel for the Frame Relay link between R5 & R4 in order to detect the link failure.
The route with the lower administrative distance via Serial0/0/1 cannot be installed because
this link is in standby state.

On-Demand Routing (ODR)


R5:

interface Serial0/0
cdp enable
!
router odr

You might also like