3 PC Engines and PEPsal » History » Version 7

MERIOCHAUD, Antoine, 03/10/2016 03:56 PM

1 1 MERIOCHAUD, Antoine
h3. 3. PC Engines and PEPsal
2 2 MERIOCHAUD, Antoine
The computers used to install PEPsal are these small computers with only 3 Ethernet ports. 
3 2 MERIOCHAUD, Antoine
4 1 MERIOCHAUD, Antoine
!apu1c.png!
5 1 MERIOCHAUD, Antoine
+Figure 1: PC Engines used in the lab+
6 3 MERIOCHAUD, Antoine
7 6 MERIOCHAUD, Antoine
All the configurations we will explain in this page correspond to the PEP on the Hub side. A similar configuration is used on the Remote Terminal PEP, only IP adresses are different. 
8 6 MERIOCHAUD, Antoine
9 1 MERIOCHAUD, Antoine
The first Ethernet port is used for management so to access these computers we use the management computer shown in the network architecture to connect with SSH protocol :
10 1 MERIOCHAUD, Antoine
@sudo ssh labo@192.168.0.200@
11 6 MERIOCHAUD, Antoine
Once it is done, we can control the computer to configure the others Ethernet ports according to the network architecture : 
12 1 MERIOCHAUD, Antoine
@ifconfig p5p1 192.168.1.3@
13 7 MERIOCHAUD, Antoine
Now we need to tell to the computer that to send a paquet on the network 192.168.2.0/24 he needs to send it to the modem on the HUB side : 
14 7 MERIOCHAUD, Antoine
@route add -net 192.168.2.0/24 gw 192.168.1.2@