GRE between Netscreen and FreeBSD
Tuesday, April 25th, 2006Due to special request to do tunnelling with any available products which is one Netscreen 204 and one PC router based on FreeBSD 5.4, I tried to establish a GRE tunnel between them.
It’s works. And this is the configuration in both nodes:
—-(subnet A)—FreeBSD router—–(LAN/WAN)—–Netscreen—-Subnet B
===============Netscreen 204 Configuration===================
set interface “tunnel.1″ zone “Untrust”
set interface tunnel.1 ip 22.22.22.1/30
set interface tunnel.1 tunnel encap gre
set interface tunnel.1 tunnel local-if ethernet1.11 dst-ip 192.168.1.2
set interface tunnel.1 mtu 1450
========FreeBSD 5.4 Configuration============================
ifconfig gre0 create
ifconfig gre0 tunnel 192.168.1.2 10.242.2.129
ifconfig gre0 inet 22.22.22.2 22.22.22.1 netmask 0xffffffff link0 up
ifconfig gre0 mtu 1450
-rendo-

