[j-nsp] Juniper -> FreeBSD IPv6 tunnel
Paul Connally
pconnally at utdallas.edu
Fri Apr 1 18:07:37 EST 2005
Ruud de Rooij wrote:
> On Apr 1, 2005, at 16:48, Paul Connally wrote:
>
>> I cannot figure out how to make an IPv6 in IPv4 tunnel between a Juniper
>> router and FreeBSD box work. Followed the advice on Juniper techpubs as
>> far as how to set up an IPv6 in IPv4 tunnel between two Juniper's, and
>> the standard FreeBSD gif tunnel stuff, and cannot get em to play nice.
>
>
>>> show configuration interfaces gr-2/1/0
>
>
> This creates a tunnel using GRE encapsulation. To use plain
> IPv6-in-IPv4 encapsulation use the ip-2/1/0 interface instead.
> show configuration interfaces ip-2/1/0
unit 0 {
tunnel {
source <Juniper IPv4>;
destination <FreeBSD IPv4;
}
family inet6 {
address <IPv6::1>/64;
Ok, I tried that. Things are a little better; at least now, when
pinging IPv6 from the FreeBSD box to the Juniper, the Juniper interface
sees in and out packets. However, not getting packets on the return
from the Juniper back towards the FreeBSD box; there's nothing listed
on the gif0 interface (though I'm definately seeing packets exit the
gif0 interfaces, and seeing them on the inbound at the Juniper):
# netstat -I gif0 1
input (gif0) output
packets errs bytes packets errs bytes colls
0 0 0 2 0 120 0
0 0 0 2 0 120 0
0 0 0 2 0 120 0
0 0 0 1 0 56 0
0 0 0 1 0 56 0
When I try pinging IPv6 from the Juniper to the FreeBSD box, it's zero's
all the way across on gif0. Nothing's coming in....
Anything else I might need in the Juniper config? Specify an unnumbered
'family inet' under the ip-2/1/0 unit 0?
More information about the juniper-nsp
mailing list