Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Sat Aug 19, 2017 2:44 am


Author Message
mandrei99
Post  Post subject: How to configure Junos ipv6 default route  |  Posted: Mon Feb 16, 2015 6:29 pm

Joined: Tue Aug 04, 2009 9:16 am
Posts: 245

Offline
 

How to configure Junos ipv6 default route

IPv6 traffic is classified as “inet6” family in Junos routing operating system. The default routing table holding ipv6 routes is named inet6.0.

IPv4 default route is formed of four 0 octets with a zero mask: 0.0.0.0/0 or 0/0 in Junos. In the same manner, rhe IPv6 default route expressed as sixteen 0 octets expressed by a zero subnet mask. But all sixteen bytes can be compressed into two consecutive colons - ::/0.

Check IPv6 prefixes/routes in Junos


Code:
admin@R1> show route table inet6.0

inet6.0: 13 destinations, 15 routes (13 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

2008:f234:ffff::1/128
                   *[Direct/0] 1w6d 03:54:29
                    > via lo0.0
2008:f234:ffff::ffff/128
                   *[Direct/0] 1w6d 03:54:29
                    > via lo0.0


Check if ipv6 default route exists


Code:
admin@R1> show route table inet6.0 ::/0 exact

admin@R1>

Configure IPv6 default route


Code:
admin@R1> configure
Entering configuration mode

[edit]
admin@R1# set routing-options rib inet6.0 static route ::/0 next-hop 2008:f234:ffff::e:0

[edit]
admin@R1# commit
commit complete

[edit]
admin@R1# run show route table inet6.0 ::/0 exact

inet6.0: 14 destinations, 16 routes (14 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

::/0               *[Static/5] 00:00:03
                    > to 2008:f234:ffff::e:0 via ge-0/0/4.0

Same as IPv4 routes, IPv6 have three minimum arguments: prefix, mask and next hop. One thing to note is that IPV6 routes have to be defined in “rib inet6.0” under “routing-options”.





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "How to configure Junos ipv6 default route"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Injecting a default route in an OSPF NSSA area from a Juniper device

mandrei99

0

2982

Sun Mar 15, 2015 5:24 pm

mandrei99 View the latest post

There are no new unread posts for this topic. Junos router advertisements - Unix IPv6 stateless autoconfiguration via SLAAC

admin

0

2903

Mon Jun 23, 2014 5:23 am

admin View the latest post

There are no new unread posts for this topic. Example of BGP update message sent from Junos for a VPLS circuit

mandrei99

0

667

Fri Jul 19, 2013 9:24 am

mandrei99 View the latest post

There are no new unread posts for this topic. Junos VPLS Label Block Operations - Example with BGP signaling

mandrei99

0

1712

Thu Jul 04, 2013 7:44 am

mandrei99 View the latest post

There are no new unread posts for this topic. Junos: BGP label allocation failure: Need a nexthop address on LAN

mandrei99

1

1105

Mon Nov 10, 2014 4:28 am

mandrei99 View the latest post

There are no new unread posts for this topic. Example of BGP update message sent from Junos device when export policy is modified

mandrei99

0

575

Fri Jul 19, 2013 9:09 am

mandrei99 View the latest post

There are no new unread posts for this topic. Junos: error: VRF: vrf-import needs at least one target community or a reject policy for vrf in

mandrei99

0

864

Wed Jul 03, 2013 8:39 am

mandrei99 View the latest post

There are no new unread posts for this topic. Junos: GRE interface in VR with local tunnel endpoint in main routing instance

mandrei99

0

2645

Thu May 23, 2013 9:33 am

mandrei99 View the latest post

There are no new unread posts for this topic. Understanding the OSPF External NSSA LSA Metric Type 1 with JunOS examples

mandrei99

0

1464

Sun Mar 15, 2015 1:51 pm

mandrei99 View the latest post

There are no new unread posts for this topic. Junos VPLS Virtual circuit stuck in "VC-Dn" state

mandrei99

0

1887

Tue Jul 09, 2013 9:48 am

mandrei99 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO