Ipv6 address problem
-
my isp (otenet.gr) offers dual stack and i read that on some router modem (hawei,zte) it works with slaac and i fritz! it uses dhcp6.
When i try dhcp6, my wan interface shows as a ipv6 address fe80::xxx%re1 with mac address of the ethernet that connects to my adsl modem.
when i try slaac, my wan interface shows no ipv6 address.My Diagnostics: Routing tables for my ipv6 is
Internet6: Destination Gateway Flags Netif Expire default fe80::90:1a00:142:8493%pppoe0 UGS pppoe0 ::1 ::1 UH lo0 2a02:580:31b::/64 link#7 U pppoe0 2a02:580:31b:0(mac lan eth) link#7 UHS lo0 fe80::%re0/64 link#1 U re0 fe80::1%re0 link#1 UHS lo0 fe80::(mac lan eth)%re0 link#1 UHS lo0 fe80::%re1/64 link#2 U re1 fe80::(mac modem eth)%re1 link#2 UHS lo0 fe80::%lo0/64 link#3 U lo0 fe80::1%lo0 link#3 UHS lo0 fe80::%pppoe0/64 link#7 U pppoe0 fe80::(mac lan eth)%pppoe0 link#7 UHS lo0 ff01::%re0/32 fe80::(mac lan eth)%re0 U re0 ff01::%re1/32 fe80::(mac modem eth)%re1 U re1 ff01::%lo0/32 ::1 U lo0 ff01::%pppoe0/32 fe80::(mac lan eth)%pppoe0 U pppoe0 ff02::%re0/32 fe80::(mac lan eth)%re0 U re0 ff02::%re1/32 fe80::(mac modem eth)%re1 U re1 ff02::%lo0/32 ::1 U lo0 ff02::%pppoe0/32 fe80::(mac lan eth)%pppoe0 U pppoe0
from system logs - general
dhcp6c[43832]: dhcp6_get_addr: duplicated DNS address (2a02:580:200::100) dhcp6c[43832]: dhcp6_get_addr: duplicated DNS address (2a02:580:200::200) dhcp6c[43832]: dhcp6_get_options: unknown or unexpected DHCP6 option opt_20, len 0 dhcp6c[43832]: client6_recvadvert: XID mismatch (it gets repeated every 20 seconds)
from system logs - ppp
ppp: [wan] IPV6CP: Open event ppp: [wan] IPV6CP: state change Initial --> Starting ppp: [wan] IPV6CP: LayerStart ppp: [wan] IPV6CP: Up event ppp: [wan] IPV6CP: state change Starting --> Req-Sent ppp: [wan] IPV6CP: SendConfigReq #1 ppp: [wan] IPV6CP: rec'd Configure Ack #1 (Req-Sent) ppp: [wan] IPV6CP: state change Req-Sent --> Ack-Rcvd ppp: [wan] IPV6CP: rec'd Configure Request #229 (Ack-Rcvd) ppp: [wan] IPV6CP: SendConfigAck #229 ppp: [wan] IPV6CP: state change Ack-Rcvd --> Opened ppp: [wan] IPV6CP: LayerUp
ifconfig pppoe0
pppoe0: flags=88d1 <up,pointopoint,running,noarp,simplex,multicast>metric 0 mtu 1492 inet6 fe80::xxxx:xxxx:xxxx:xxxx(lan mac)%pppoe0 prefixlen 64 scopeid 0x7 inet x.x.x.x --> x.x.x.x netmask 0xffffffff inet6 2a02:580:31b:0:xxxx:xxxx:xxxx:xxxx(lan mac) prefixlen 64 autoconf nd6 options=3 <performnud,accept_rtadv>[/code [b]shouldnt my wan address be 2a02:580:31b:0(mac lan eth)? any hints on what i change to make it work properly?</performnud,accept_rtadv></up,pointopoint,running,noarp,simplex,multicast>
-
fe80:: is link-local. Not sure what you read but your ISP does not seem to deliver any IPv6 whatsoever no matter what.
-
hmm wierd, because from shell i can ping and traceroute ipv6 addresses.
My pppoe0 has an ipv6 address starting with 2a02:580:31b: but pfsense instead reads the local-link one.
My routing table contains the ipv6 prefix but it seems to be ignored.i do have ipv6 connectivity from shell but cant manage thru pfsense or doesnt get recognized properly.
-
Ok i guess ill give more info to see troubleshoot the problem. My setup is re0 is my local lan ethernet and re1 is my connection to my adsl modem.
I use PPPoE on my wan(re1) interface. From what i managed to check so far is that instead of checking pppoe0 interface for my ipv6 address it checks re1.
Maybe i understood wrong when i was selecting re1 as my wan interface? Should i have checked pppoe0? But its not created till i logging thru pppoe so it cant be.
Maybe my set up is not supported for ipv6? And my re1 should have access to ipv6? i.e. I turn my modem back again to a router, it gets an ipv6 address and re1 gets an ipv6 address and everything works?