Projet

Général

Profil

Myrys » Historique » Version 29

Laurent GUERBY, 28/03/2013 00:30

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