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

10 posts

Wannabe Geek

Topic # 223985 27-Oct-2017 11:47
Send private message

I just bought a new router, the NETGEAR R7800, and installed LEDE firmware.


I intend to have this as the main router and wireless AP, with it connected to the ONT. No other routers involved.


My ISP is 2Degrees and I am on 100/20 UFB.


How do I go about setting it up to work in this configuration?




Currently, LEDE is default with the exception that I have enabled WiFi. By default, it is set to DHCP and so I have the Netgear currently plugged into the ISP supplied router's LAN port (FRITZ!Box 7490) for internet access and to configure the Netgear router.


I read that I need to change it from DHCP to PPOE, put in my ISP account information, and set VLAN to 10, not sure if that is absolutely everything, how do I go about doing that?




Here are some screenshots of the configuration pages:





Filter this topic showing only the reply marked as answer Create new topic

10 posts

Wannabe Geek

  Reply # 1891837 28-Oct-2017 13:05
Send private message

Any help would be much appreciated. I am most unsure about the interfaces in the 'Switches' tab and the 'Physical Settings' tabs.





353 posts

Ultimate Geek
+1 received by user: 73

  Reply # 1892038 29-Oct-2017 00:06
One person supports this post
Send private message

I have a Linksys WRT1900ac running LEDE working as an access point only, not as a router, but I tried a few things with the GUI without actually making any changes and I think I can point you at how to do it.


In LUCI, go to Network > Switch.  Under VLANs, click the "Add" button.  On the new VLAN, change the VLAN ID to 10 and set "CPU (eth0)" to untagged and "WAN" to tagged.  This creates a VLAN on the CPU's eth0 interface that is tagged as VLAN 10 on the WAN port on the outside of the router.  The VLAN 10 tag is removed from the packets from the WAN port as they enter the eth0 port ready for routing inside the router.


Then go to Network > Interfaces.  Click "Add new interface".  Give the new interface a name (eg "ISP") and change the "Protocol of the new interface" to PPPoE.  In the list under "Cover the following interface" you should see the new VLAN  10 interface you have just created.  Select that interface and click "Submit".  There should then be a way of giving the user ID and password for the PPPoE connection somewhere - I am not sure about how that works.


So now you should have a PPPoE client running on VLAN 10 on the WAN port.  At this point, having not actually tried this, I am not sure if it will just work, or if there is more config needed.  You may need to go Network > Static routes and create a static default route ( on the PPPoE interface.  You will need to set up firewall settings so that NAT masquerading is done on the PPPoE interface.


Note that the UFB connection is overprovisioned to allow for ISP connections using PPPoE.  The PPPoE protocol adds an extra 8 bytes of PPPoE headers to each packet, so you set the Ethernet interface to the ONT to use an MTU of 1508, and the PPPoE interface can then be set to an MTU of 1500 (overriding its normal default), allowing full size TCP/IP packets to be sent.  Without that, your internal network will be using an MTU of 1500 but the PPPoE interface will only be able to handle packets of size 1500-8=1492, so IPv4 packets of size 1493-1500 will be fragmented, slowing down the connection.  And 2Degrees supports IPv6, and if you enable that with the PPPoE interface only handling packets up to 1492 bytes, there will be nasty problems where the IPv6 packets in the 1492-1500 byte range may be silently dropped, as IPv6 does not do fragmentation and the commonly available PPPoE software has a bug that fails to send the required IPv6 ICMPv6 packet to notify the TCP/IP stack when it drops over long packets.


For anyone reading this who is using a FritzBox on 2Degrees, they normally set up the overprovisioning automatically as part of the normal 2Degrees config that they load into the FritzBox.  But if you are using IPv6 and have problems with IPv6 capable web sites that use long frames, call 2Degrees to get them to check your config.  The normal site that always causes problems that people notice when IPv6 is set up for the first time but the overprovisioning is not set up properly is Facebook.  It pretty much stops working as its opening pages send lots of full length IPv6 frames.


Note: I have my WRT1900ac running LEDE 17.01.4+updates - this has the KRACK fixes and KRACK mitigation option installed.  The ability to use the GUI to set the "option wpa_disable_eapol_key_retries '1'" KRACK mitigation option only comes if you run "opkg update" and upgrade all the updated LUCI packages to the newest version.  Anyone using OpenWRT/LEDE on a WiFi device should update to this version immediately and do all the updates, then set that option.


For more help, the LEDE forums are here:

10 posts

Wannabe Geek

  Reply # 1900602 14-Nov-2017 12:24
Send private message

Hi, sorry for the late reply. I did the vlan 10 on the switch and the connection worked straight away. I came back and reread your additional information. Not sure if I have to do anything else to get an optimal connection if it is already working.


All I did was the following:





  • The static route page is empty, not sure if I should set up that static route regardless.
  • The Override MTU entries for LAN, WAN, and WAN6, have a greyed out 1500. You reckon I should change the LAN to 1508 and the WAN & WAN6 to 1500?
  • I will look at updating the packages. I just installed a custom firmware that was already built for this router.


10 posts

Wannabe Geek

  Reply # 1900612 14-Nov-2017 12:32
Send private message

I set LAN to 1508 MTU, and WAN & WAN6 to 1500 MTU.


  • At I get a 10/10 score for IPv6.
  • Speed test results look normal.

It doesn't seem to have broken anything by doing this, but if I did it wrong, let me know.

10 posts

Wannabe Geek

  Reply # 1900625 14-Nov-2017 12:57
Send private message

SQM QoS also has an option regarding the MTU. There is page called Link Layer Adaptation, where I can specify a link layer to account for.


  • None (default)
  • Ethernet with overhead
  • ATM

There is also a checkbox for advanced options for MTU >1500.


Here is what it looks like when I click Ethernet with overhead and tick the checkbox, these are the default values when doing so:



For now, I left the checkbox unticked and just set the overhead to Ethernet and 8 bytes.


Everything is working fine, but I can't see any difference between this and leaving all the MTU and overhead settings as default.

10 posts

Wannabe Geek

  Reply # 1900659 14-Nov-2017 13:38
Send private message

I reset the MTU and overhead to default. Everything works fine. IPv6 tests are 10/10.





Test IPv6 large packet





ok (0.822s) using ipv6






Maybe 2Degrees fixed it?

353 posts

Ultimate Geek
+1 received by user: 73

  Reply # 1900982 14-Nov-2017 21:29
Send private message



I reset the MTU and overhead to default. Everything works fine. IPv6 tests are 10/10.


Test IPv6 large packet   ok (0.822s) using ipv6


Maybe 2Degrees fixed it?



Even if they did, without you using the overprovisioning you will still be slowing down your IPv6 traffic by using smaller packet sizes - it will just be happening automatically using the MTU discovery mechanism.  So if you can set up PPPoE to use an MTU of 1508, you should.

10 posts

Wannabe Geek

  Reply # 1900995 14-Nov-2017 22:25
Send private message

Alright thanks for the help. I'll set it to LAN 1508, WAN 1500 again.

Filter this topic showing only the reply marked as answer Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

News »

Hawaiki Transpacific cable ready-for-service
Posted 20-Jul-2018 11:29

Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40

Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36

Microsoft ices heated developers
Posted 6-Jul-2018 20:16

PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45

Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40

Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04

N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08

Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03

Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27

Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13

Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00

Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12

Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52 to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34

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.

Alternatively, you can receive a daily email with Geekzone updates.