---
title: network-connection-manual
tags: bt21
#
---
# HERD TB2021 Network Connection Manual
:::info
The most recent version of this manual can alway be found [online](https://codimd.web.cern.ch/s/WIhkghZ5L)
:::
## Devices list:
| label | type | info | remark |
| ------ | --------------- | --------------------- | ------------- |
| Net-1 | Console 1 | Thinkpad X270 #A62620 | |
| Net-2 | Router | TP-Link, 4 LAN ports | |
| Net-3 | Switch 1 | H3C, 16 ports | |
| Net-4 | Switch 2 | TP-Link, 16 ports | |
| Net-5 | USB camera | | |
| Net-6 | USB camera | | |
| Net-7 | USB hub | | |
| Net-8 | USB camera | | avoid USB hub |
| Trd-8 | TRD DAQ | Thinkpad E550C | |
| Cam-7 | IsCMOS DAQ | desktop computer | |
| Tab-1 | Table Control | Thinkpad W530 | |
| Trig-1 | Trigger Control | small alumium box | |
## Steps
After put all devices in place, make the following connections (order doesn't matter)
- Connect devices to near network switch with ethernet cable.
- TRD DAQ computer (Trd-8) have an additional USB ethernet adapter for DAQ. Connect network to the internal port. [^trdref]
- Trigger control computer (label Trig-1) have 2 ethernet ports. Connect network to the port labeld "OUT" on the right hand side. [^trgref]
- IsCMOS DAQ computer (label Cam-7) have many ports, but only 1 is marked while others are covered by tapes. Connect to the marked port.
- Other computers have only 1 ethernet port: connect to it.
- Connect Switch 2 (label: Net-4, at beam area)
1. Connect switch 2 to outlet in beam area
2. Connect **corresponding** outlet in control room to the router's **LAN** port
- Connect Switch 1 (label: Net-3) in control room to router's **LAN** port
- Connect USB cameras
1. Find suitable position to place the camera
2. Connect cameras to nearby DAQ computers (e.g. platform control laptop)
:::info
Note that camera labeled Net-6 and Net-8 can not connect to the same USB hub (Net-7) because no enough power output for that hub.
:::
- Boot all computers
Because motherboard batteries have been removed for transportation requirement, a key pressing will be needed when a computer is powered on for the first time. Please watch the prompts on the screens. The details will also be found in operation manuals.
[^trdref]: See TRD assembly manual at https://twikinew.ihep.ac.cn/twikiherd/view/HERD/AssemblingManuals for details
[^trgref]: See trigger system assembly manual at https://twikinew.ihep.ac.cn/twikiherd/view/HERD/AssemblingManuals for details.
## Diagram
```plantuml
header "Connection Diagram"
'scale 0.8
skinparam componentStyle rectangle
cloud "CERN network" as cnet
package "Control Room" {
"Switch 1\n(Net-3)" as (sw1)
[Console 1\n(Net-1)] as scon1
[...] as scon3
[Router\n(Net-2)] as router
router <--> sw1 : LAN port
sw1 -- scon1
sw1 -- scon3
}
package "Beam Area" {
[IsCMOS DAQ\n(Cam-7)] as daq1
[Table Control\n(Tab-1)] as daq2
[Trigger Control\n(Trig-1)] as daq3
[TRD DAQ\n(Trd-8)] as daq4
[...] as daq5
'' ("switch 2\n[Net-4]") as sw2
usecase sw2 as "Switch 2\n(Net-4)"
sw2 -- daq1
sw2 -- daq2
sw2 -- daq3
sw2 -- daq4
sw2 -- daq5
}
cnet <--> router : WAN port
router <-right-> sw2 : LAN port, connect through outlets
legend
NOTE:
the string in parenthesis is the label on the device
end legend
```