Discussion:
need help with ipv6
(too old to reply)
kasak
2016-07-29 18:54:43 UTC
Permalink
Hello everybody. I have a strange issue with ipv6 on my router. I have a
HE.net tunnel on gif0:

here is my hostname.gif0:

$ cat /etc/hostname.gif0
tunnel 91.210.228.4 216.66.86.114
inet6 alias 2001:470:6c:12d::2 128
dest 2001:470:6c:12d::1
!route -n add -inet6 default 2001:470:6c:12d::1

my routable net is 2001:470:6d:12d::

I have added address 2001:470:6d:12d::e1 on my em1 (lan) interface and
can successfully ping it from lan network

but if I add 2001:470:6d:12d::e0 to em0 interface none of my lan
computers can ping it. disabling of pf doesn't solve issue.

I have rtadvd enabled on em1. here is hostname.em1:

inet 192.168.0.1 255.255.255.0
inet6 2001:470:6d:12d::e1 64

Does somebody know what I am doing wrong?
Stuart Henderson
2016-07-29 21:49:47 UTC
Permalink
Post by kasak
Hello everybody. I have a strange issue with ipv6 on my router. I have a
$ cat /etc/hostname.gif0
tunnel 91.210.228.4 216.66.86.114
inet6 alias 2001:470:6c:12d::2 128
dest 2001:470:6c:12d::1
!route -n add -inet6 default 2001:470:6c:12d::1
I have added address 2001:470:6d:12d::e1 on my em1 (lan) interface and
can successfully ping it from lan network
but if I add 2001:470:6d:12d::e0 to em0 interface none of my lan
computers can ping it. disabling of pf doesn't solve issue.
inet 192.168.0.1 255.255.255.0
inet6 2001:470:6d:12d::e1 64
Does somebody know what I am doing wrong?
You need more subnets. What you are doing now is like having
10.0.0.1/24 on one interface and 10.0.0.2/24 on another separate
interface. Machines on a network attached to one interface can't
resolve the address by ARP (in the case of IPv4) or NDP (in the
case of IPv6) for the address on the other interface.

I'm not too familiar with he.net's setup any more, but it's
fairly common for a tunnel broker to give you a /48 which you
can divide up yourself.
kasak
2016-07-30 16:59:38 UTC
Permalink
Post by Stuart Henderson
Post by kasak
Hello everybody. I have a strange issue with ipv6 on my router. I have a
$ cat /etc/hostname.gif0
tunnel 91.210.228.4 216.66.86.114
inet6 alias 2001:470:6c:12d::2 128
dest 2001:470:6c:12d::1
!route -n add -inet6 default 2001:470:6c:12d::1
I have added address 2001:470:6d:12d::e1 on my em1 (lan) interface and
can successfully ping it from lan network
but if I add 2001:470:6d:12d::e0 to em0 interface none of my lan
computers can ping it. disabling of pf doesn't solve issue.
inet 192.168.0.1 255.255.255.0
inet6 2001:470:6d:12d::e1 64
Does somebody know what I am doing wrong?
You need more subnets. What you are doing now is like having
10.0.0.1/24 on one interface and 10.0.0.2/24 on another separate
interface. Machines on a network attached to one interface can't
resolve the address by ARP (in the case of IPv4) or NDP (in the
case of IPv6) for the address on the other interface.
I'm not too familiar with he.net's setup any more, but it's
fairly common for a tunnel broker to give you a /48 which you
can divide up yourself.
Thank you very much! It was so simple!

Loading...