OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: Hopmeister on January 12, 2022, 06:23:27 pm

Title: IPv6 BT Openreach FTTP, OpenWRT and OPNsense - SOLVED
Post by: Hopmeister on January 12, 2022, 06:23:27 pm
Finally got it all working. The trick was /56 from BT and the /60 on OPNsense WAN. Then it all worked.

Openwrt:
/56 request from BT
IPv6 settings under DHCP - RA server mode, DHCPv6-Service server mode, NDP proxy hybrid, DHCPv6-Mode stateless & stateful

OPNsense:
WAN (igb0) IPv4 = DHCP
IPv6 = DHCPv6
DHCPv6 client config:
Config mode = basic
Request only IPv6 prefix = unticked (do not select)
Prefix delegation size = 60
Send IPv6 prefix hint = ticked/selected
Use IPv4 connectivity = ticked/selected

LAN (igb1 and others):
IPv4 type = static IPv4
IPv6 type = Track interface
Static IPv4 = 172.16.1.1 (or whatever you want)
IPv4 upstream gateway = auto-detect

Track IPv6 interface:
IPv6 interface = WAN
IPv6 Prefix ID = 0 (no idea what it does but it works)
Manual configuration = tick/selected

Hope that helps someone
 8)
Title: Re: IPv6 BT Openreach FTTP, OpenWRT and OPNsense - SOLVED
Post by: marjohn56 on January 12, 2022, 09:09:18 pm
Might I ask why you are using an OpenWRT device  in front of Opnsense?
Title: Re: IPv6 BT Openreach FTTP, OpenWRT and OPNsense - SOLVED
Post by: Hopmeister on January 13, 2022, 10:55:28 am
Hi,

Yes of course. The PPPoE only gives me 250MB/s from the ONT. If I put my ISP box or my Openwrt router into the ONT then I get full 500MB/s out of the OPNsense interface.

When I had 150/30 FTTP it wasn't an issue, but at 500/73 it is an issue as I only get 250/73. With ISP & Openwrt I get 500/73.

I've been told there are tuneable to try and mitigate this and will try them out in due course. Both of us work from home and do a lot of teams calls so I can't investigate during the working day.
Title: Re: IPv6 BT Openreach FTTP, OpenWRT and OPNsense - SOLVED
Post by: marjohn56 on January 13, 2022, 01:28:12 pm
OK, so OpenWRT is also PPoE but you get the full bandwidth, with OpnSense you do not... interesting. Fortunately my fttp is just straight DHCP into the ONT and I do not have that issue. Different provider of course, 900 symetrical without any problems.
Title: Re: IPv6 BT Openreach FTTP, OpenWRT and OPNsense - SOLVED
Post by: Hopmeister on January 13, 2022, 01:34:00 pm
Exactly. I've searched this morning for any fixes but can't seem to find anything about BTOR. Lots of VLAN101, not it's not, yes it is...

Just strange that in IP it's 1GB traffic and in PPPoE it's 250MB/s. I wonder what the overhead differences are?
Title: Re: IPv6 BT Openreach FTTP, OpenWRT and OPNsense - SOLVED
Post by: marjohn56 on January 13, 2022, 02:27:26 pm
Not much, certainly not 250Mbps, PPPoE can specifiy bandwidth, but it appears OK with WRT. Might be a FreeBSD12 thing. You can always try 22.1 RC1 which is now available, that's running FreeBSD13.
Title: Re: IPv6 BT Openreach FTTP, OpenWRT and OPNsense - SOLVED
Post by: marjohn56 on January 13, 2022, 02:42:48 pm
https://bsdrp.net/documentation/technical_docs/performance (https://bsdrp.net/documentation/technical_docs/performance) - Search for PPPoE in that doc.
Title: Re: IPv6 BT Openreach FTTP, OpenWRT and OPNsense - SOLVED
Post by: stevie on July 03, 2022, 08:51:03 pm
I will take the thread up again, since the topic is definitely interesting for one or the other. I myself do not use OPNsense yet, but I am aware of the problem and have searched for it in the forum because I have high interest in OPNsense.

The PPPoE only gives me 250MB/s from the ONT. If I put my ISP box or my Openwrt router into the ONT then I get full 500MB/s out of the OPNsense interface.

Wouldn't it have been easier to simply configure OpenWrt as a (half)bridge?
There was a similar question here
https://www.reddit.com/r/openwrt/comments/ohq454/how_do_i_put_openwrt_in_bridge_mode_openwrt_pppoe/

If the OpenWrt device is in front of the OPNsense anyway, couldn't you also use Cake?
Cake is said to be superior to fq_codel.