Hurricane Electric's IPv6 Tunnel Broker Forums
May 25, 2013, 12:22:58 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Hurricane Electric's Tunnelbroker.net forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Configuring Juniper NetScreen  (Read 8477 times)
kevinstevens
Newbie
*
Posts: 2


View Profile
« on: August 27, 2008, 01:40:26 pm »

I'm struggling a bit with my Juniper NetScreen (ScreenOS, not JunOS), because there doesn't seem to be an option to set up an UN-encrypted tunnel for 6-over-4...

KeS
« Last Edit: August 29, 2008, 04:03:48 pm by broquea » Logged
Goofball
Newbie
*
Posts: 2


View Profile
« Reply #1 on: August 29, 2008, 03:58:42 pm »

I'm struggling a bit with my Juniper NetScreen (ScreenOS, not JunOS), because there doesn't seem to be an option to set up an UN-encrypted tunnel for 6-over-4...

KeS

I'm having the same issue here with an SSG5 running ScreenOS v6.1.0r3 (also tested r2) when using HE as the tunnel broker. I've tried everything I can think of to make the tunnel work with no success.

A "heartbeat" tunnel set up with SixXS using the same configuration in ScreenOS as the HE tunnel doesn't have the same issue. It comes right up and starts passing traffic as soon as the first heartbeat goes out from the software client.

NOTE: I have not tried a static tunnel or even set up a routed subnet with SixXS due to their ISK "currency" limits...

Relevant config from working SixXS tunnel:
! Turn on IPV6 (reboot required)
set envar ipv6=yes

! Set Up Untrusted Ethernet Interface with our side of IPv6 in v4 tunnel IPv6 address
set interface "ethernet0/0" ipv6 mode "host"
set interface "ethernet0/0" ipv6 ip 2001:1938:XXXX:XXXX::2/64
set interface "ethernet0/0" ipv6 enable

! Set Up Tunnel Interface (Interface tunnel.2 is used in my setup because of existing VPN tunnel on interface tunnel.1)
set interface tunnel.2 ip unnumbered interface ethernet0/0
set interface "tunnel.2" zone "Untrust"
set interface "tunnel.2" ipv6 mode "host"
set interface "tunnel.2" ipv6 enable
set interface tunnel.2 tunnel encap ip6in4 manual
set interface tunnel.2 tunnel local-if ethernet0/0 dst-ip 209.197.5.66
set interface tunnel.2 mtu 1480

! Set default route for IPv6 traffic
set route ::/0 interface tunnel.2 gateway :: preference 20

! Set route to SixXS PoP IPv6 ip to use tunnel interface due to /64
! being configured on ethernet0/0 instead of unnumbered and non-addressable tunnel.2 interface
set route 2001:1938:XXXX:XXXX::1/128 interface tunnel.2 gateway :: preference 20

Everything with this setup comes up and I can ping IPv6 hosts from the SSG5 as expected.

Note - I tried to use the basic setup from http://bart.motd.be/configuring-ipv6-tunnel-netscreen-ssg-firewall for both HE and SixXS (HE never worked with this as well) - This caused the SSG5 to lock up and restart about every 5 minutes. I am guessing it is because of the way the tunnel interface was set up as a numbered interface with no IPv4 address. Something in v6.1.0r3 does NOT like it. The current config I listed above seems to be stable so far.
« Last Edit: August 29, 2008, 04:20:36 pm by Goofball » Logged
Goofball
Newbie
*
Posts: 2


View Profile
« Reply #2 on: August 29, 2008, 04:23:06 pm »

Side note: I am willing to clear out confidential and private portions of my config and set up remote access to my SSG5 for HE personnel who might want to test.
Logged
kevinstevens
Newbie
*
Posts: 2


View Profile
« Reply #3 on: September 08, 2008, 12:21:52 pm »

Interesting.  Let me play with your config a little - I'm on r3 as well.  I have a spare interface and access to a Juniper rep   Cool.

Thanks for the response!

KeS
« Last Edit: September 08, 2008, 12:25:06 pm by kevinstevens » Logged
comptech
Newbie
*
Posts: 31


View Profile
« Reply #4 on: April 22, 2011, 07:37:43 pm »

I hate to bring up a good and dead topic but...
I used Goofball's config example to setup my tunnel to HE when the other example I found here didn't work.
I have a Netscreen NS204 running 5.4.0r17.0 and it works great.

My config for those interested:
Code:
set interface "ethernet1" ipv6 mode "host"
set interface "ethernet1" ipv6 ip 2001:X:X:X::2/64
set interface "ethernet1" ipv6 enable
unset interface ethernet1 ipv6 nd nud
set interface ethernet1 ipv6 nd dad-count 0
set interface "tunnel.1" zone "Untrust"
set interface tunnel.1 ip unnumbered interface ethernet1
set interface "tunnel.1" ipv6 mode "host"
set interface "tunnel.1" ipv6 enable
set interface tunnel.1 tunnel encap ip6in4 manual
set interface tunnel.1 tunnel local-if ethernet1 dst-ip 209.X.X.X
set interface tunnel.1 mtu 1480
set interface tunnel.1 ipv6 nd nud
set route ::/0 interface tunnel.1 gateway :: preference 20
set route 2001:X:X:X::1/128 interface tunnel.1 gateway :: preference 20
« Last Edit: April 23, 2011, 09:04:40 am by comptech » Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!