SlideShare a Scribd company logo
3
Most read
6
Most read
8
Most read
JUNIPER JNCI
JUNIPER FLOATING STATIC ROUTE CONFIGURATION
A S M E D U C AT I O N A L C E N T E R I N C . ( A S M )
WHERETRAINING,TECHNOLOGY&SERVICECONVERGE
CHECKOUTOURJUNIPERTRAININGVIDEOS:WWW.ASMED.COM/J1
JUNIPER FLOATING STATIC ROUTE CONFIGURATION
JUNIPER FLOATING STATIC ROUTE CONFIGURATION
In here R1 and R2 are connected via two cables
e1 to e1 is 10.10.10.1/24
10.10.10.2/24
e3 to e3 is 40.40.40.1/24
40.40.40.2/24
Goal is to that R1 will be able go to Loopback address of R2=2.2.2.2 via Link e1=10.10.10.1
Here I will give IP address to R1 em1 , em3 and Lo0
root@R1# set interfaces em1 unit 0 family inet address 10.10.10.1/24
root@R1# set interfaces em3 unit 0 family inet address 40.40.40.1/24
root@R1# set interfaces lo0 unit 0 family inet address 1.1.1.1/24
Here are R1 Configuration
JUNIPER FLOATING STATIC ROUTE CONFIGURATION
root@R1> show configuration
em1 {
unit 0 {
family inet {
address 10.10.10.1/24;
}
}
}
em3 {
unit 0 {
family inet {
address 40.40.40.1/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 1.1.1.1/24;
}
}
}
}
JUNIPER FLOATING STATIC ROUTE CONFIGURATION
Here I will give IP address to R2 em1 ,em2 , em3 and Lo0
root@R2# set interfaces em1 unit 0 family inet address 10.10.10.2/24
root@R2# set interfaces em3 unit 0 family inet address 40.40.40.2/24
root@R2# set interfaces lo0 unit 0 family inet address 2.2.2.2/24
root@R2# show interfaces
em1 {
unit 0 {
family inet {
address 10.10.10.2/24;
}
}
}
em2 {
unit 0 {
family inet {
address 20.20.20.2/24;
}
}
}
JUNIPER FLOATING STATIC ROUTE CONFIGURATION
em3 {
unit 0 {
family inet {
address 40.40.40.2/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 2.2.2.2/24;
}
}
}
[edit]
root@R2#
Now In order R1 be able to Ping 2.2.2.2 using the Link e1 (that is next hop is 10.10.10.2) we need to use the commands: qualified-next-
hop 10.10.10.2 preference 25 (remember the default preference for Static route=5) so I want other link to have a higher Preference
JUNIPER FLOATING STATIC ROUTE CONFIGURATION
Here I will do the Static Route On R1
root@R1# set routing-options static route 2.2.2.0/24 next-hop 10.10.10.2
root@R1# set routing-options static route 2.2.2.0/24 qualified-next-hop 40.40.40.2 preference 25
so above line means I go to Loopback 2.2.2.2 via next hop=10.10.10.1 ( as main route , since the default preference =5,
and it is lower than 25)
Here is another show commands on R1
root@R1# show routing-options
static {
route 2.2.2.0/24 {
next-hop 10.10.10.2;
qualified-next-hop 40.40.40.2 {
preference 25;
}
}
}
JUNIPER FLOATING STATIC ROUTE CONFIGURATION
Here is my routing table for R1
root@R1> show route protocol static
inet.0: 7 destinations, 8 routes (7 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
2.2.2.0/24 *[Static/5] 00:01:45
> to 10.10.10.2 via em1.0
[Static/25] 00:09:07
> to 40.40.40.2 via em3.0
The asterisks (*) in the routing tables show the active routes. The backup routes are listed next.
Since R2 has a static back to R1 ; I will be able ping 2.2.2.2
Now I will do the Static Route on R2
root@R2# set routing-options static route 1.1.1.0/24 next-hop 10.10.10.1
JUNIPER FLOATING STATIC ROUTE CONFIGURATION
Here is R2 information:
root@R2# show routing-options
static {
route 1.1.1.0/24 next-hop 10.10.10.1;
Now I can ping from R1 to 2.2.2.2
root@R1> ping 2.2.2.2
PING 2.2.2.2 (2.2.2.2): 56 data bytes
64 bytes from 2.2.2.2: icmp_seq=0 ttl=64 time=0.440 ms
64 bytes from 2.2.2.2: icmp_seq=1 ttl=64 time=0.454 ms
64 bytes from 2.2.2.2: icmp_seq=2 ttl=64 time=0.895 ms
64 bytes from 2.2.2.2: icmp_seq=3 ttl=64 time=0.832 ms
64 bytes from 2.2.2.2: icmp_seq=4 ttl=64 time=0.768 ms
Making Sure That the Backup Route Becomes the Active Route
JUNIPER FLOATING STATIC ROUTE CONFIGURATION
If the primary route becomes not available, I need to make sure that the backup secondary route becomes active.
So Now what I will do , I will disable the active route by deactivating the em1 interface on R1, and test it with ping
root@R1# deactivate interfaces em1 unit 0 family inet address 10.10.10.1/24
So here is my show interface on R1 now
root@R1# show interfaces
em1 {
unit 0 {
family inet {
inactive: address 10.10.10.1/24;
}
}
}
em3 {
unit 0 {
family inet {
address 40.40.40.1/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 1.1.1.1/24;
}
}
}
JUNIPER FLOATING STATIC ROUTE CONFIGURATION
As we see from above this has been deactivated for em1 , now according this commands I should be able ping 2.2.2.2 via 40.40.40.2
root@R1# show routing-options
static {
route 2.2.2.0/24 {
next-hop 10.10.10.2;
qualified-next-hop 40.40.40.2 {
preference 25;
}
}
}
But let’s look at routing table in R1#
root@R1> show route protocol static
inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
2.2.2.0/24 *[Static/25] 01:10:58
> to 40.40.40.2 via em3.0
root@R1>
JUNIPER FLOATING STATIC ROUTE CONFIGURATION
Here in above we see that R1 will go to 2.2.2.2 via 40.40.40.2
root@R1> ping 2.2.2.2
PING 2.2.2.2 (2.2.2.2): 56 data bytes
64 bytes from 2.2.2.2: icmp_seq=0 ttl=64 time=0.583 ms
64 bytes from 2.2.2.2: icmp_seq=1 ttl=64 time=0.530 ms
64 bytes from 2.2.2.2: icmp_seq=2 ttl=64 time=0.576 ms
64 bytes from 2.2.2.2: icmp_seq=3 ttl=64 time=0.499 ms
So in Summary; for the Floating static route you need to have these commands:
root@R1# set routing-options static route 2.2.2.0/24 next-hop 10.10.10.2
root@R1# set routing-options static route 2.2.2.0/24 qualified-next-hop 40.40.40.2 preference 25
lets activate the interface em1
root@R1# activate interfaces em1 unit 0 family inet address 10.10.10.1/24
Here is my routing table which is back to normal;
root@R1> show route protocol static
inet.0: 7 destinations, 8 routes (7 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
2.2.2.0/24 *[Static/5] 00:00:37
> to 10.10.10.2 via em1.0
[Static/25] 01:15:31
> to 40.40.40.2 via em3.0
A S M E D U C AT I O N A L C E N T E R I N C . ( A S M )
WHERETRAINING,TECHNOLOGY&SERVICECONVERGE
W W W. A S M E D . C O M

More Related Content

PPTX
Juniper JNCIA – Juniper RIP Route Configuration
PPTX
Cisco CCNA CCNP VACL Configuration
PPTX
Cisco CCNA OSPF IPV6 Configuration
PPTX
Cisco CCNA- PPP Multilink Configuration
PPTX
Cisco CCNA IPV6 Static Configuration
PPTX
Cisco CCNA-CCNP IP SLA Configuration
PPTX
Cisco CCNA IP SLA with tracking configuration
PPTX
Cisco CCNA-Standard Access List
Juniper JNCIA – Juniper RIP Route Configuration
Cisco CCNA CCNP VACL Configuration
Cisco CCNA OSPF IPV6 Configuration
Cisco CCNA- PPP Multilink Configuration
Cisco CCNA IPV6 Static Configuration
Cisco CCNA-CCNP IP SLA Configuration
Cisco CCNA IP SLA with tracking configuration
Cisco CCNA-Standard Access List

What's hot (20)

PPTX
Cisco CCNA EIGRP IPV6 Configuration
PPTX
Cisco CCNA- How to Configure Multi-Layer Switch
PPTX
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
PPTX
Cisco CCNA-Router on Stick
PPTX
Cisco CCNA GRE Tunnel Configuration
PPTX
Juniper JNCIA – Juniper OSPF Route Configuration
PPTX
Cisco CCNA- NAT Configuration
PPTX
Cisco CCNA Port Security
PDF
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
DOCX
Ccna command
PDF
OSPF (open shortest path first) part iii
PDF
CCNA - Routing & Switching Commands
PDF
PDF
Ccna Commands In 10 Minutes
PDF
OSPF (open shortest path first) part ii
PDF
PDF
Ccna command
DOC
Cisco router command configuration overview
PDF
OSPF Route Filtering
PDF
Router commands
Cisco CCNA EIGRP IPV6 Configuration
Cisco CCNA- How to Configure Multi-Layer Switch
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
Cisco CCNA-Router on Stick
Cisco CCNA GRE Tunnel Configuration
Juniper JNCIA – Juniper OSPF Route Configuration
Cisco CCNA- NAT Configuration
Cisco CCNA Port Security
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
Ccna command
OSPF (open shortest path first) part iii
CCNA - Routing & Switching Commands
Ccna Commands In 10 Minutes
OSPF (open shortest path first) part ii
Ccna command
Cisco router command configuration overview
OSPF Route Filtering
Router commands
Ad

Similar to Juniper JNCIA – Juniper Floating Static Route Configuration (20)

PPTX
Link state routing protocol by painters.pptx
PPT
JRE sang penakluk karang panjang woeyyy.ppt
PPTX
Mikrotik link redundancy solution
PPT
workshop.ppt
PPTX
ProtocolIndependentRoutingaaaaàaaaaa.pptx
PDF
PLNOG 3: Emil Gągała - SUBSECOND END TO END SERVICE RESTORATION
PPTX
Session 1
PPTX
OpenStack Neutron's Distributed Virtual Router
PDF
Junos Intermediate Routing Detailed Lab Guide 12th Juniper Networks
PDF
PPT
Routing
PDF
Traffic Engineering in Metro Ethernet
PPT
12-adhocssasalirezaalirezalakakssaas.ppt
PPT
12-adhoc_unit 4 _mobile computing_sem5.ppt
DOCX
Cisco lab, guide to configure interface stp attributes
PDF
Performansi dan redundance Mikrotik dari Titik ke Titik
PDF
Efficient load aware routing scheme
PPTX
manet
PPTX
Introduction to mobile ad hoc network (m.a.net)
PDF
Prepare with Juniper JN0-281 Exam Dumps (V8.02) - Pass Your Exam Smoothly
Link state routing protocol by painters.pptx
JRE sang penakluk karang panjang woeyyy.ppt
Mikrotik link redundancy solution
workshop.ppt
ProtocolIndependentRoutingaaaaàaaaaa.pptx
PLNOG 3: Emil Gągała - SUBSECOND END TO END SERVICE RESTORATION
Session 1
OpenStack Neutron's Distributed Virtual Router
Junos Intermediate Routing Detailed Lab Guide 12th Juniper Networks
Routing
Traffic Engineering in Metro Ethernet
12-adhocssasalirezaalirezalakakssaas.ppt
12-adhoc_unit 4 _mobile computing_sem5.ppt
Cisco lab, guide to configure interface stp attributes
Performansi dan redundance Mikrotik dari Titik ke Titik
Efficient load aware routing scheme
manet
Introduction to mobile ad hoc network (m.a.net)
Prepare with Juniper JN0-281 Exam Dumps (V8.02) - Pass Your Exam Smoothly
Ad

More from Hamed Moghaddam (8)

PPTX
CISSP Certification Security Engineering-Part2
PPTX
CISSP Certification- Security Engineering-part1
PPTX
Cisco CCNA- DHCP Server
PPTX
Microsoft MCSA- Joining Client Machines To The Domain!
PPTX
Microsoft MCSA - Install active directory domain services (adds) role
PPTX
CISSP Certification-Asset Security
PPTX
Cissp- Security and Risk Management
PPTX
Become CISSP Certified
CISSP Certification Security Engineering-Part2
CISSP Certification- Security Engineering-part1
Cisco CCNA- DHCP Server
Microsoft MCSA- Joining Client Machines To The Domain!
Microsoft MCSA - Install active directory domain services (adds) role
CISSP Certification-Asset Security
Cissp- Security and Risk Management
Become CISSP Certified

Recently uploaded (20)

PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
My India Quiz Book_20210205121199924.pdf
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
International_Financial_Reporting_Standa.pdf
PDF
Trump Administration's workforce development strategy
PDF
IGGE1 Understanding the Self1234567891011
PDF
HVAC Specification 2024 according to central public works department
PDF
Complications of Minimal Access-Surgery.pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
My India Quiz Book_20210205121199924.pdf
B.Sc. DS Unit 2 Software Engineering.pptx
International_Financial_Reporting_Standa.pdf
Trump Administration's workforce development strategy
IGGE1 Understanding the Self1234567891011
HVAC Specification 2024 according to central public works department
Complications of Minimal Access-Surgery.pdf
Weekly quiz Compilation Jan -July 25.pdf
Introduction to pro and eukaryotes and differences.pptx
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
Cambridge-Practice-Tests-for-IELTS-12.docx
What if we spent less time fighting change, and more time building what’s rig...
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
FORM 1 BIOLOGY MIND MAPS and their schemes
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf

Juniper JNCIA – Juniper Floating Static Route Configuration

  • 1. JUNIPER JNCI JUNIPER FLOATING STATIC ROUTE CONFIGURATION A S M E D U C AT I O N A L C E N T E R I N C . ( A S M ) WHERETRAINING,TECHNOLOGY&SERVICECONVERGE CHECKOUTOURJUNIPERTRAININGVIDEOS:WWW.ASMED.COM/J1
  • 2. JUNIPER FLOATING STATIC ROUTE CONFIGURATION
  • 3. JUNIPER FLOATING STATIC ROUTE CONFIGURATION In here R1 and R2 are connected via two cables e1 to e1 is 10.10.10.1/24 10.10.10.2/24 e3 to e3 is 40.40.40.1/24 40.40.40.2/24 Goal is to that R1 will be able go to Loopback address of R2=2.2.2.2 via Link e1=10.10.10.1 Here I will give IP address to R1 em1 , em3 and Lo0 root@R1# set interfaces em1 unit 0 family inet address 10.10.10.1/24 root@R1# set interfaces em3 unit 0 family inet address 40.40.40.1/24 root@R1# set interfaces lo0 unit 0 family inet address 1.1.1.1/24 Here are R1 Configuration
  • 4. JUNIPER FLOATING STATIC ROUTE CONFIGURATION root@R1> show configuration em1 { unit 0 { family inet { address 10.10.10.1/24; } } } em3 { unit 0 { family inet { address 40.40.40.1/24; } } } lo0 { unit 0 { family inet { address 1.1.1.1/24; } } } }
  • 5. JUNIPER FLOATING STATIC ROUTE CONFIGURATION Here I will give IP address to R2 em1 ,em2 , em3 and Lo0 root@R2# set interfaces em1 unit 0 family inet address 10.10.10.2/24 root@R2# set interfaces em3 unit 0 family inet address 40.40.40.2/24 root@R2# set interfaces lo0 unit 0 family inet address 2.2.2.2/24 root@R2# show interfaces em1 { unit 0 { family inet { address 10.10.10.2/24; } } } em2 { unit 0 { family inet { address 20.20.20.2/24; } } }
  • 6. JUNIPER FLOATING STATIC ROUTE CONFIGURATION em3 { unit 0 { family inet { address 40.40.40.2/24; } } } lo0 { unit 0 { family inet { address 2.2.2.2/24; } } } [edit] root@R2# Now In order R1 be able to Ping 2.2.2.2 using the Link e1 (that is next hop is 10.10.10.2) we need to use the commands: qualified-next- hop 10.10.10.2 preference 25 (remember the default preference for Static route=5) so I want other link to have a higher Preference
  • 7. JUNIPER FLOATING STATIC ROUTE CONFIGURATION Here I will do the Static Route On R1 root@R1# set routing-options static route 2.2.2.0/24 next-hop 10.10.10.2 root@R1# set routing-options static route 2.2.2.0/24 qualified-next-hop 40.40.40.2 preference 25 so above line means I go to Loopback 2.2.2.2 via next hop=10.10.10.1 ( as main route , since the default preference =5, and it is lower than 25) Here is another show commands on R1 root@R1# show routing-options static { route 2.2.2.0/24 { next-hop 10.10.10.2; qualified-next-hop 40.40.40.2 { preference 25; } } }
  • 8. JUNIPER FLOATING STATIC ROUTE CONFIGURATION Here is my routing table for R1 root@R1> show route protocol static inet.0: 7 destinations, 8 routes (7 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 2.2.2.0/24 *[Static/5] 00:01:45 > to 10.10.10.2 via em1.0 [Static/25] 00:09:07 > to 40.40.40.2 via em3.0 The asterisks (*) in the routing tables show the active routes. The backup routes are listed next. Since R2 has a static back to R1 ; I will be able ping 2.2.2.2 Now I will do the Static Route on R2 root@R2# set routing-options static route 1.1.1.0/24 next-hop 10.10.10.1
  • 9. JUNIPER FLOATING STATIC ROUTE CONFIGURATION Here is R2 information: root@R2# show routing-options static { route 1.1.1.0/24 next-hop 10.10.10.1; Now I can ping from R1 to 2.2.2.2 root@R1> ping 2.2.2.2 PING 2.2.2.2 (2.2.2.2): 56 data bytes 64 bytes from 2.2.2.2: icmp_seq=0 ttl=64 time=0.440 ms 64 bytes from 2.2.2.2: icmp_seq=1 ttl=64 time=0.454 ms 64 bytes from 2.2.2.2: icmp_seq=2 ttl=64 time=0.895 ms 64 bytes from 2.2.2.2: icmp_seq=3 ttl=64 time=0.832 ms 64 bytes from 2.2.2.2: icmp_seq=4 ttl=64 time=0.768 ms Making Sure That the Backup Route Becomes the Active Route
  • 10. JUNIPER FLOATING STATIC ROUTE CONFIGURATION If the primary route becomes not available, I need to make sure that the backup secondary route becomes active. So Now what I will do , I will disable the active route by deactivating the em1 interface on R1, and test it with ping root@R1# deactivate interfaces em1 unit 0 family inet address 10.10.10.1/24 So here is my show interface on R1 now root@R1# show interfaces em1 { unit 0 { family inet { inactive: address 10.10.10.1/24; } } } em3 { unit 0 { family inet { address 40.40.40.1/24; } } } lo0 { unit 0 { family inet { address 1.1.1.1/24; } } }
  • 11. JUNIPER FLOATING STATIC ROUTE CONFIGURATION As we see from above this has been deactivated for em1 , now according this commands I should be able ping 2.2.2.2 via 40.40.40.2 root@R1# show routing-options static { route 2.2.2.0/24 { next-hop 10.10.10.2; qualified-next-hop 40.40.40.2 { preference 25; } } } But let’s look at routing table in R1# root@R1> show route protocol static inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 2.2.2.0/24 *[Static/25] 01:10:58 > to 40.40.40.2 via em3.0 root@R1>
  • 12. JUNIPER FLOATING STATIC ROUTE CONFIGURATION Here in above we see that R1 will go to 2.2.2.2 via 40.40.40.2 root@R1> ping 2.2.2.2 PING 2.2.2.2 (2.2.2.2): 56 data bytes 64 bytes from 2.2.2.2: icmp_seq=0 ttl=64 time=0.583 ms 64 bytes from 2.2.2.2: icmp_seq=1 ttl=64 time=0.530 ms 64 bytes from 2.2.2.2: icmp_seq=2 ttl=64 time=0.576 ms 64 bytes from 2.2.2.2: icmp_seq=3 ttl=64 time=0.499 ms So in Summary; for the Floating static route you need to have these commands: root@R1# set routing-options static route 2.2.2.0/24 next-hop 10.10.10.2 root@R1# set routing-options static route 2.2.2.0/24 qualified-next-hop 40.40.40.2 preference 25 lets activate the interface em1 root@R1# activate interfaces em1 unit 0 family inet address 10.10.10.1/24 Here is my routing table which is back to normal; root@R1> show route protocol static inet.0: 7 destinations, 8 routes (7 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 2.2.2.0/24 *[Static/5] 00:00:37 > to 10.10.10.2 via em1.0 [Static/25] 01:15:31 > to 40.40.40.2 via em3.0
  • 13. A S M E D U C AT I O N A L C E N T E R I N C . ( A S M ) WHERETRAINING,TECHNOLOGY&SERVICECONVERGE W W W. A S M E D . C O M