Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Maurice

#1
Quote from: dseven on April 01, 2026, 02:27:30 PMIn my mind, this should be determined from the DHCP response, so I shouldn't have to configure it statically.
A good idea in theory (and some / most consumer routers do that), but for more advanced setups you really need to know the PD size in advance. For example, when configuring the subnet IDs of your LANs, you need to know how many bits are available. Let's say you configure a subnet ID 0x10 but then only get a /60... Things will break.

Cheers
Maurice
#2
Quote from: nero355 on March 30, 2026, 01:02:05 AMI like to avoid YouTube whenever I can when it comes to this kind of stuff : Reading about it is more my style :)
https://docs.mono.si/gateway-development-kit/hardware-description
https://docs.mono.si/tutorials/development-set-up (note the references at the end)

Quote from: nero355 on March 30, 2026, 01:02:05 AMSo it's like my old Router with MIPS SoC like I thought.
Pretty sure that didn't run OPNsense. :)

Quote from: nero355 on March 30, 2026, 01:02:05 AMCan you at least mix both things without the need to disable any of the Offloading Features first ?
Not sure what you mean by "mix both things". And it's all about the offloading, disabling it wouldn't make sense.

Quote from: nero355 on March 30, 2026, 01:02:05 AMSo with that kind of setup the issue with the FreeBSD Bootloader needing an upgrade from time to time can be ignored, right ?
Correct. That's not the reason why it was implemented this way, but I guess it could be considered a positive side effect.

Quote from: nero355 on March 30, 2026, 01:02:05 AMAre there any AARCH64 Mainboards out there that can run FreeBSD or simply OPNsense without any big issues ?
Yes, this one. :)
(But seriously, I don't have any other recommendations. Other aarch64 SBCs which can run OPNsense might be nice for hobby projects, but not for serious networking.)

Quote from: nero355 on March 30, 2026, 01:02:05 AMSince you are our AARCH64 Releases guy and all :)
I've only used it on VMs until recently. Gateway changed that.
#3
Quote from: OPNenthu on March 29, 2026, 11:56:43 PMThe SFP+ cage is there, but how much latency does the RJ45 transceiver add?
Essentially none (less than a microsecond?), that's just a PHY.
#4
I really recommend Tomaž's videos for the hardware offloading deep dive. He's the expert on this, I'm not.

Quote from: nero355 on March 29, 2026, 08:03:51 PMBut where does one put this SoC based on it's performance ?
It has 4 Cortex A72 cores. But most packets never touch these cores.

Quote from: nero355 on March 29, 2026, 08:03:51 PMAnd why suddenly use Offloading while it's always recommended to disable all of it for both OPNsense and pfSense ?!
What you're probably thinking of is offloading basic packet processing like checksums to the NICs.

Gateway doesn't have NICs in the traditional sense. The PHYs connect directly to the SoC, which handles routing and other frame and packet processing (VLANs, NAT, PPP, ...) in dedicated hardware. This means routing at wire speed with essentially no CPU load, like on a switch. The CPU cycles are available for other stuff that can't be offloaded.

The 64 MB NOR flash is for U-Boot and a small recovery Linux. The main OS (originally OpenWrt, now OPNsense) is installed on the 32 GB eMMC.
The OPNsense image we've just made available uses GPT and ZFS, but Gateway currently doesn't use FreeBSD's UEFI kernel loader. Instead, U-Boot loads the kernel directly.

Keep in mind that this is ongoing development and things may and probably will change in the final production version.

Cheers
Maurice
#5
Yes, I have one and it does indeed run OPNsense. Hardware offloading is supported and really sets it apart from anything I've seen before. And yes, it can offload connections which are firewalled by pf. Pretty impressive.

I recommend watching Tomaž's latest video on YouTube.

Cheers
Maurice

Full disclosure: I've been contracted by Mono to maintain their OPNsense update server.
#6
OPNsense 26.1.5 aarch64 packages and sets released.
#7
You can upload an OPNsense VM image, e. g. using the Horizon web interface: https://horizon.cloud.ovh.net/project/images
This can then be selected when creating an instance. No need for an interactive installation or bootstrap.

Cheers
Maurice
#8
@Patrick Habe den PPPoE-Offloader mal hier dokumentiert:
https://gist.github.com/maurice-w/402eea6750738c7a6765219c34260283
#9
Quote from: bamf on March 16, 2026, 05:02:09 PMExterne ONTs mit SFP-Uplink zum Router scheint es ja nicht zu geben?
Der OPNsense-Router wird doch ohnehin an einem Switch hängen? Und dieser Switch wird entweder einen freien SFP-Port haben (für das Zyxel) oder einen freien RJ45-Port (für ein Glasfasermodem 2)?

Der OPNsense-Router brauch keinen dedizierten physischen WAN-Port, das geht gut über VLANs.
#10
Quote from: Patrick M. Hausen on March 16, 2026, 04:54:03 PMUnd dann? Bridge?
Nein, klassisches Routing.

Das Script tut natürlich noch etwas mehr. :) Es berechnet das kleinstmögliche Subnetz, in das neben der öffentlichen IPv4-Adresse noch eine zweite passt. Das Interface, auf dem der DHCPv4-Server läuft wird dann mit dieser zweiten Adresse konfiguriert, außerdem wird sie im DHCPv4-Server als Gateway-Adresse konfiguriert.

Ja, eine Handvoll öffentliche IPv4-Adressen wird dadurch unerreichbar. Praktische Auswirkungen hatte das bisher nie. Das sind ja Adressen, die anderen Kunden des ISPs dynamisch zugewiesen werden und die sehr wahrscheinlich keine Dienste hosten, auf die ich zugreifen müsste.

Quote from: Patrick M. Hausen on March 16, 2026, 04:54:03 PMDas ist ja mal echt interessant, hast du da Links zu?

Ich kann die Konfiguration gerne mal in ein Gist schieben. Würde es aber vorher noch etwas bereinigen und dokumentieren. Besteht konkretes Interesse?
#11
Quote from: bamf on March 16, 2026, 11:39:16 AMDann auf der OPNSense eine VIP aus dem Subnetz des Sticks, damit ich auf die WebUI des Sticks komme.
Das wäre in diesem Fall keine VIP, sondern eine normale Interface-Adresse. Denn das eigentliche WAN-Interface ist dann ja ein PPPoE-Device.
#12
Quote from: bamf on March 16, 2026, 11:39:16 AMAlso baut der Switch bei dir die PPPoE Verbindung auf?
Ja richtig, wobei "Router" es bei mir besser beschreibt, da ich das SFP explizit nicht bridge.

Quote from: bamf on March 16, 2026, 11:39:16 AMMein Plan wäre, am Switch (CRS305-1G-4S+IN) zwei Ports zu bridgen, den Port, an dem der GPON Stick steckt sowie den Port, der zum Router geht. So dass die OPNSense direkt auf Layer 2 den GPON Stick sieht. Dann Einwahl über die OPNSense.
Das geht natürlich auch. Wobei das nur Sinn ergibt, falls Du auch Verwendung für die anderen Switch-Ports hast. Ansonsten wäre das Standalone-ONT der Telekom (Glasfasermodem 2) oder ein einfacher Media-Converter (1x SFP, 1x RJ45) naheliegender.

Quote from: Patrick M. Hausen on March 16, 2026, 01:33:41 PMWie geht das? Dann hat doch der hEX die öffentliche IP-Adresse auf seinem PPPoE-Interface?
Über ein eigenes Script. Die guten Scripting-Fähigkeiten sind etwas, was ich bei MikroTik sehr schätze.
Das Script entfernt die IPv4-Adresse vom PPPoE-Interface und fügt sie zum Pool des DHCPv4-Servers hinzu. Für IPv6 ist es noch einfacher, da generiert der DHCPv6-Client ohnehin einen Pool für das erhaltene PD-Präfix. Diesen Pool kann man dann wiederum im DHCPv6-Server verwenden.
Für LTE mache ich es ähnlich (im USB-Port des hEX S steckt ein LTE-Stick).

So habe ich eine saubere Aufgabentrennung: Der hEX S beherbergt die "spezielle" Hardware (ONT, LTE-Modem) und kümmert sich um deren Protokolle (PPPoE, MBIM). OPNsense macht einfach nur DHCP über Ethernet.

Grüße
Maurice
#13
Quote from: bamf on March 16, 2026, 01:22:18 AMWäre es möglich, einen kleinen Switch wie den Mikrotik CRS305 quasi als "externes Gehäuse" für das SFP-Modul zu verwenden?
Klar, falls Du ohnehin einen Switch mit SFP-Ports hast, dann kann das GPON-SFP auch da rein.

Bei mir steckt es in einem kleinen MikroTik-Router (hEX S), der zum einen als Switch dient und zum anderen als PPPoE-Offloader.
#14
German - Deutsch / Re: RDNNS Problem
March 15, 2026, 11:07:44 PM
"Track Interface" ist legacy. Stattdessen sollte "Identity Association" verwendet werden.

Grüße
Maurice


@Patrick Telekom Business = viel Geld für schlechtes Peering, oder?
#15
German - Deutsch / Re: RDNNS Problem
March 14, 2026, 06:36:17 PM
Das ist bei mir genau so konfiguriert. Bei Services: Router Advertisements unter Recursive DNS Servers (RDNSS) steht eine ULA. Funktioniert einwandfrei.

Da bei dir zudem mehrere Dienste betroffen sind scheint das eher ein individuelles und übergreifendes Problem zu sein. Eher nichts was spezifisch etwas mit radvd zu tun hat.

Grüße
Maurice