SlideShare a Scribd company logo
2
Most read
NATFailoverwithDual ISP onCisco RouterconfigurationExplained withExample
I am explaininghere howtoconfigure NATwhenthere are multipleISP'sforinternetconnectivity
and we wantproperFailoveri.e whenPrimaryISPgoesdown thenSecondary ISP linktakesover.
Configuration:- Belowisthe configurationsneedtobe done at CustomerEndRouter
interfaceFastEthernet0/0 //This interfaceis connected totheISP 1
ip address 2.2.2.2 255.0.0.0 //Enter Your IP address providedby ISP 1
ip nat outside // Interfaceis usedfor NATOutside
ip virtual-reassembly
duplex half
!
interfaceFastEthernet1/0 //This interfaceis connected tothe ISP 2
ip address 3.3.3.2 255.0.0.0 //Enter Your IP address providedby ISP 1
ip nat outside // Interfaceis usedfor NATOutside
ip virtual-reassembly
duplex auto
speed auto
!
interfaceFastEthernet1/1 // Interface connected toyourLAN
ip address 172.16.0.1255.255.0.0 //LAN IP Address
ip nat inside //NAT insidedonehere
ip virtual-reassembly
duplex auto
speedauto
ip sla 1 //IPSLA commandwhere 1 is the SLA number
icmp-echo 4.4.4.2 source-ip2.2.2.2 //4.4.4.2 is the destination/remote router interface to be pinged and 2.2.2.2 is the source IP address
interface from we ping the remote server or interface
frequency50
timeout 50
ip sla schedule 1 life forever start-time now //SLA start immediate andforever
access-list 101 permit ipanyany //Create Accesslist ownthis is a examplethat allowall host
route-mapisp1 permit 10 // Create Router Mapto ISp1
match ipaddress 101 //match The access list 101, which network/host,range ofnetwork is allowed
match interface FastEthernet0/0 // Match the interface
route-mapisp2 permit 10 // Create the router Mapto ISP2
match ip address 101 //match The accesslist 101, whichnetwork /host,range of networkis allowed
match interface FastEthernet1/0 //Match Interface connected to ISP2
Crate the NAT rule
ip nat inside source route-map isp1 interface FastEthernet0/0 overload
ip nat inside source route-map isp2 interface FastEthernet1/0 overload
track 1 rtr 1 reachability //Create track to Trackkthe IPSLA 1 we have created
Now you need to ceate the default router
ip route 0.0.0.0 0.0.0.0 2.2.2.1 track 1 //Default route Pointingtowards ISP1 withtrack1
ip route 0.0.0.0 0.0.0.0 3.3.3.1 10 // Default router withPointing towards ISP2 with Administrative distance AD 10

More Related Content

What's hot (20)

PDF
Cisco IPv6 Tutorial
kriz5
 
PPT
Dynamic Routing IGRP
Kishore Kumar
 
PPTX
Router configuration
ChoyonBonik
 
PPT
CCNA Network Devices
Dsunte Wilson
 
PPT
Vlan
ilias ahmed
 
PPTX
Network address translation
Varsha Honde
 
DOCX
Packet Tracer: Nat protocol
Rafat Khandaker
 
PPT
Nat pat
CYBERINTELLIGENTS
 
PPT
Ipv4 ppt
Sonal Chandel
 
PPT
Ip address and subnetting
IGZ Software house
 
PDF
CCNAv5 - S2: Chapter5 Inter Vlan Routing
Vuz Dở Hơi
 
PDF
IOS Cisco - Cheat sheets
Alejandro Marin
 
PDF
Transport Layer Port or TCP/IP & UDP Port
Netwax Lab
 
PDF
Mikro tik advanced training
Jignesh H. Bhalsod
 
PPT
VPN presentation - moeshesh
Mohamed Shishtawy
 
DOCX
Etherchannel
Raj sekar
 
PPT
Spanning tree protocol
Muuluu
 
PPTX
VLAN
ISMT College
 
PPTX
IP Configuration
Stephen Raj
 
Cisco IPv6 Tutorial
kriz5
 
Dynamic Routing IGRP
Kishore Kumar
 
Router configuration
ChoyonBonik
 
CCNA Network Devices
Dsunte Wilson
 
Network address translation
Varsha Honde
 
Packet Tracer: Nat protocol
Rafat Khandaker
 
Ipv4 ppt
Sonal Chandel
 
Ip address and subnetting
IGZ Software house
 
CCNAv5 - S2: Chapter5 Inter Vlan Routing
Vuz Dở Hơi
 
IOS Cisco - Cheat sheets
Alejandro Marin
 
Transport Layer Port or TCP/IP & UDP Port
Netwax Lab
 
Mikro tik advanced training
Jignesh H. Bhalsod
 
VPN presentation - moeshesh
Mohamed Shishtawy
 
Etherchannel
Raj sekar
 
Spanning tree protocol
Muuluu
 
IP Configuration
Stephen Raj
 

Similar to Nat failover with dual isp on cisco router configuration explained with example (20)

PPT
In depth understanding network security
Thanawan Tuamyim
 
PPT
Nat 03
Davinder Chauhan
 
PDF
NAT (network address translation) & PAT (port address translation)
Netwax Lab
 
PDF
NAT- Network Address Translation
Eng. Emad Al-Atoum
 
PPT
Day 17.1 nat pat (2)
CYBERINTELLIGENTS
 
PDF
To setup the simplest IPv6 network you just have to boot up a host o.pdf
aptexx
 
DOC
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
3Anetwork com
 
PPT
OSPF-BASICO PROTOCOLO DE ENRUTAMIENTO DINAMICO
AliciaBenitaMndezJur
 
PPT
CCNA Exploration 2 - Chapter 11
Irsandi Hasan
 
PDF
CCNA 1 Chapter 6 v5.0 2014
Đồng Quốc Vương
 
PDF
Basic Cisco 800 Router Configuration for Internet Access
Harris Andrea
 
DOCX
Router Commands Overview
Muhammed Niyas
 
PDF
Tiny Server Clustering using Vyatta/VyOS (MEMO)
Naoto MATSUMOTO
 
PDF
Site to Site VPN between Cisco Routers
Sandeep Kumar
 
PPT
Chapter11ccna
robertoxe
 
PPT
Chapter11ccna
ernestlithur
 
PPTX
ENSA_Module_2 Packet Tracer - Single-Area OSPFv2 Configuration
kecatem465
 
PPT
Exploration routing chapter_11
Joshua Torres
 
DOCX
200 ccna questions
Davi's Thomas
 
PPT
9- Single Area OSPF on in networking.ppt
MutacalimMohamed
 
In depth understanding network security
Thanawan Tuamyim
 
NAT (network address translation) & PAT (port address translation)
Netwax Lab
 
NAT- Network Address Translation
Eng. Emad Al-Atoum
 
Day 17.1 nat pat (2)
CYBERINTELLIGENTS
 
To setup the simplest IPv6 network you just have to boot up a host o.pdf
aptexx
 
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
3Anetwork com
 
OSPF-BASICO PROTOCOLO DE ENRUTAMIENTO DINAMICO
AliciaBenitaMndezJur
 
CCNA Exploration 2 - Chapter 11
Irsandi Hasan
 
CCNA 1 Chapter 6 v5.0 2014
Đồng Quốc Vương
 
Basic Cisco 800 Router Configuration for Internet Access
Harris Andrea
 
Router Commands Overview
Muhammed Niyas
 
Tiny Server Clustering using Vyatta/VyOS (MEMO)
Naoto MATSUMOTO
 
Site to Site VPN between Cisco Routers
Sandeep Kumar
 
Chapter11ccna
robertoxe
 
Chapter11ccna
ernestlithur
 
ENSA_Module_2 Packet Tracer - Single-Area OSPFv2 Configuration
kecatem465
 
Exploration routing chapter_11
Joshua Torres
 
200 ccna questions
Davi's Thomas
 
9- Single Area OSPF on in networking.ppt
MutacalimMohamed
 
Ad

Recently uploaded (20)

PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
July Patch Tuesday
Ivanti
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
July Patch Tuesday
Ivanti
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Biography of Daniel Podor.pdf
Daniel Podor
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Ad

Nat failover with dual isp on cisco router configuration explained with example

  • 1. NATFailoverwithDual ISP onCisco RouterconfigurationExplained withExample I am explaininghere howtoconfigure NATwhenthere are multipleISP'sforinternetconnectivity and we wantproperFailoveri.e whenPrimaryISPgoesdown thenSecondary ISP linktakesover. Configuration:- Belowisthe configurationsneedtobe done at CustomerEndRouter interfaceFastEthernet0/0 //This interfaceis connected totheISP 1 ip address 2.2.2.2 255.0.0.0 //Enter Your IP address providedby ISP 1 ip nat outside // Interfaceis usedfor NATOutside ip virtual-reassembly duplex half ! interfaceFastEthernet1/0 //This interfaceis connected tothe ISP 2 ip address 3.3.3.2 255.0.0.0 //Enter Your IP address providedby ISP 1 ip nat outside // Interfaceis usedfor NATOutside ip virtual-reassembly duplex auto speed auto ! interfaceFastEthernet1/1 // Interface connected toyourLAN ip address 172.16.0.1255.255.0.0 //LAN IP Address ip nat inside //NAT insidedonehere ip virtual-reassembly duplex auto speedauto
  • 2. ip sla 1 //IPSLA commandwhere 1 is the SLA number icmp-echo 4.4.4.2 source-ip2.2.2.2 //4.4.4.2 is the destination/remote router interface to be pinged and 2.2.2.2 is the source IP address interface from we ping the remote server or interface frequency50 timeout 50 ip sla schedule 1 life forever start-time now //SLA start immediate andforever access-list 101 permit ipanyany //Create Accesslist ownthis is a examplethat allowall host route-mapisp1 permit 10 // Create Router Mapto ISp1 match ipaddress 101 //match The access list 101, which network/host,range ofnetwork is allowed match interface FastEthernet0/0 // Match the interface route-mapisp2 permit 10 // Create the router Mapto ISP2 match ip address 101 //match The accesslist 101, whichnetwork /host,range of networkis allowed match interface FastEthernet1/0 //Match Interface connected to ISP2 Crate the NAT rule ip nat inside source route-map isp1 interface FastEthernet0/0 overload ip nat inside source route-map isp2 interface FastEthernet1/0 overload track 1 rtr 1 reachability //Create track to Trackkthe IPSLA 1 we have created Now you need to ceate the default router ip route 0.0.0.0 0.0.0.0 2.2.2.1 track 1 //Default route Pointingtowards ISP1 withtrack1 ip route 0.0.0.0 0.0.0.0 3.3.3.1 10 // Default router withPointing towards ISP2 with Administrative distance AD 10