SRX Services Gateway
Reply
Contributor
paulkil
Posts: 127
Registered: ‎11-05-2010
0
Accepted Solution

IPv6 default gateway

Hi there,

I've a SRX with a IPv4 default gateway pointing to my IPsec tunnel. Now I've added IPv6 and want to create an IPv6 default gateway that points to the GRE tunnel interface.

 

How do I do this in junos?

 

Thanks,

 

Paul

 

 

Recognized Expert
Mattia
Posts: 198
Registered: ‎03-17-2010

Re: IPv6 default gateway

Hi Paul,

these are the commands needed in Junos in order to create a static route for IPv6 traffic (therefore into the inet6.0 table), wich points to the GRE interface:

 

routing-options {
    rib inet6.0 {
        static {
            route ::/0 next-hop gr-0/0/0.0;
        }
    }

  

Hope it helps,

Mattia

.................................................................................
JNCIP-ENT, JNCIP-SEC, JNCIS-SP
(If this post helped you, please mark it as an "Accepted Solution"; kudos are also appreciated!)


Contributor
paulkil
Posts: 127
Registered: ‎11-05-2010
0

Re: IPv6 default gateway

Fantastique!!!

 

Thanks Mattia that worked a treat,

 

Paul

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.