Projet

Général

Profil

Myrys » Historique » Version 42

Version 41 (Laurent GUERBY, 01/12/2013 12:52) → Version 42/143 (Thierry Boudet, 05/12/2013 13:11)

{{>toc}}

h1. Services

* [[Myrys_Services| Services]]
* [[Myrys_TODO | Services TODO]]

h2. PC Services de Myrys

h3. Infos/Config PC

91.224.149.192/24
2a01:6600:8081:c000::/56
fe80::81:c0

Carte mere MSI MS-7756 = H77MA-G43 http://fr.msi.com/product/mb/H77MA-G43.html
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)
2x2 = 4 GB RAM
HDD 1.5TBx2 en RAID1+LVM

Idées de softs à installer dessus :
* bluemind pour une gestion de mail, calendrier/planning, contacts
* owncloud pour faire un serveur de fichiers avec synchro depuis android/linux/windows

h3. Config VLAN

Avant

<pre>
auto lo
iface lo inet loopback

auto eth0

auto eth0.3131
iface eth0.3131 inet static
address 91.224.149.192
netmask 255.255.255.0
gateway 91.224.149.254
vlan_raw_device eth0

auto eth0.20
iface eth0.20 inet static
address 10.20.0.29
netmask 255.255.255.0
vlan_raw_device eth0

</pre>

apres

<pre>
auto eth0

auto eth0.3131
iface eth0.3131 inet manual
vlan_raw_device eth0

auto br3131
iface br3131 inet static
bridge_ports eth0.3131
address 91.224.149.192
netmask 255.255.255.0
gateway 91.224.149.254

auto eth0.20
iface eth0.20 inet manual
vlan_raw_device eth0

auto br20
iface br20 inet static
bridge_ports eth0.20
address 10.20.0.29
netmask 255.255.255.0

</pre>

reload network
$ screen
$ ip link del eth0.3131 ; ip link del eth0.20 ; ip link set eth0 down ; service networking restart ;

h3. Configuration dnsmasq

dans /etc/dnsmasq.d/myrys.conf:

<pre>
interface=br20
enable-ra
dhcp-range=10.20.0.40,10.20.0.199,24,5m
dhcp-range=2a01:6600:8081:c0c0::2,2a01:6600:8081:c0c0::FFFF,ra-only,64,5m
dhcp-option=option6:dns-server,[2a01:6600:8081:c0c0::1]
</pre>

Note: il faut le dnsmasq de wheezy pour que enable-ra soit reconnu
<pre>
dnsmasq_2.62-3+deb7u1_all.deb 100% 16KB 16.0KB/s 00:00
dnsmasq-base_2.62-3+deb7u1_amd64.deb 100% 362KB 362.2KB/s 00:00
dnsmasq-utils_2.62-3+deb7u1_amd64.deb
</pre>

Puis forwarding et masquerade dans /etc/rc.local :

<pre>
echo 1 > /proc/sys/net/ipv4/ip_forward
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
echo 1 > /proc/sys/net/ipv6/conf/default/forwarding
iptables -t nat -A POSTROUTING -s "10.20.0.0/24" ! -d "10.20.0.0/24" -j MASQUERADE
</pre>

IPv6 manuel dans /etc/rc.local

<pre>
ip -6 addr add fe80::81:c0/64 dev br3131
ip -6 addr add 2a01:6600:8081:c000::1/56 dev br3131
ip -6 route add default via fe80::31 dev br3131

ip addr add 10.20.0.1/24 dev br20
ip -6 addr add 2a01:6600:8081:c0c0::2/64 dev br20

</pre>

h1. Picostation

<pre>
MAC Lieu IP 10.20.0.x IP 169.254 Channel Note
00:27:22:04:12:48 salle 3 vidéo 10.20.0.3 18.72 1 AP1 PoE dans container tetalab
00:27:22:05:12:4B salle 2 cantine THSF 10.20.0.4 18.75 1 AP2 PoE a coté CISCO
00:27:22:05:12:E3 salle 1 théâtre 10.20.0.5 18.227 1 AP3 PoE a coté CISCO
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
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
00:27:22:05:13:29 regie 10.20.0.8 19.41 11 AP6 PoE a coté CISCO / reboot fréquent
83:99 bureau sophie WRT54G 10.20.0.9 offline / WRT54G a ne pas utiliser mauvaise configuration non compatible avec ubnt
00:27:22:41:D0:58 bureau myrys 10.20.0.10 208.88 1 UBNT_AP7 ajouté 20111117 / reboot fréquent
A0:F3:C1:93:B0:61 salle edition 10.20.0.11 6 TPLink 740N SSID myrys
</pre>

10.20.0.1 pcmyrys (was: CISCO 3725)
10.20.0.2 CISCO 2900XL
10.20.0.3-11 Wifi
10.20.0.21 tth Sun Blade IP1
10.20.0.22 tth essais BSD disponible IP2
10.20.0.23 tth disponible IP3
10.20.0.24 tth disponible IP4
10.20.0.28 pc VM sur chaussette
10.20.0.29 pcmyrys aka "chaussette"
10.20.0.30 h2

ip dhcp excluded-address 10.20.0.1 10.20.0.31
ip dhcp excluded-address 10.20.0.200
ip dhcp excluded-address 10.20.0.204

AP1

10.20.0.3/24
10.20.0.1

00:27:22:04:12:48

AP2

10.20.0.4/24
10.20.0.1

00:27:22:04:12:4B

AP3

10.20.0.5/24
10.20.0.1

00:27:22:05:12:E3

AP4

10.20.0.6/24
10.20.0.1

00:27:22:04:12:7F

AP5

10.20.0.7/24
10.20.0.1

00:27:22:04:13:16

AP6

10.20.0.8/24
10.20.0.1

Linksys
? (192.168.123.1) at 00:16:b6:39:83:97 [ether] on wlan0
10.20.0.9 dev eth0.20 lladdr 00:16:b6:39:83:97 REACHABLE

Nmap scan report for 10.20.0.1
Host is up (0.0066s latency).
MAC Address: 00:11:21:8D:DA:F1 (Cisco Systems)
Nmap scan report for 10.20.0.2
Host is up (0.0072s latency).
MAC Address: 00:04:28:D1:0E:00 (Cisco Systems)
Nmap scan report for 10.20.0.3
Host is up (0.0068s latency).
MAC Address: 00:27:22:04:12:48 (Ubiquiti Networks)
Nmap scan report for 10.20.0.4
Host is up (0.0070s latency).
MAC Address: 00:27:22:04:12:4B (Ubiquiti Networks)
Nmap scan report for 10.20.0.5
Host is up (0.0073s latency).
MAC Address: 00:27:22:04:12:E3 (Ubiquiti Networks)
Nmap scan report for 10.20.0.6
Host is up (0.011s latency).
MAC Address: 00:27:22:04:12:7F (Ubiquiti Networks)
Nmap scan report for 10.20.0.7
Host is up (0.011s latency).
MAC Address: 00:27:22:04:13:16 (Ubiquiti Networks)
Nmap scan report for 10.20.0.8
Host 10.20.0.8 is up (0.0011s latency).
MAC Address: 00:27:22:04:13:29 (Ubiquiti Networks)
Nmap scan report for 10.20.0.9
Host 10.20.0.9 is up (0.00076s latency).
MAC Address: 00:16:B6:39:83:97 (Cisco-Linksys)

00:27:22:05:13:29
00:27:22:04:13:29

h1. InfraMyrys

* [[InfraMyrys]]

h1. Fibres

* [[FibreMyrys]]