Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


cokemaster

Exited
4937 posts

Uber Geek
+1 received by user: 1089

Retired Mod
Trusted
Lifetime subscriber

#265711 6-Feb-2020 18:27
Send private message

I've got an interesting problem. I've got a connection with an ISP that offers IPv6 (2D) and have a static IPv4 and IPv6. 

Having previously configured the Edge router for IPv4, I've successfully configured it to pick up IPv6 and have IPv6 connectivity, EXCEPT for my Google Wifi network.
Click to see full size

 

Click to see full size

 

On the Google Wifi, I have turned IPv6 on but keep getting the below error: 

 

Click to see full size

 

There doesn't appear to be any options for IPv6 except to turn it on or off. The Google Wifi is in NAT / DHCP mode (in order to get mesh support).

 

Has anyone come across this before? 





webhosting

Loose lips may sink ships - Be smart - Don't post internal/commercially sensitive or confidential information!


Create new topic
LennonNZ
2459 posts

Uber Geek
+1 received by user: 411

ID Verified
Trusted

  #2413799 6-Feb-2020 19:00
Send private message

Are you assigning the same /64 on both interfaces?

Or are you being assigned a /56 and then splitting it up and putting a different /64 out of it on eth1 and eth2 ?

 

 

 

 




cokemaster

Exited
4937 posts

Uber Geek
+1 received by user: 1089

Retired Mod
Trusted
Lifetime subscriber

  #2413810 6-Feb-2020 19:11
Send private message

I've been assigned a /56 - Currently configured as 2406:e001:x:xxxx::1/64 on eth1 and 2406:e001:x:xxxx::2/64 on eth2.





webhosting

Loose lips may sink ships - Be smart - Don't post internal/commercially sensitive or confidential information!


LennonNZ
2459 posts

Uber Geek
+1 received by user: 411

ID Verified
Trusted

  #2413824 6-Feb-2020 19:41
Send private message

https://support.google.com/wifi/answer/6361450?hl=en

 

 "If the ISP’s prefix is 64 bits, IPv6 won’t be available on the guest network."

You need to allocate a larger than /64 on eth1 .

 

As far a I know the Google Wifi is a router with outside (ethernet) and inside (wifi) so if you only allocate a /64 on the outside it can't allocate a /64 in the inside . (as a /64 is the smallest you should subnet).

 

 




fe31nz
1294 posts

Uber Geek
+1 received by user: 423


  #2413923 7-Feb-2020 01:16
Send private message

No, you actually need to allocate a /64 properly on both subnets.  What you have done is not creating two /64s, but something strange with the same /64.  The meaning of "/64" is a netmask of 64 bits (out of the 128 bits of an IPv6 address).  So that means the top 64 bits are the subnet /64 address and and must be different on each subnet.  The bottom 64 bits are used to select the device address within each subnet.  Your assigned /56 address block is 2406:e001:xxxx:xxyy::/56.  The x octets are the assigned address, the y octets and any to the right of them are for you to assign on your network.  So your two /64 subnets should be something like this: 2406:e001:xxxx:xx01::/64 and 2406:e001:xxxx:xx02::/64.

 

In theory, you can assign IPv6 subnets that are less than /64, but a lot of IPv6 implementations are broken when it comes to supporting that, so in practice no-one ever creates a real life IPv6 subnet that is anything other than a /64.


nicmair
250 posts

Master Geek
+1 received by user: 40


  #2413956 7-Feb-2020 08:51
Send private message

not related to your issue, but how did you get IPV6 working on 2D, I have tired (repeatedly) to get IPV6 working (mostly following the tutorial put together by Micheal, then a lot of Googling), but never had any success.  Be keen to see what commands you used.

 

 

 

Thanks    


cokemaster

Exited
4937 posts

Uber Geek
+1 received by user: 1089

Retired Mod
Trusted
Lifetime subscriber

  #2414092 7-Feb-2020 10:10
Send private message

@nicmair - I used 

 

 

set interfaces ethernet eth0 vif 10 pppoe 0 ipv6 enable
edit interfaces ethernet eth0 vif 10 pppoe 0 dhcpv6-pd pd 0
set prefix-length /56
set interface eth1 host-address ::1
set interface eth1 prefix-id :0
set interface eth1 service slaac
top
set interfaces ethernet eth0 vif 10 pppoe 0 dhcpv6-pd prefix-only
commit
save

 

 

That seemed to get the first part working





webhosting

Loose lips may sink ships - Be smart - Don't post internal/commercially sensitive or confidential information!


 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Free setup code: R587125ERQ6VE. Note that to use Quic Broadband you must be comfortable with configuring your own router.
cokemaster

Exited
4937 posts

Uber Geek
+1 received by user: 1089

Retired Mod
Trusted
Lifetime subscriber

  #2414217 7-Feb-2020 13:37
Send private message

I’ve done some more tinkering... suspect that it’s still not quite right.
Click to see full size




webhosting

Loose lips may sink ships - Be smart - Don't post internal/commercially sensitive or confidential information!


cokemaster

Exited
4937 posts

Uber Geek
+1 received by user: 1089

Retired Mod
Trusted
Lifetime subscriber

  #2414339 7-Feb-2020 17:09
Send private message

This is the config that I'm currently using: 

 

 

set interfaces ethernet eth0 duplex auto
set interfaces ethernet eth0 ipv6 dup-addr-detect-transmits 1
set interfaces ethernet eth0 mtu 1508
set interfaces ethernet eth0 speed auto
set interfaces ethernet eth0 vif 10 ipv6 dup-addr-detect-transmits 1
set interfaces ethernet eth0 vif 10 mtu 1508
set interfaces ethernet eth0 vif 10 pppoe 0 default-route auto
set interfaces ethernet eth0 vif 10 pppoe 0 dhcpv6-pd pd 0 interface eth1 host-address '::1'
set interfaces ethernet eth0 vif 10 pppoe 0 dhcpv6-pd pd 0 interface eth1 prefix-id ':3'
set interfaces ethernet eth0 vif 10 pppoe 0 dhcpv6-pd pd 0 interface eth1 service slaac
set interfaces ethernet eth0 vif 10 pppoe 0 dhcpv6-pd pd 0 interface eth2 host-address '::1'
set interfaces ethernet eth0 vif 10 pppoe 0 dhcpv6-pd pd 0 interface eth2 prefix-id ':2'
set interfaces ethernet eth0 vif 10 pppoe 0 dhcpv6-pd pd 0 interface eth2 service slaac
set interfaces ethernet eth0 vif 10 pppoe 0 dhcpv6-pd pd 0 prefix-length /56
set interfaces ethernet eth0 vif 10 pppoe 0 dhcpv6-pd rapid-commit enable
set interfaces ethernet eth0 vif 10 pppoe 0 firewall in ipv6-name WAN6_IN
set interfaces ethernet eth0 vif 10 pppoe 0 firewall local ipv6-name WAN6_LOCAL
set interfaces ethernet eth0 vif 10 pppoe 0 ipv6 address autoconf
set interfaces ethernet eth0 vif 10 pppoe 0 ipv6 dup-addr-detect-transmits 1
set interfaces ethernet eth0 vif 10 pppoe 0 ipv6 enable
set interfaces ethernet eth0 vif 10 pppoe 0 mtu 1500
set interfaces ethernet eth0 vif 10 pppoe 0 name-server auto
set interfaces ethernet eth0 vif 10 pppoe 0 password <password>
set interfaces ethernet eth0 vif 10 pppoe 0 user-id <username>@snap.net.nz

 





webhosting

Loose lips may sink ships - Be smart - Don't post internal/commercially sensitive or confidential information!


Rudy117
3 posts

Wannabe Geek


  #2434357 7-Mar-2020 21:52
Send private message

Have you had any luck with getting this working? 

 

I have exactly the same set up and also cannot get IPv6 working on my google wifi. 


cokemaster

Exited
4937 posts

Uber Geek
+1 received by user: 1089

Retired Mod
Trusted
Lifetime subscriber

  #2434372 7-Mar-2020 23:56
Send private message

I actually gave up using the Edgerouter. I posted on the official forums and got some suggestions, i was only able to get IPv6 on google wifi by using the Fritz box router and enabling prefix delegation there.

The google wifi will request a /62. I suspect it will request another /62 if you enable guest wifi.

There were some suggestions that the edge router didn’t support downstream prefix delegation.




webhosting

Loose lips may sink ships - Be smart - Don't post internal/commercially sensitive or confidential information!


Rudy117
3 posts

Wannabe Geek


  #2436006 10-Mar-2020 21:02
Send private message

ok, thanks!

 

That's a bit frustrating though, would have been nice to keep the Google Wifi on my edgerouter.


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.