Projet

Général

Profil

Myrys » Historique » Version 45

Laurent GUERBY, 16/04/2014 14:39

1 4 Laurent GUERBY
{{>toc}}
2 4 Laurent GUERBY
3 39 Mehdi Abaakouk
h1. Services
4 1 Laurent GUERBY
5 39 Mehdi Abaakouk
* [[Myrys_Services| Services]]
6 39 Mehdi Abaakouk
* [[Myrys_TODO | Services TODO]]
7 1 Laurent GUERBY
8 39 Mehdi Abaakouk
h2. PC Services de Myrys
9 36 iku jam
10 39 Mehdi Abaakouk
h3. Infos/Config PC
11 35 iku jam
12 19 Laurent GUERBY
91.224.149.192/24
13 19 Laurent GUERBY
2a01:6600:8081:c000::/56
14 19 Laurent GUERBY
fe80::81:c0
15 19 Laurent GUERBY
16 21 Laurent GUERBY
Carte mere MSI MS-7756 = H77MA-G43 http://fr.msi.com/product/mb/H77MA-G43.html
17 21 Laurent GUERBY
Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz 2C/4T http://ark.intel.com/products/65693/Intel-Core-i3-3220-Processor-(3M-Cache-3_30-GHz)
18 21 Laurent GUERBY
2x2 = 4 GB RAM
19 21 Laurent GUERBY
HDD 1.5TBx2 en RAID1+LVM
20 21 Laurent GUERBY
21 43 Thierry Boudet
Idées de softs à installer dessus :
22 20 Fabien Dupont
* bluemind pour une gestion de mail, calendrier/planning, contacts
23 20 Fabien Dupont
* owncloud pour faire un serveur de fichiers avec synchro depuis android/linux/windows
24 20 Fabien Dupont
25 22 Laurent GUERBY
h3. Config VLAN
26 22 Laurent GUERBY
27 22 Laurent GUERBY
Avant
28 22 Laurent GUERBY
29 22 Laurent GUERBY
<pre>
30 22 Laurent GUERBY
auto lo
31 22 Laurent GUERBY
iface lo inet loopback
32 22 Laurent GUERBY
33 22 Laurent GUERBY
auto eth0
34 22 Laurent GUERBY
35 22 Laurent GUERBY
auto eth0.3131
36 22 Laurent GUERBY
iface eth0.3131 inet static
37 22 Laurent GUERBY
	address 91.224.149.192
38 22 Laurent GUERBY
	netmask 255.255.255.0
39 22 Laurent GUERBY
	gateway 91.224.149.254
40 22 Laurent GUERBY
	vlan_raw_device eth0
41 22 Laurent GUERBY
42 22 Laurent GUERBY
auto eth0.20
43 22 Laurent GUERBY
iface eth0.20 inet static
44 22 Laurent GUERBY
	address 10.20.0.29
45 22 Laurent GUERBY
	netmask 255.255.255.0
46 22 Laurent GUERBY
	vlan_raw_device eth0
47 22 Laurent GUERBY
48 22 Laurent GUERBY
</pre>
49 22 Laurent GUERBY
50 23 Mehdi Abaakouk
apres
51 23 Mehdi Abaakouk
52 23 Mehdi Abaakouk
<pre>
53 23 Mehdi Abaakouk
auto eth0
54 23 Mehdi Abaakouk
55 23 Mehdi Abaakouk
auto eth0.3131
56 23 Mehdi Abaakouk
iface eth0.3131 inet manual
57 23 Mehdi Abaakouk
        vlan_raw_device eth0
58 23 Mehdi Abaakouk
59 23 Mehdi Abaakouk
60 23 Mehdi Abaakouk
auto br3131
61 23 Mehdi Abaakouk
iface br3131 inet static
62 23 Mehdi Abaakouk
        bridge_ports eth0.3131
63 25 Laurent GUERBY
        address 91.224.149.192
64 23 Mehdi Abaakouk
        netmask 255.255.255.0
65 26 Laurent GUERBY
        gateway 91.224.149.254
66 23 Mehdi Abaakouk
67 23 Mehdi Abaakouk
auto eth0.20
68 23 Mehdi Abaakouk
iface eth0.20 inet manual
69 23 Mehdi Abaakouk
        vlan_raw_device eth0
70 23 Mehdi Abaakouk
71 23 Mehdi Abaakouk
auto br20
72 23 Mehdi Abaakouk
iface br20 inet static
73 23 Mehdi Abaakouk
        bridge_ports eth0.20
74 23 Mehdi Abaakouk
        address 10.20.0.29
75 23 Mehdi Abaakouk
        netmask 255.255.255.0
76 23 Mehdi Abaakouk
77 23 Mehdi Abaakouk
</pre>
78 1 Laurent GUERBY
79 23 Mehdi Abaakouk
reload network
80 23 Mehdi Abaakouk
$ screen
81 23 Mehdi Abaakouk
$ ip link del eth0.3131 ; ip link del eth0.20 ; ip link set eth0 down ; service networking restart ;
82 23 Mehdi Abaakouk
83 39 Mehdi Abaakouk
h3. Configuration dnsmasq
84 24 Mehdi Abaakouk
85 28 Laurent GUERBY
dans /etc/dnsmasq.d/myrys.conf:
86 1 Laurent GUERBY
87 28 Laurent GUERBY
<pre>
88 24 Mehdi Abaakouk
interface=br20
89 1 Laurent GUERBY
enable-ra
90 1 Laurent GUERBY
dhcp-range=10.20.0.40,10.20.0.199,24,5m
91 28 Laurent GUERBY
dhcp-range=2a01:6600:8081:c0c0::2,2a01:6600:8081:c0c0::FFFF,ra-only,64,5m
92 28 Laurent GUERBY
dhcp-option=option6:dns-server,[2a01:6600:8081:c0c0::1]
93 28 Laurent GUERBY
</pre>
94 1 Laurent GUERBY
95 37 Laurent GUERBY
Note: il faut le dnsmasq de wheezy pour que enable-ra soit reconnu
96 37 Laurent GUERBY
<pre>
97 37 Laurent GUERBY
dnsmasq_2.62-3+deb7u1_all.deb                                                                                                                                                                           100%   16KB  16.0KB/s   00:00    
98 37 Laurent GUERBY
dnsmasq-base_2.62-3+deb7u1_amd64.deb                                                                                                                                                                    100%  362KB 362.2KB/s   00:00    
99 37 Laurent GUERBY
dnsmasq-utils_2.62-3+deb7u1_amd64.deb 
100 37 Laurent GUERBY
</pre>
101 37 Laurent GUERBY
102 28 Laurent GUERBY
103 28 Laurent GUERBY
Puis forwarding et masquerade dans /etc/rc.local :
104 28 Laurent GUERBY
105 28 Laurent GUERBY
<pre>
106 28 Laurent GUERBY
echo 1 > /proc/sys/net/ipv4/ip_forward
107 28 Laurent GUERBY
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
108 28 Laurent GUERBY
echo 1 > /proc/sys/net/ipv6/conf/default/forwarding
109 1 Laurent GUERBY
iptables -t nat -A POSTROUTING -s "10.20.0.0/24" ! -d "10.20.0.0/24" -j MASQUERADE
110 28 Laurent GUERBY
</pre>
111 1 Laurent GUERBY
112 28 Laurent GUERBY
IPv6 manuel dans /etc/rc.local
113 28 Laurent GUERBY
114 28 Laurent GUERBY
<pre>
115 28 Laurent GUERBY
ip -6 addr add fe80::81:c0/64 dev br3131
116 28 Laurent GUERBY
ip -6 addr add 2a01:6600:8081:c000::1/56 dev br3131
117 28 Laurent GUERBY
ip -6 route add default via fe80::31 dev br3131
118 28 Laurent GUERBY
119 1 Laurent GUERBY
ip addr add 10.20.0.1/24 dev br20
120 1 Laurent GUERBY
ip -6 addr add 2a01:6600:8081:c0c0::2/64 dev br20
121 28 Laurent GUERBY
122 28 Laurent GUERBY
</pre>
123 28 Laurent GUERBY
124 23 Mehdi Abaakouk
125 39 Mehdi Abaakouk
h1. Picostation
126 39 Mehdi Abaakouk
127 2 Laurent GUERBY
<pre>
128 33 Laurent GUERBY
MAC               Lieu                 IP 10.20.0.x IP 169.254 Channel Note
129 43 Thierry Boudet
00:27:22:04:12:48 salle 3 vidéo        10.20.0.3    18.72      1       AP1 PoE dans container tetalab
130 44 Laurent GUERBY
00:27:22:05:12:4B bureau               10.20.0.4    18.75      1       AP2 PoE a coté CISCO ex salle 2
131 43 Thierry Boudet
00:27:22:05:12:E3 salle 1 théâtre      10.20.0.5    18.227     1       AP3 PoE a coté CISCO
132 43 Thierry Boudet
00:27:22:05:12:7F tetalab              10.20.0.6    18.127     6       AP4 Prise électrique derrière le container avec du jeu / reboot fréquent
133 43 Thierry Boudet
00:27:22:05:13:16 local atelier Sophie 10.20.0.7    19.22      1       AP5 Switch de distribution pour .3 .6 et .7 disjoncteur a gauche sur le central  / reboot fréquent
134 43 Thierry Boudet
00:27:22:05:13:29 regie                10.20.0.8    19.41      11      AP6 PoE a coté CISCO / reboot fréquent
135 33 Laurent GUERBY
            83:99 bureau sophie WRT54G 10.20.0.9                       offline / WRT54G a ne pas utiliser mauvaise configuration non compatible avec ubnt
136 43 Thierry Boudet
00:27:22:41:D0:58 bureau myrys         10.20.0.10   208.88     1       UBNT_AP7 ajouté 20111117  / reboot fréquent
137 34 Mik Siccardi
A0:F3:C1:93:B0:61 salle edition        10.20.0.11              6       TPLink 740N SSID myrys
138 45 Laurent GUERBY
10:fe:ed:82:99:f3 salle AG             10.20.0.14              11      APAG 740N
139 27 Mehdi Abaakouk
</pre>
140 2 Laurent GUERBY
141 30 Laurent GUERBY
10.20.0.1 pcmyrys (was: CISCO 3725)
142 6 Laurent GUERBY
10.20.0.2 CISCO 2900XL
143 30 Laurent GUERBY
10.20.0.3-11 Wifi
144 42 Thierry Boudet
10.20.0.21 tth Sun Blade  IP1
145 42 Thierry Boudet
10.20.0.22 tth essais BSD IP2
146 12 Thierry Boudet
10.20.0.23 tth disponible IP3
147 12 Thierry Boudet
10.20.0.24 tth disponible IP4
148 41 Laurent GUERBY
10.20.0.28 pc VM sur chaussette
149 40 Thierry Boudet
10.20.0.29 pcmyrys aka "chaussette"
150 6 Laurent GUERBY
10.20.0.30 h2
151 1 Laurent GUERBY
152 11 Laurent GUERBY
ip dhcp excluded-address 10.20.0.1 10.20.0.31
153 6 Laurent GUERBY
ip dhcp excluded-address 10.20.0.200
154 6 Laurent GUERBY
ip dhcp excluded-address 10.20.0.204
155 6 Laurent GUERBY
156 9 Thierry Boudet
157 10 Laurent GUERBY
AP1
158 1 Laurent GUERBY
159 14 Thierry Boudet
10.20.0.3/24
160 1 Laurent GUERBY
10.20.0.1
161 1 Laurent GUERBY
162 1 Laurent GUERBY
 00:27:22:04:12:48
163 1 Laurent GUERBY
164 1 Laurent GUERBY
165 1 Laurent GUERBY
AP2
166 1 Laurent GUERBY
167 14 Thierry Boudet
10.20.0.4/24
168 1 Laurent GUERBY
10.20.0.1
169 1 Laurent GUERBY
170 1 Laurent GUERBY
 00:27:22:04:12:4B
171 1 Laurent GUERBY
172 1 Laurent GUERBY
AP3
173 1 Laurent GUERBY
174 14 Thierry Boudet
10.20.0.5/24
175 1 Laurent GUERBY
10.20.0.1
176 1 Laurent GUERBY
177 1 Laurent GUERBY
 00:27:22:05:12:E3
178 1 Laurent GUERBY
179 1 Laurent GUERBY
AP4
180 1 Laurent GUERBY
181 14 Thierry Boudet
10.20.0.6/24
182 1 Laurent GUERBY
10.20.0.1
183 1 Laurent GUERBY
184 1 Laurent GUERBY
 00:27:22:04:12:7F
185 1 Laurent GUERBY
186 1 Laurent GUERBY
AP5
187 1 Laurent GUERBY
188 14 Thierry Boudet
10.20.0.7/24
189 1 Laurent GUERBY
10.20.0.1
190 1 Laurent GUERBY
191 1 Laurent GUERBY
 00:27:22:04:13:16
192 1 Laurent GUERBY
193 1 Laurent GUERBY
AP6
194 1 Laurent GUERBY
195 14 Thierry Boudet
10.20.0.8/24
196 1 Laurent GUERBY
10.20.0.1
197 1 Laurent GUERBY
198 1 Laurent GUERBY
Linksys
199 1 Laurent GUERBY
? (192.168.123.1) at 00:16:b6:39:83:97 [ether] on wlan0
200 1 Laurent GUERBY
10.20.0.9 dev eth0.20 lladdr 00:16:b6:39:83:97 REACHABLE
201 1 Laurent GUERBY
202 1 Laurent GUERBY
Nmap scan report for 10.20.0.1
203 1 Laurent GUERBY
Host is up (0.0066s latency).
204 1 Laurent GUERBY
MAC Address: 00:11:21:8D:DA:F1 (Cisco Systems)
205 1 Laurent GUERBY
Nmap scan report for 10.20.0.2
206 1 Laurent GUERBY
Host is up (0.0072s latency).
207 1 Laurent GUERBY
MAC Address: 00:04:28:D1:0E:00 (Cisco Systems)
208 1 Laurent GUERBY
Nmap scan report for 10.20.0.3
209 1 Laurent GUERBY
Host is up (0.0068s latency).
210 1 Laurent GUERBY
MAC Address: 00:27:22:04:12:48 (Ubiquiti Networks)
211 1 Laurent GUERBY
Nmap scan report for 10.20.0.4
212 1 Laurent GUERBY
Host is up (0.0070s latency).
213 1 Laurent GUERBY
MAC Address: 00:27:22:04:12:4B (Ubiquiti Networks)
214 1 Laurent GUERBY
Nmap scan report for 10.20.0.5
215 1 Laurent GUERBY
Host is up (0.0073s latency).
216 1 Laurent GUERBY
MAC Address: 00:27:22:04:12:E3 (Ubiquiti Networks)
217 1 Laurent GUERBY
Nmap scan report for 10.20.0.6
218 1 Laurent GUERBY
Host is up (0.011s latency).
219 1 Laurent GUERBY
MAC Address: 00:27:22:04:12:7F (Ubiquiti Networks)
220 1 Laurent GUERBY
Nmap scan report for 10.20.0.7
221 1 Laurent GUERBY
Host is up (0.011s latency).
222 1 Laurent GUERBY
MAC Address: 00:27:22:04:13:16 (Ubiquiti Networks)
223 1 Laurent GUERBY
Nmap scan report for 10.20.0.8
224 1 Laurent GUERBY
Host 10.20.0.8 is up (0.0011s latency).
225 1 Laurent GUERBY
MAC Address: 00:27:22:04:13:29 (Ubiquiti Networks)
226 1 Laurent GUERBY
Nmap scan report for 10.20.0.9
227 1 Laurent GUERBY
Host 10.20.0.9 is up (0.00076s latency).
228 1 Laurent GUERBY
MAC Address: 00:16:B6:39:83:97 (Cisco-Linksys)
229 1 Laurent GUERBY
230 1 Laurent GUERBY
 00:27:22:05:13:29
231 1 Laurent GUERBY
 00:27:22:04:13:29
232 1 Laurent GUERBY
233 39 Mehdi Abaakouk
h1. InfraMyrys
234 38 Thierry Boudet
235 38 Thierry Boudet
* [[InfraMyrys]]
236 39 Mehdi Abaakouk
237 39 Mehdi Abaakouk
h1. Fibres
238 39 Mehdi Abaakouk
239 38 Thierry Boudet
* [[FibreMyrys]]