Myrys » Historique » Version 46
« Précédent -
Version 46/143
(diff) -
Suivant » -
Version actuelle
Laurent GUERBY, 16/04/2014 15:57
Services¶
PC Services de Myrys¶
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
- 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.d/myrys.conf:
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]
Note: il faut le dnsmasq de wheezy pour que enable-ra soit reconnu
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
Puis forwarding et masquerade dans /etc/rc.local :
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
IPv6 manuel dans /etc/rc.local
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
Picostation¶
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 APSalle3 PoE dans container tetalab 00:27:22:05:12:4B bureau 10.20.0.4 18.75 1 APBureau PoE a coté CISCO ex salle 2 20140416 ? caravane en face bureau 00:27:22:05:12:E3 salle 1 théâtre 10.20.0.5 18.227 1 APSalle1 PoE a coté CISCO 00:27:22:05:12:7F tetalab 10.20.0.6 18.127 6 APTetalab 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 KO 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 disparu 20140416 ? 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 disparu 20140416 ? UBNT_AP7 ajouté 20111117 / reboot fréquent A0:F3:C1:93:B0:61 salle edition 10.20.0.11 6 offline TPLink 740N SSID myrys 10:fe:ed:82:99:f3 salle AG 10.20.0.14 11 APAG TPLink 740N salle AG baie freebox
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 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