Myrys » Historique » Version 25
« Précédent -
Version 25/143
(diff) -
Suivant » -
Version actuelle
Laurent GUERBY, 23/03/2013 08:52
Myrys¶
PC Myrys¶
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
TODO DNSmasq
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
Config VLAN¶
Avant
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
apres
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
reload network
$ screen
$ ip link del eth0.3131 ; ip link del eth0.20 ; ip link set eth0 down ; service networking restart ;
configuration dnsmasq¶
dans /etc/dnsmasq.conf:
interface=br20
enable-ra
dhcp-range=10.20.0.40,10.20.0.199,24,5m
dhcp-range=2a01:6600:8081:ad02::2,2a01:6600:8081:ad02::FFFF,ra-only,64,5m
Puis masquerade:
iptables -t nat -A POSTROUTING -s "10.20.0.0/24" ! -d "10.20.0.0/24" -j MASQUERADE
picostation Myrys¶
MAC Lieu IP 10.20.0.x Channel Note 12 48 salle 3 vidéo 10.20.0.3 1 AP1 PoE dans container tetalab 12 4b salle 2 cantine THSF 10.20.0.4 1 AP2 PoE a coté CISCO 12 e3 salle 1 théâtre 10.20.0.5 11 AP3 PoE a coté CISCO 12 7f tetalab 10.20.0.6 6 AP4 Prise électrique derrière le container avec du jeu / reboot fréquent 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 13 29 regie 10.20.0.8 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 d0 58 bureau myrys 10.20.0.10 1 UBNT_AP7 ajouté 20111117 / reboot fréquent
10.20.0.1 CISCO 3725
10.20.0.2 CISCO 2900XL
10.20.0.21 tth Sun Blade IP1
10.20.0.22 tth disponible IP2
10.20.0.23 tth disponible IP3
10.20.0.24 tth disponible IP4
10.20.0.29 pcmyrys
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