Saint-Germain CCR Staged Router Implementation Plan
For agentic workers: Execute each task only after the preceding verification succeeds. The existing Freebox → hAP temporary network remains untouched until the final cutover.
Goal: Build and test the CCR2004 LAN, VLAN, DHCP, firewall, and temporary Freebox WAN while retaining serial and ether15 recovery access.
Architecture: The CCR uses ether1 as a disposable WAN that DHCPs from the Freebox while it remains a router. sfp-sfpplus1 is reserved for the eventual bridge-mode Freebox WAN; sfp-sfpplus2 is the VLAN trunk to CSS610. A VLAN-aware br-lan provides Savoie (10), Bauges (20), Aravis (30), and Haute-Savoie (40); ether15 remains completely outside it at 192.168.88.1/24. The CCR DNS resolver is a bootstrap service only; Athena and Demeter BIND become the authoritative and client-facing DNS pair after their Savoie migration.
Tech Stack: MikroTik CCR2004-16G-2S+PC, RouterOS 7.15.2, CSS610-8G-2S+IN, hAP ax², Freebox Ultra.
Global Constraints
- Configure only through the existing serial console until the test LAN proves reachable.
- Do not connect the CCR to the active hAP temporary path or put the Freebox into bridge mode during this plan.
- Do not put
ether15in a bridge or remove192.168.88.1/24. - Never put credentials in the terminal transcript, plan, export, or chat.
- Do not enable VLAN filtering until the bridge VLAN table has been fully installed and inspected.
- Record the baseline and final CCR configuration with
/export hide-sensitive file=before-stagingand/export hide-sensitive file=post-staging. - During this staged-router plan, DHCP advertises the CCR bootstrap resolver at
192.168.10.1; do not add router-local static records for thehome, VPN, or internalsbr.pmzones. - A later Athena/Demeter migration changes DHCP to advertise those two BIND servers, updates the Nix-managed forward and reverse zones, and configures the CCR to use them for its own lookups.
- CSS610 copper-port assignments: port 1 is living-room left (standby hAP port; its fixed run is presently 100 Mb/s); port 2 is living-room right (current living-room hAP); port 3 is office (office hAP); ports 4–6 serve parents’ bedroom, kids’ bedroom, and the future second office; ports 7–8 remain spare.
Task 1: Preserve recovery and record baseline
Device: CCR2004 serial console
- Step 1: Confirm the current recovery address is isolated.
Run:
/ip address print
/interface bridge print
/interface bridge port print
Expected: 192.168.88.1/24 appears only on ether15; no bridge exists.
- Step 2: Save a redacted baseline export.
Run:
/export hide-sensitive file=before-staging
/file print where name~"before-staging"
Expected: the exported configuration file is listed and contains no credentials.
[admin@MikroTik] > /file print where name~"before-staging"
# NAME TYPE SIZE CREATION-TIME
0 before-staging.rsc script 358 1970-01-02 00:27:30
- Step 3: Confirm the serial recovery path.
Run:
/system resource print
Expected: RouterOS returns the CCR2004 resource summary through serial.
Task 2: Create production interfaces without connecting production traffic
Device: CCR2004 serial console
Interfaces produced: br-lan, vlan10-savoie, vlan20-bauges, vlan30-aravis, vlan40-haute-savoie; ether1 temporary WAN; sfp-sfpplus1 final WAN reservation; sfp-sfpplus2 CSS610 trunk reservation.
- Step 1: Create the LAN bridge with VLAN filtering disabled.
Run:
/interface bridge add name=br-lan protocol-mode=rstp vlan-filtering=no comment="Production LAN bridge; VLAN filtering enabled only after VLAN table verification"
Expected: /interface bridge print lists br-lan with vlan-filtering=no.
- Step 2: Add only the intended production LAN ports.
Run:
/interface bridge port add bridge=br-lan interface=sfp-sfpplus2 comment="CSS610 10Gb VLAN trunk"
/interface bridge port add bridge=br-lan interface=ether2 pvid=10 comment="Savoie access/test port"
/interface bridge port add bridge=br-lan interface=ether3 pvid=10 comment="Savoie access port"
/interface bridge port add bridge=br-lan interface=ether4 pvid=10 comment="Savoie access port"
/interface bridge port add bridge=br-lan interface=ether5 pvid=10 comment="Savoie access port"
/interface bridge port add bridge=br-lan interface=ether6 pvid=10 comment="Savoie access port"
/interface bridge port add bridge=br-lan interface=ether7 pvid=10 comment="Savoie access port"
/interface bridge port add bridge=br-lan interface=ether8 pvid=10 comment="Savoie access port"
/interface bridge port add bridge=br-lan interface=ether9 pvid=10 comment="Savoie access port"
/interface bridge port add bridge=br-lan interface=ether10 pvid=10 comment="Savoie access port"
/interface bridge port add bridge=br-lan interface=ether11 pvid=10 comment="Savoie access port"
/interface bridge port add bridge=br-lan interface=ether12 pvid=10 comment="Savoie access port"
/interface bridge port add bridge=br-lan interface=ether13 pvid=10 comment="Savoie access port"
/interface bridge port add bridge=br-lan interface=ether14 pvid=10 comment="Savoie access port"
Expected: ether1, ether15, and ether16 are absent from /interface bridge port print.
- Step 3: Add VLAN interfaces and planned gateway addresses.
Run:
/interface vlan add interface=br-lan name=vlan10-savoie vlan-id=10
/interface vlan add interface=br-lan name=vlan20-bauges vlan-id=20
/interface vlan add interface=br-lan name=vlan30-aravis vlan-id=30
/interface vlan add interface=br-lan name=vlan40-haute-savoie vlan-id=40
/ip address add address=192.168.10.1/24 interface=vlan10-savoie comment="Savoie gateway"
/ip address add address=192.168.20.1/24 interface=vlan20-bauges comment="Bauges gateway"
/ip address add address=192.168.30.1/24 interface=vlan30-aravis comment="Aravis gateway"
/ip address add address=192.168.40.1/24 interface=vlan40-haute-savoie comment="Haute-Savoie gateway"
Expected: /ip address print shows all four planned gateway addresses plus unchanged 192.168.88.1/24 on ether15.
- Step 4: Define the bridge VLAN table, then enable filtering.
Run:
/interface bridge vlan add bridge=br-lan vlan-ids=10 tagged=br-lan,sfp-sfpplus2 untagged=ether2,ether3,ether4,ether5,ether6,ether7,ether8,ether9,ether10,ether11,ether12,ether13,ether14
/interface bridge vlan add bridge=br-lan vlan-ids=20 tagged=br-lan,sfp-sfpplus2
/interface bridge vlan add bridge=br-lan vlan-ids=30 tagged=br-lan,sfp-sfpplus2
/interface bridge vlan add bridge=br-lan vlan-ids=40 tagged=br-lan,sfp-sfpplus2
/interface bridge vlan print
/interface bridge set br-lan vlan-filtering=yes
Expected: VLAN 10 has the listed access ports; VLANs 20, 30, and 40 are tagged only to br-lan and the CSS610 trunk. ether15 remains unaffected.
Task 3: Provide DHCP, DNS, temporary WAN, NAT, and minimum firewall policy
Device: CCR2004 serial console
- Step 1: Create DHCP pools and servers.
Run:
/ip pool add name=pool-savoie ranges=192.168.10.100-192.168.10.249
/ip pool add name=pool-bauges ranges=192.168.20.100-192.168.20.249
/ip pool add name=pool-aravis ranges=192.168.30.100-192.168.30.249
/ip pool add name=pool-haute-savoie ranges=192.168.40.100-192.168.40.249
/ip dhcp-server add name=dhcp-savoie interface=vlan10-savoie address-pool=pool-savoie lease-time=1d disabled=no
/ip dhcp-server add name=dhcp-bauges interface=vlan20-bauges address-pool=pool-bauges lease-time=1d disabled=no
/ip dhcp-server add name=dhcp-aravis interface=vlan30-aravis address-pool=pool-aravis lease-time=1d disabled=no
/ip dhcp-server add name=dhcp-haute-savoie interface=vlan40-haute-savoie address-pool=pool-haute-savoie lease-time=1d disabled=no
/ip dhcp-server network add address=192.168.10.0/24 gateway=192.168.10.1 dns-server=192.168.10.1
/ip dhcp-server network add address=192.168.20.0/24 gateway=192.168.20.1 dns-server=192.168.20.1
/ip dhcp-server network add address=192.168.30.0/24 gateway=192.168.30.1 dns-server=192.168.30.1
/ip dhcp-server network add address=192.168.40.0/24 gateway=192.168.40.1 dns-server=192.168.40.1
Expected: /ip dhcp-server print lists four enabled servers.
- Step 2: Configure bootstrap DNS and the temporary Freebox WAN.
Run:
/ip dns set allow-remote-requests=yes servers=1.1.1.1,9.9.9.9
/interface list add name=WAN
/interface list add name=LAN
/interface list member add list=WAN interface=ether1
/interface list member add list=LAN interface=br-lan
/ip dhcp-client add interface=ether1 add-default-route=yes use-peer-dns=no disabled=no comment="Temporary Freebox router-mode WAN"
The CCR resolver is bootstrap-only: DHCP clients initially receive 192.168.10.1 as DNS. Athena and Demeter replace it only after both BIND instances and their updated zones have been verified on Savoie.
Expected after connecting ether1 to an available Freebox LAN port: /ip dhcp-client print detail reports status=bound and a 192.168.1.x address.
- Step 3: Add NAT and explicit minimum firewall policy.
Run:
/ip firewall nat add chain=srcnat out-interface-list=WAN action=masquerade comment="Temporary and final WAN NAT"
/ip firewall filter add chain=input action=accept connection-state=established,related,untracked comment="Accept established input"
/ip firewall filter add chain=input action=drop connection-state=invalid comment="Drop invalid input"
/ip firewall filter add chain=input action=accept protocol=icmp comment="Allow diagnostic ICMP"
/ip firewall filter add chain=input action=accept in-interface=vlan10-savoie comment="Allow Savoie router administration and DNS"
/ip firewall filter add chain=input action=accept in-interface=vlan20-bauges protocol=udp dst-port=53,67,68,123 comment="Allow Bauges DHCP DNS NTP"
/ip firewall filter add chain=input action=accept in-interface=vlan20-bauges protocol=tcp dst-port=53 comment="Allow Bauges TCP DNS"
/ip firewall filter add chain=input action=accept in-interface=vlan30-aravis protocol=udp dst-port=53,67,68,123 comment="Allow Aravis DHCP DNS NTP"
/ip firewall filter add chain=input action=accept in-interface=vlan30-aravis protocol=tcp dst-port=53 comment="Allow Aravis TCP DNS"
/ip firewall filter add chain=input action=accept in-interface=vlan40-haute-savoie protocol=udp dst-port=53,67,68,123 comment="Allow guest DHCP DNS NTP"
/ip firewall filter add chain=input action=accept in-interface=vlan40-haute-savoie protocol=tcp dst-port=53 comment="Allow guest TCP DNS"
/ip firewall filter add chain=input action=drop comment="Drop all other router input"
/ip firewall filter add chain=forward action=accept connection-state=established,related,untracked comment="Accept established forwarding"
/ip firewall filter add chain=forward action=drop connection-state=invalid comment="Drop invalid forwarding"
/ip firewall filter add chain=forward action=accept in-interface=vlan10-savoie out-interface-list=WAN comment="Allow Savoie internet"
/ip firewall filter add chain=forward action=accept in-interface=vlan10-savoie out-interface=vlan20-bauges comment="Allow Savoie to Bauges"
/ip firewall filter add chain=forward action=accept in-interface=vlan10-savoie out-interface=vlan30-aravis comment="Allow Savoie to Aravis"
/ip firewall filter add chain=forward action=accept in-interface=vlan10-savoie out-interface=vlan40-haute-savoie comment="Allow Savoie to Haute-Savoie"
/ip firewall filter add chain=forward action=accept in-interface=vlan40-haute-savoie out-interface-list=WAN comment="Allow Haute-Savoie internet only"
/ip firewall filter add chain=forward action=drop comment="Drop inter-VLAN traffic not explicitly permitted"
Expected: a Savoie client can resolve DNS and reach the internet after the temporary WAN is connected; a Haute-Savoie client cannot reach 192.168.10.0/24.
Task 4: Verify with one direct Savoie client before configuring the switch or APs
Device: one laptop on CCR ether2; Freebox remains in router mode
- Step 1: Connect the Freebox and test client.
Connect a spare Freebox LAN port to CCR ether1. Connect a laptop directly to CCR ether2; set it to DHCP.
Expected: laptop receives 192.168.10.100-249/24, gateway and DNS 192.168.10.1; CCR DHCP client is bound on ether1.
- Step 2: Test address, DNS, router access, and internet separately.
On the client:
ip route
ping -c 3 192.168.10.1
getent ahosts example.com
ping -c 3 1.1.1.1
Expected: default route via 192.168.10.1; router ping succeeds; DNS returns an address; internet ICMP succeeds.
- Step 3: Confirm the temporary network remains untouched.
From a client still attached to the existing hAP, confirm it still has a 192.168.1.x lease and reaches the internet. This test must pass before continuing.
Task 5: Stage CSS610/hAPs and prepare the final bridge-mode cutover
Devices: CSS610, both hAP ax², CCR
- Step 1: Configure CSS610 uplink and room ports.
Connect CCR sfp-sfpplus2 to CSS610 sfp-sfpplus1. Carry VLANs 10, 20, 30, and 40 tagged on that uplink. Configure CSS610 ports 1, 2, and 3 as hAP-capable hybrid ports: VLAN 10 untagged and VLAN 40 tagged; do not carry VLANs 20 or 30 to them initially. Port 2 serves the current living-room hAP and port 3 serves the office hAP. Port 1 remains hAP-capable so the living-room hAP can move there after its fixed run is repaired and proves 1000BASE-T. Configure ports 4–6 as untagged VLAN 10 access ports; leave ports 7–8 spare.
Acceptance: a direct test client on CSS610 port 4, 5, or 6 receives a Savoie DHCP lease and internet access; the living-room hAP receives untagged VLAN 10 and tagged VLAN 40 on port 2.
- Step 2: Configure each hAP manually as an AP/switch, never as a router.
Disable its DHCP server, NAT, and WAN role. Map Savoie Wi-Fi to VLAN 10 and Haute-Savoie Wi-Fi to VLAN 40; use identical SSID/security material on both units. Keep Bauges and Aravis unbroadcast initially.
Acceptance: a Savoie Wi-Fi client gets 192.168.10.0/24; a Haute-Savoie client gets 192.168.40.0/24, reaches the internet, and cannot reach 192.168.10.0/24.
- Step 3: Create and test final-WAN migration commands without executing them.
The final cutover changes only WAN attachment:
/ip dhcp-client disable [find interface=ether1]
/interface list member remove [find list=WAN interface=ether1]
/interface list member add list=WAN interface=sfp-sfpplus1
/ip dhcp-client add interface=sfp-sfpplus1 add-default-route=yes use-peer-dns=no comment="Freebox bridge-mode WAN"
Acceptance: commands are present in a local cutover checklist; they are not executed until Freebox bridge mode is deliberately enabled on-site.
- Step 4: Save post-staging recovery artifact.
After all staging tests pass, run:
/export hide-sensitive file=post-staging
/file print where name~"staging"
Expected: baseline and post-staging exports exist. Download them to an encrypted local location before any final cutover.