Câblage — alimentation & réseau
Plan physique. Tout déplacement câble → maj doc AVANT fermer rack.
Contexte
Salon (box SFR + naboo + TP-Link TL-SG108PE) connecté garage (Netgear GS108T + yavin4 + jedha NAS LAG 4x1GbE + coruscant + dagobah + endor) via trunk Cat6 ~40m portant VLANs 10/20/30 tagged. UPS APC BR1600MI protège infra garage uniquement.
Câbler trunk inter-sites (Cat6 40m)
Pose Cat6 salon↔garage. Connexions : TP-Link P8 ↔ Netgear P1. VLANs 10/20/30 tagged, pas de PVID.
# Test continuité depuis naboo (LAN 10.0.1.10)
ping -c 4 10.0.1.3 # Netgear garage
ping -c 4 10.0.1.30 # coruscant via trunk
Verify: ping -c 2 10.0.1.30 (coruscant joignable via trunk) Verify: ethtool nic0 | grep Speed (1000Mb/s négocié)
Configurer TP-Link TL-SG108PE (Salon, 10.0.1.2)
Switch web UI http://10.0.1.2. Login admin. Ports :
| Port | Equipt | PVID | Tagged |
|---|---|---|---|
| P1 | Box SFR | 20 | — |
| P2 | naboo | 10 | — |
| P3-P7 | Réserve | — | — |
| P8 | Trunk Netgear | 1 | 10,20,30 |
# Verif depuis naboo
ping -c 2 10.0.1.2
nmap -p 80,443 10.0.1.2
Verify: UI 10.0.1.2 accessible Verify: P8 trunk tagged 10/20/30 dans UI VLAN config
Configurer Netgear GS108T v3 (Garage, 10.0.1.3)
Web UI http://10.0.1.3. Ports :
| Port | Equipt | Hostname | PVID | Tagged |
|---|---|---|---|---|
| P1 | Trunk TP-Link | — | 1 | 10,20,30 |
| P3,P5,P6,P7 | NAS LAG (LACP) | jedha | 10 | — |
| P4 | Workstation | coruscant | 10 | — |
| P8 | Hyperviseur | yavin4 | 1 | 10,20,30 |
ping -c 2 10.0.1.3
ssh admin@10.0.1.3 'show vlan'
Verify: UI 10.0.1.3 accessible Verify: LAG bond0 actif sur P3/P5/P6/P7 (LACP partners aggregated)
Configurer LAG NAS jedha (4× 1GbE → bond0)
LACP 802.3ad (hash L3+L4), IP 10.0.1.20, MTU 1500. UI DSM Control Panel → Network → Create → Bond.
# Verif depuis naboo
ssh admin@10.0.1.20 'cat /proc/net/bonding/bond0'
ssh admin@10.0.1.20 'ip -br link show bond0'
Verify: bond0 status = up, mode 802.3ad Verify: 4 slaves actifs (eth0-eth3 ou similaire) Verify: ping -c 4 10.0.1.20 OK depuis garage et salon
Brancher UPS APC BR1600MI (Garage)
1 600 VA / 960 W, 4 prises ondulées + 4 surge only. USB monitoring → dagobah (NUT).
Equipt protégé (ondulées) :
- yavin4 (NUC ~45-65W)
- jedha NAS (~90-110W)
- Netgear GS108T (~8W)
- dagobah RPi (~5W)
- yavin4-kvm PiKVM (~5W)
Total typique : ~155-195W → autonomie estimée 25-35 min.
# Sur dagobah après install NUT
ssh sacha@10.0.1.12 'upsc apc@localhost ups.status'
ssh sacha@10.0.1.12 'upsc apc@localhost battery.charge'
Verify: upsc retourne status OL (online) Verify: battery.charge >= 95
Étiqueter les câbles
Format : [ID]_[SOURCE]-[DEST]_[TYPE]. Exemples :
T01_TPlink-P8_Netgear-P1_TRUNK40ML01_Netgear-P3_jedha-LAN1_LAGL02_Netgear-P4_coruscant-eth0_ACCESS
Verify: chaque câble visible a étiquette imprimée aux 2 bouts
Points d’attention SPOF
- Trunk Cat6 unique salon↔garage = SPOF. Si rupture → tout VLAN 10/20/30 coupé.
- TP-Link salon non UPS = coupure secteur salon → tout LAN salon HS + trunk inutile.
- Box SFR non UPS = idem WAN coupé sur coupure salon.
Solutions futures : 2e câble inter-sites + UPS salon.
Verify: trunk testé ping 1h continu sans drop