Fonira provides private customers with a fixed IPv4 address and a /60 IPv6 prefix for a comparably small monthly fee. If you are reading this before you subscribe, please use the offer code (Empfehlungscode) VoQ7z9 to get yourself and me a bonus. See the quote including the link at the end for details.
TL;DR
# nov/10/2022 23:21:04 by RouterOS 6.49.7
/interface vlan add interface=ether1 name=vlan31-fonira vlan-id=31
/interface pppoe-client add add-default-route=yes default-route-distance=10 disabled=no interface=vlan31-fonira name=pppoe-fonira password=Password user=UserID
/interface list member add interface=pppoe-fonira list=WAN
/ipv6 dhcp-client add interface=pppoe-fonira request=address
/ipv6 address add address=2001:0DB8:0:1::/64 eui-64=yes interface=bridge
Configuration
This configuration assumes a recent default router configuration as a starting point (WAN and LAN interface lists, corresponding IPv4 and IPv6 firewall setup, ether1 connected to modem). Keep your UserID, password and IPv6 prefix ready and follow these steps. Your static IPv4 address will be assigned automatically. For security reasons, keep the modem disconnected from the router during the setup! These steps have been extracted from a running config on RouterOS version 6.49.7.
First, add a VLAN interface. The provided modem (ZYXEL VMG4005-B50A) is configured such that VLAN 31 (tagged) provides the internet service.
/interface vlan add interface=ether1 name=vlan31-fonira vlan-id=31
Add a PPPoE client. The fixed IP service is provided via PPPoE, the correct “static” IPv4 address is assigned automatically. Note: If you have your modem connected during this step, the router will become accessible from the internet immediately. The default firewall config would allow forwarding to the internal network.
/interface pppoe-client add add-default-route=yes default-route-distance=10 disabled=no interface=vlan31-fonira name=pppoe-fonira password=Password user=UserID
Add the PPPoE interface to the WAN interface list. The default firewall config blocks forwarding from the WAN interfaces to other (internal) networks and performs SRC-NAT (masquerading) for outgoing IPv4 traffic. You can connect your modem after this step.
/interface list member add interface=pppoe-fonira list=WAN
Add a DHCPv6 client to the PPPoE interface. That way the router learns its default route, DNS servers etc.
/ipv6 dhcp-client add interface=pppoe-fonira request=address
Add an IPv6 address to your local (LAN) bridge and advertise the route (replace 2001:0DB8:0:1::/64 with a prefix in your assigned range). Note: The default /ipv6 nd config will thankfully also include IPv6 DNS servers learned via DHCPv6 in the announcements. Thus, any clients will be automatically configured via SLAAC.
/ipv6 address add address=2001:0DB8:0:1::/64 eui-64=yes interface=bridge
If your desktop operating system is younger than 15 years (as of 2022) all that is left to do is to visit https://ipv6.google.com/ in your browser to verify IPv6 connectivity. This google subdomain will successfully load via IPv6 only.
Fonira.at Offer Code (Empfehlungscode)
Quoting an e-mail from Fonira:
Sind Sie mit unseren Produkten und dem Service zufrieden? Wir freuen uns über eine Weiterempfehlung! Bei jedem empfohlenen Neukunden erhalten Sie 10 Euro Gutschrift, der Neukunde kann aus attraktiven, kostenfreien Prämien wählen. Mehr zum Programm, Teilnahmebedingungen und geeigneten Produktgruppen finden Sie auf https://fonira.at/empfehlung Ihr individueller Empfehlungscode lautet: VoQ7z9