ipv6 setup.

Ørjan Tønder orjan.tonder at gmail.com
Wed Feb 1 09:53:47 UTC 2017


I am trying too get ipv6 up and running but i cant get outside.

-- /etc/rc.conf
ipv6_default_interface="re0"
#ifconfig_re0_ipv6="inet6 accept_rtadv"
ifconfig_re0_ipv6="inet6 2a01:4f8:131:50a1::2/64"
ipv6_defaultrouter="inet6 fe80::1%re0"


-- Routing tables

Internet6:
Destination                       Gateway                       Flags
 Netif Expire
::/96                             ::1                           UGRS
 lo0
default                           fe80::1%re0                   UGS
re0
::1                               link#2                        UH
 lo0
::ffff:0.0.0.0/96                 ::1                           UGRS
 lo0
2a01:4f8:131:50a1::/64            link#1                        U
re0
2a01:4f8:131:50a1::2              link#1                        UHS
lo0
fe80::/10                         ::1                           UGRS
 lo0
fe80::%re0/64                     link#1                        U
re0
fe80::6e62:6dff:fe7c:2c98%re0     link#1                        UHS
lo0
fe80::%lo0/64                     link#2                        U
lo0
fe80::1%lo0                       link#2                        UHS
lo0
fe80::%tun0/64                    link#8                        U
 tun0
fe80::6e62:6dff:fe7c:2c98%tun0    link#8                        UHS
lo0
ff01::%re0/32                     2a01:4f8:131:50a1::2          U
re0
ff01::%lo0/32                     ::1                           U
lo0
ff01::%tun0/32                    fe80::6e62:6dff:fe7c:2c98%tun0 U
 tun0
ff02::/16                         ::1                           UGRS
 lo0
ff02::%re0/32                     2a01:4f8:131:50a1::2          U
re0
ff02::%lo0/32                     ::1                           U
lo0
ff02::%tun0/32                    fe80::6e62:6dff:fe7c:2c98%tun0 U
 tun0

ping6 ::1
PING6(56=40+8+8 bytes) ::1 --> ::1
16 bytes from ::1, icmp_seq=0 hlim=64 time=0.050 ms

ping6 2a01:4f8:131:50a1::2
PING6(56=40+8+8 bytes) 2a01:4f8:131:50a1::2 --> 2a01:4f8:131:50a1::2
16 bytes from 2a01:4f8:131:50a1::2, icmp_seq=0 hlim=64 time=0.055 ms


ping6 2001:4860:4860::8888
PING6(56=40+8+8 bytes) 2a01:4f8:131:50a1::2 --> 2001:4860:4860::8888
ping6: sendmsg: Operation not permitted
ping6: wrote 2001:4860:4860::8888 16 chars, ret=-1

traceroute6 2001:4860:4860::8888
traceroute6 to 2001:4860:4860::8888 (2001:4860:4860::8888) from
2a01:4f8:131:50a1::2, 64 hops max, 12 byte packets
sendto: Operation not permitted
 1 traceroute6: wrote 2001:4860:4860::8888 12 chars, ret=-1
 2a01:4f8:131:50a1::2  0.065 mssendto: Operation not permitted

I have in pf.conf
pass quick on $ext_if proto ipv6

I cant understand what i am missing, still learning the ropes of ipv6.

could anyone help me getting this up and running?


More information about the freebsd-net mailing list