Skip to main content

100 G fabric (sw-100g) and the temporary core

Reference page for the 100 G switch sw-100g and for everything that was put on the core router (router A, CCR2004) so the EPYC nodes can live behind it before ccr-core exists. State as of 2026-10-22: the three EPYC nodes are live on their trunks. The target design it converges to is §6 of the target architecture; open items are in the ops todo → fabric and → epyc; the dated narrative is in the network history.

At a glance​

Switchsw-100g — MikroTik CRS520-4XS-16XQ, serial HMT0BZ0QX67, RouterOS 7.21.4 (long-term)
Ports16 × QSFP28 100 G (qsfp28-N-1 … -4), 4 × SFP28 25 G (sfp28-1 … -4), 2 × RJ45 (ether1, ether2), serial console (RJ45, RS-232)
Role todayLayer-2 switch with VLAN filtering; carries the EPYC trunks; no routing
Management192.168.88.253 (sw-100g.isc3.isc-vs.ch, alias sw-100g) over NetBird — rescue 192.168.255.254 on a cable into ether1
Uplink25 G DAC: router A sfp28-1 ↔ sw-100g sfp28-2
Routing for its VLANsrouter A, as a temporary core, until ccr-core (CCR2216) is commissioned
Credentialssecretzone/isc3.md (section sw-100g); config export in secretzone/mikrotik/crs520-192.168.88.253.rsc

Before, now, target​

What existed before 2026-10-19, what is in place now, and what the plan says it becomes. ⏳ = temporary (works today, replaced when ccr-core arrives) · ✅ = final (stays as is).

ElementBefore (≤ 2026-10-18)Now (2026-10-22)Target
Core router, NAT, VPNrouter A (CCR2004)router A — ⏳ also routes VLAN 20ccr-core (CCR2216), A moves to building 307 as ccr-edge
100 G switchin its box, factory config, 192.168.88.1sw-100g, VLANs 20/110/111/112/255 — ✅same
Link switch ↔ corenone⏳ 25 G DAC, A sfp28-1 ↔ sw-100g sfp28-2100 G, ccr-core QSFP28 1 ↔ a free sw-100g cage (1–13)
PVE admin network of the EPYC nodes192.168.88.0/24, flat, via 1 G nic0 on router CVLAN 20, 192.168.20.0/24, nodes live on .10/.11/.12 — ✅ addresses final; ⏳ gateway 192.168.20.1 lives on Asame addresses, .1 moved to ccr-core
Internet for the EPYC nodesvia 88VLAN 20 NAT on A — ⏳NAT on ccr-core
Who reaches the PVE admin networkeveryone (flat 88)only mgmt-admins (NetBird, WireGuard, AWX, Prometheus) — ⏳ rules on Asame rules on ccr-core (zone mgmt)
NetBird route to 192.168.20.0/24—via srv-netbird, masquerade off — ✅same (peer may change)
Reserved / corosync / migration networksnoneVLANs 110 / 111 / 112, declared on the switch, not routed — ✅same
Switch management—192.168.88.253 on LAN 88 — ⏳management zone on ccr-core
iDRAC / BMCLAN 88 (.39, .40, .12)unchanged — ⏳sw-oob (router B, CRS326), OOB island
corosync ring 0—not built yet1 G onboard NIC on sw-access
note
What changes when ccr-core arrives — and what does not

Nothing on the EPYC nodes changes: their addresses, VLANs and gateway IP (192.168.20.1) are final. The work is all on the routers: move 192.168.20.1, the NAT rule, the mgmt-admins list and the two VLAN 20 filter rules from A to ccr-core, then swap the 25 G uplink for the 100 G one. Checklist in Migration to ccr-core.

Equipment and names​

The documentation has used three naming schemes; this table maps them.

DeviceOld nameAddressRole todayRole in the plan
MikroTik CCR2004-1G-12S+2XSrouter A192.168.88.1core: WAN (sfp28-2), NAT, VPN, LAN 88, temporary core for VLAN 20ccr-edge, building 307
MikroTik CRS326-24G-2S+router B192.168.88.254carnaval nodes and their iDRACs (90/91)sw-oob — BMC/iDRAC/PDU/UPS only
FS S3600-48T4Srouter C192.168.88.21 G switch (EPYC nic0 today)sw-307, building 307
MikroTik CRS520-4XS-16XQ—192.168.88.253sw-100gsame
2 × MikroTik CCR2216——in stockccr-core + cold spare
FS S3900-48T4S——availablesw-access (1 G, corosync ring 0)
FS S5850-32S2Q——availablesw-10g (carnaval nodes)

Physical cabling (2026-10-22)​

FromPortToPortCableState 2026-10-22
router Asfp28-1sw-100gsfp28-2SFP28 DAC 25 Glink up, 25 G
sw-100gqsfp28-16-1epyc0ConnectX-6 enp1s0np0Mellanox MCP1650-H002E26trunk, link up 100 G
sw-100gqsfp28-15-1epyc1ConnectX-6 enp161s0np0Amphenol NJAAKK-N911trunk, link up 100 G
sw-100gqsfp28-14-1epyc2ConnectX-6 enp65s0np0 (B8:CE:F6:04:3B:AC)Mellanox MCP1650-H002E26trunk, link up 100 G
sw-100gether1admin PCUSB-Ethernet adapterCat6rescue access only, unplugged when not in use
EPYC iDRAC / BMCdedicated portLAN 88 (unchanged)—Cat6epyc0 BMC .40, epyc1 BMC .12, epyc2 iDRAC .39
EPYC onboard 1 G (nic0, eno1)onboard———not used by PVE since 2026-10-22; planned for corosync ring 0

The cages run backwards from the node numbers — 16 = epyc0, 15 = epyc1, 14 = epyc2 — and cages 1–13 are free. The two DAC ends carry the same serial number, so /interface ethernet monitor qsfp28-N-1 on the switch and ethtool -m <if> on the node tell which node a cage holds.

caution
The uplink lands on sfp28-2, not sfp28-1

On sw-100g the DAC from router A is in sfp28-2. Every VLAN membership for the uplink refers to sfp28-2. sfp28-1 on the switch is empty.

Each EPYC node is on two switches, and that is not a loop

The iDRAC/BMC is a separate controller with its own port; nothing inside the chassis bridges it to the ConnectX-6, and the router between the two networks routes rather than switches. Keep it that way: iDRAC NIC mode Dedicated (not Shared LOM) and OS-to-iDRAC pass-through disabled (epyc2: pass-through Disabled and NIC mode Dedicated, read 2026-10-19/20; epyc0/epyc1 BMCs still to read). Never put two host NICs that reach different switches into the same Proxmox bridge.

VLAN and addressing plan​

Convention: VLAN ID = third octet of 192.168.X.0/24. 192.168.100.0/24 is avoided on purpose: it is the Proxmox installer's fallback address.

VLANNameSubnetGatewayRouted / InternetMTUTagged onEPYC hosts
1 (untagged)LAN 88192.168.88.0/24192.168.88.1 (A)yes / yes (existing)1500untagged on sfp28-2 only— (switch management .253)
20PVE admin192.168.20.0/24192.168.20.1 (A, ⏳)yes / yes — the only new VLAN with Internet1500sfp28-2, qsfp28-14-1, qsfp28-15-1, qsfp28-16-1.10 epyc0 · .11 epyc1 · .12 epyc2
110reserved (created for Ceph, unused — plan)192.168.110.0/24noneno9000the three EPYC trunks.10 · .11 · .12
111corosync (ring 1)192.168.111.0/24noneno1500the three EPYC trunks.10 · .11 · .12
112migration192.168.112.0/24noneno9000the three EPYC trunks.10 · .11 · .12
255switch rescue192.168.255.0/24noneno1500untagged on ether1 only— (switch .254, PC .10)

VLANs 110/111/112 are deliberately not routed: corosync, migration and replication traffic stays inside sw-100g and never reaches a router. They are reached by hopping through an EPYC node. VM networks (Proxmox SDN VNets per zone) are not declared yet; each new VLAN must be added to the three EPYC trunks, and to sfp28-2 only if it has to be routed.

These addresses freeze once the cluster exists

Node names, node admin IPs (VLAN 20) and the corosync network (111) are written into corosync.conf. Changing them after pvecm create is close to a rebuild. Settle them before creating the cluster. The router behind 192.168.20.1 and the migration network (112) can change later without touching the nodes.

sw-100g configuration​

Full export: secretzone/mikrotik/crs520-192.168.88.253.rsc (and the binary .backup next to it).

Port roles​

PortRoleModePVIDVLANsFrame types
sfp28-2uplink to router A sfp28-1hybrid11 untagged (LAN 88), 20 taggedadmit-all
qsfp28-16-1epyc0 trunktrunk—20, 110, 111, 112 taggedadmit-only-vlan-tagged
qsfp28-15-1epyc1 trunktrunk—20, 110, 111, 112 taggedadmit-only-vlan-tagged
qsfp28-14-1epyc2 trunktrunk—20, 110, 111, 112 taggedadmit-only-vlan-tagged
ether1rescue accessaccess255255 untaggedadmit-only-untagged-and-priority-tagged
all other portsunused (defconf)—1—admit-all

RouterOS has no switchport mode trunk: a port is a trunk when it is a tagged member in /interface bridge vlan and admits only tagged frames. current-tagged stays empty while a port has no link — that is not a misconfiguration.

Other settings​

SettingValue
Bridgebridge, vlan-filtering=yes, RSTP, hardware offload on all ports (H)
MTUall QSFP28/SFP28 ports mtu=9216, l2mtu=9570 (jumbo frames for VLANs 110/112)
QSFP28 namingeach cage is split into four sub-interfaces; a 100 G DAC uses qsfp28-N-1
Management IPs192.168.88.253/24 on bridge (VLAN 1) · 192.168.255.254/24 on vlan255-admin
Default route / DNS0.0.0.0/0 → 192.168.88.1 · DNS 192.168.88.1
TimeNTP client ch.pool.ntp.org, pool.ntp.org; time zone Europe/Zurich (it booted believing it was April)
Identitysw-100g
Usersadmin (password in the secretzone) with SSH key id_ed25519_tours ("Yacine Said - PC professionnel")

Rebuilding the VLAN part from scratch​

On a factory-reset switch, after changing the admin password:

/system identity set name=sw-100g
/interface ethernet set [find where name~"^qsfp28|^sfp28"] l2mtu=9570 mtu=9216
/interface vlan add name=vlan255-admin vlan-id=255 interface=bridge comment="switch admin"
/ip address add address=192.168.255.254/24 interface=vlan255-admin comment="switch admin"
/interface bridge port set [find interface=ether1] pvid=255 frame-types=admit-only-untagged-and-priority-tagged ingress-filtering=yes comment="admin PC"
/interface bridge port set [find interface=qsfp28-16-1] frame-types=admit-only-vlan-tagged ingress-filtering=yes comment="epyc0 trunk"
/interface bridge port set [find interface=qsfp28-15-1] frame-types=admit-only-vlan-tagged ingress-filtering=yes comment="epyc1 trunk"
/interface bridge port set [find interface=qsfp28-14-1] frame-types=admit-only-vlan-tagged ingress-filtering=yes comment="epyc2 trunk"
/interface bridge port set [find interface=sfp28-2] ingress-filtering=yes comment="uplink A CCR2004 sfp28-1: 88 untagged + VLAN 20 tagged"
/interface bridge vlan add bridge=bridge vlan-ids=20 tagged=sfp28-2,qsfp28-16-1,qsfp28-15-1,qsfp28-14-1 comment="PVE admin 192.168.20.0/24 - gw 192.168.20.1 on A"
/interface bridge vlan add bridge=bridge vlan-ids=110 tagged=qsfp28-16-1,qsfp28-15-1,qsfp28-14-1 comment="ceph 192.168.110.0/24"
/interface bridge vlan add bridge=bridge vlan-ids=111 tagged=qsfp28-16-1,qsfp28-15-1,qsfp28-14-1 comment="corosync 192.168.111.0/24"
/interface bridge vlan add bridge=bridge vlan-ids=112 tagged=qsfp28-16-1,qsfp28-15-1,qsfp28-14-1 comment="migration 192.168.112.0/24"
/interface bridge vlan add bridge=bridge vlan-ids=255 tagged=bridge untagged=ether1 comment="switch admin 192.168.255.0/24"
/ip address add address=192.168.88.253/24 interface=bridge comment="mgmt via LAN 88"
/ip route add dst-address=0.0.0.0/0 gateway=192.168.88.1 comment="via router A"
/ip dns set servers=192.168.88.1
/system clock set time-zone-name=Europe/Zurich
/system ntp client set enabled=yes servers=ch.pool.ntp.org,pool.ntp.org
/execute script="/interface bridge set [find name=bridge] vlan-filtering=yes"
/ip address remove [find address="192.168.88.1/24"]

The vlan-filtering=yes line cuts a session that runs over the factory IP — hence /execute, which runs it in the background. Reconnect on 192.168.255.254 (cable) or 192.168.88.253 (NetBird), then remove the factory address.

Router A as temporary core​

Router A is production: it carries the WAN, the public site, the VPNs and every service on 88. Everything below is additive: no existing port, bridge membership, route, NAT or filter rule was changed. Router A has no default-drop rule in its forward or input chains, so new subnets are open by default — the two VLAN 20 rules are what closes this one.

Objects added on 2026-10-20​

ObjectValuePurpose
/interface vlanvlan20-pve, VLAN 20 on bridge-LANreceives VLAN 20 from sw-100g
/ip address192.168.20.1/24 on vlan20-pvegateway of the PVE admin network
/interface list membervlan20-pve → LANconsistency with the other inside interfaces
/ip firewall natmasquerade, src-address=192.168.20.0/24, out-interface=sfp28-2Internet for VLAN 20
/ip firewall address-list mgmt-admins100.64.0.0/10 (NetBird), 192.168.89.0/24 (WireGuard break-glass), 192.168.88.38 (srv-auto, AWX), 192.168.88.25 (srv-pm, Prometheus)who may open connections into VLAN 20
/ip firewall filter (end of chain)forward, connection-state=new, dst-address=192.168.20.0/24, src-address-list=mgmt-admins → acceptallow the admins
/ip firewall filter (end of chain)forward, connection-state=new, dst-address=192.168.20.0/24 → dropeveryone else
/ip dns staticsw-100g.isc3.isc-vs.ch (A) + sw-100g (CNAME) → 192.168.88.253names for the switch — no .isc3 record (naming rule)

Both filter rules only match connections towards 192.168.20.0/24, where no traffic existed before, so they cannot affect any existing flow. Connections from VLAN 20 (updates, PBS, DNS, NTP) are new connections towards other destinations and are not concerned; their replies are established and pass the existing fast-track rule.

Backups on the router​

File on router ATaken
ccr2004-before-vlan20-20261020.backup / .rscbefore the VLAN 20 interface, IP and NAT
ccr2004-before-vlan20-fw-20261020.backup / .rscbefore the mgmt-admins list and the two filter rules
ccr2004-after-vlan20-20261020.backup / .rscafter everything

The repository copy (secretzone/mikrotik/ccr2004-192.168.88.1.rsc + .backup) was refreshed on 2026-10-20 from a live export.

Rollback​

/ip firewall filter remove [find comment~"VLAN 20 PVE admin"]
/ip firewall address-list remove [find list=mgmt-admins]
/ip firewall nat remove [find comment="Outgoing PVE admin VLAN 20 traffic"]
/interface list member remove [find comment="PVE admin VLAN 20"]
/ip address remove [find interface=vlan20-pve]
/interface vlan remove [find name=vlan20-pve]
/ip dns static remove [find name~"^sw-100g"]

Access model​

Who can open a connection to what, as configured on 2026-10-20.

Source ↓ / destination →VLAN 20 (PVE admin)sw-100g 192.168.88.253VLANs 110 / 111 / 112VLAN 255Internet
NetBird admins (route group)✅✅via an EPYC node❌as before
WireGuard break-glass (89)✅✅via an EPYC node❌as before
srv-auto (AWX), srv-pm (Prometheus)✅✅❌❌as before
srv-status (192.168.88.158)Netdata :19999 and ICMP only (2026-10-22)✅ (flat LAN)❌❌as before
rest of LAN 88 (rumba, services)❌ dropped✅ (flat LAN)❌❌as before
carnaval nodes and lab VMs (91)❌ dropped✅ (no rule; flat routing)❌❌as before
EPYC nodes (VLAN 20)—✅✅ (same switch)❌✅ NAT on A
PC on ether1❌✅ (255.254)❌✅—

Only VLAN 20 reaches the Internet among the new VLANs; 110/111/112/255 have no gateway.

Router A cannot isolate VLAN 20 at layer 2

bridge-LAN on router A has no VLAN filtering, so frames tagged VLAN 20 also flood across LAN 88. The filter rules protect VLAN 20 only against routed traffic. A host plugged into LAN 88 with root access (rumba, for instance) could tag VLAN 20 itself and reach the EPYC nodes directly. Students have no such access on physical hosts, so the exposure is small. Mitigation: the Proxmox firewall on the EPYC nodes (rules, written but off since 2026-10-22) restricts SSH and :8006 to the mgmt-admins sources — it travels with the cluster and stays valid after ccr-core. A host that tags VLAN 20 itself and takes an address in 192.168.20.0/24 still passes the fabric rule. The gap closes for good when ccr-core routes VLAN 20 on its own port.

NetBird route​

Added by hand in the NetBird console on 2026-10-20 and verified end to end the same day:

FieldValue
Network192.168.20.0/24 (suggested identifier isc3-mgmt-pve)
Routing peersrv-netbird (VM 109 on rumba, 192.168.88.159)
Masqueradeoff — like every rack route
Distributionthe rack admin group only

With masquerade off, clients keep their 100.65.x.x overlay address; replies find their way back through router A's static route 100.64.0.0/10 → 192.168.88.159. srv-netbird has no SSH: inspect it with qm guest exec 109 -- … on rumba.

A device without a default gateway does not answer NetBird

Because NetBird is not masqueraded, a device on 88 that has no default route cannot reply to a 100.65.x.x client. Router C (FS S3600, 192.168.88.2) is in that state: it answers router A but not NetBird (todo). sw-100g got its default route for this reason.

How to connect​

TargetCommand (Windows, NetBird up)
sw-100gssh -i %USERPROFILE%\.ssh\id_ed25519_tours admin@192.168.88.253 (or admin@sw-100g)
sw-100g, rescuecable into ether1, admin prompt: netsh interface ip set address "<adapter>" static 192.168.255.10 255.255.255.0, then ssh … admin@192.168.255.254
router Assh -i %USERPROFILE%\.ssh\id_ed25519_tours -o IdentitiesOnly=yes admin@192.168.88.1
EPYC nodesssh root@epyc0 / epyc1 / epyc2 (192.168.20.10 / .11 / .12)

Traps met while commissioning, each one a dead end the next person can skip:

  • The RJ45 port labelled Console is RS-232 serial, not Ethernet. It needs a USB-to-RJ45 console cable (115200 8N1, no flow control) and shows up as a new COMx. A network cable on it gives no link. On the admin PC, COM3/COM7 are the internal 4G modem, COM8/COM9 Bluetooth.
  • A factory MikroTik answers on 192.168.88.1, the address of router A. Never connect a factory-default MikroTik to LAN 88; configure it on an isolated cable first.
  • The factory password is on the label under the chassis, not on the sides, the back or the box. A reset with the button restores it.
  • RouterOS refuses SSH passwords for a user that has a key. On sw-100g and on router A, admin logs in with the key only; the password still works for WinBox/WebFig.
  • Pinging 8.8.8.8 from the rack fails — ICMP is filtered upstream. Test Internet access with HTTPS (/tool fetch url=https://www.google.com).
  • 192.168.20.254 does not exist; inside VLAN 20 only 192.168.20.1 and the nodes .10–.12 answer.

EPYC host side​

Live since 2026-10-22, verified from each node: gateway and DNS through 192.168.20.1, 9000-byte frames unfragmented on VLANs 110 and 112 between all three nodes, corosync VLAN 111 reachable, NTP synchronised. Open items: ops todo → epyc.

NodeConnectX-6FirmwareCageVLAN 20110 reserved111 corosync112 migration
epyc001:00.0 enp1s0np020.43.256616192.168.20.10192.168.110.10192.168.111.10192.168.112.10
epyc1a1:00.0 enp161s0np020.43.256615192.168.20.11192.168.110.11192.168.111.11192.168.112.11
epyc241:00.0 enp65s0np020.38 (Dell)14192.168.20.12192.168.110.12192.168.111.12192.168.112.12

Each node has one VLAN-aware vmbr0 on its ConnectX-6 (mtu 9000, bridge-vids 2-255, the port set promiscuous by a post-up) and the sub-interfaces vmbr0.20 (gateway 192.168.20.1, MTU 1500), vmbr0.110 (9000), vmbr0.111 (1500) and vmbr0.112 (9000); /etc/hosts maps the node name to its VLAN 20 address, DNS is 192.168.20.1. provisioning/pve/epyc-move20.sh <N> "<1G ifaces>" writes exactly that, and rolls back after 180 s unless /root/move20.ok appears — run it under systemd-run, then SSH to the new address and touch the file. The 1 G onboard ports are declared manual and unused. Getting a card into Ethernet mode in the first place is on the Epyc page.

Keep the ConnectX-6 promiscuous, and the bridge under 512 VLANs

After a reboot, a node whose ConnectX-6 is the only port of a VLAN-aware bridge answered ARP but dropped every unicast frame addressed to it — no ping, no SSH, even from the other nodes on VLAN 110 (rx_steer_missed_packets climbing, all received packets multicast). Applying the same configuration live with ifreload does not show it, so it only appears at the first reboot. ip link set <if> promisc on restores traffic at once; the post-up makes it permanent. Separately, the card's VLAN table holds 512 entries and the kernel logs netdev vlans list size (4095) > (512) with the Proxmox default bridge-vids 2-4094; 2-255 covers every VLAN of the plan (VLAN = third octet). Verified with a reboot of each node (2026-10-22).

The three nodes form the Proxmox cluster epyc (2026-10-22): corosync link 0 on VLAN 111, link 1 on VLAN 20 as a fallback, live migration on VLAN 112 (migration: secure,network=192.168.112.0/24). The Proxmox firewall is off (enable: 0 in /etc/pve/firewall/cluster.fw, switched off 2026-10-22 at Yacine's request until the cluster is installed in the datacenter). The rules stay in the file, ready to switch back on (enable: 1, inbound policy DROP):

SourceAllowed
IP set fabric — VLANs 20, 110, 111, 112everything (corosync, migration, replication, API between nodes)
IP set mgmt-admins — NetBird 100.64.0.0/10, WireGuard 192.168.89.0/24, srv-auto, srv-pmSSH, :8006, ping
IP set monitoring — srv-status 192.168.88.158Netdata :19999, ping

WireGuard clients keep their 192.168.89.x address towards VLAN 20: the CCR2004's WireGuard src-NAT only applies towards 192.168.88.0/24.

corosync shares the 100 G cable with migration and replication

Until nic0 becomes a corosync link on sw-access (the plan), corosync (VLAN 111, and its VLAN 20 fallback) rides the same cable per node as migration and replication (VLAN 112). A saturated link can delay corosync enough to lose quorum, and with HA enabled a node without quorum reboots. Add the sw-access link before enabling HA.

Migration to ccr-core​

  1. Commission ccr-core (CCR2216) beside router A; WAN cut-over is its own change.
  2. Cable ccr-core QSFP28 1 ↔ a free sw-100g cage (1–13; cage 16 holds epyc0) with a 100 G DAC; tag VLAN 20 on it on the switch.
  3. On ccr-core: VLAN 20 interface with 192.168.20.1/24, NAT for 192.168.20.0/24, the mgmt-admins list and the two VLAN 20 rules (copy from the table above), the NetBird return route 100.64.0.0/10 → srv-netbird.
  4. Remove 192.168.20.1 from router A (vlan20-pve) in the same window — the EPYC nodes see no change of gateway address.
  5. Remove VLAN 20 from sw-100g sfp28-2, then the 25 G DAC.
  6. Move sw-100g management off LAN 88 into the management zone, and update its route.
  7. Point the NetBird route at whichever peer then routes to the rack.