IPv6 Static Routing On Juniper Routers

Juniper Static Routing Example

On Juniper routers to create a static route for IPv6 we use “routing-options” hierarchy as IPv4. But this time after this hierarchy, we go under another hierarchy, “ rib inet6.0”. The below example will be a basic example of configuring IPv6 static routes on Juniper routers.

As you see we have three routers again, and two networks. To ınform the edge routers about the other edge network, we will use static routes again, but this time with Ipv6 and on Juniper routers.
With the below commands, set the interfaces Ipv6 addresses.

For Junos1 Router:

[edit interfaces em0 unit 0 family inet6] root# set address 2001:200:20:1::1/64For Junos 2 Router: [edit interfaces em0 unit 0 family inet6] root# set address 2001:200:20:1::2/64 [edit interfaces em0 unit 0 family inet6][edit interfaces em1 unit 0 family inet6] root# set address 2001:200:30:2::2/64For Junos 3 Router:

[edit interfaces em0 unit 0 family inet6] root# set address 2001:200:30:2::1/64After committing these changes, it is time to add static routes and commit:

For Junos 1 Router:

[edit routing-options rib inet6.0] root# set static route 2001:200:30:2::1/128 next-hop 2001:200:20:1::2 [edit routing-options rib inet6.0] root# commit

We're Sorry!
Full Access is for only IPCisco Crew...
With IPCisco Membership, You Can Access:
• All Certification Courses (Cisco, Juniper, Nokia and Huawei),
• Thousands of Questions (Lesson Quizes and Special Quiz Section),
• Carieer Consultancy, CV/Resume Check, Career Advice Meeting,
• Cheat Sheets, Job Interview Trainings, Network Tools,
You will be Member of a Big IPCisco Community,
You will Learn Network Lessons with Always,
New And Different Learning Styles!
We are waiting for you!

Lesson tags: IPv6, Static Routing, junos, juniper
Back to: JNCIA Junos > Juniper JUNOS CLI

Leave a Reply

Your email address will not be published. Required fields are marked *