From 04b91024d99f3e39babf715b818a540777fee6dc Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Thu, 14 May 2015 03:33:32 +0200 Subject: [PATCH] Dhcp snooping sur le vlan 12 + dns sur vlan 12 --- gestion/config/config.py | 1 + gestion/config/dns.py | 4 ++++ gestion/gen_confs/switchs2.py | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gestion/config/config.py b/gestion/config/config.py index fb2d51e2..b9a87d01 100644 --- a/gestion/config/config.py +++ b/gestion/config/config.py @@ -236,6 +236,7 @@ NETs_primaires = { 'personnel-ens' : ['10.2.9.0/24'], 'gratuit' : ['10.42.0.0/16'], 'accueil' : ['10.51.0.0/16'], + 'federez' : ['10.53.0.0/16'], 'isolement' : ['10.52.0.0/16'], 'evenementiel' : ['10.231.137.0/24'], 'multicast' : ['239.0.0.0/8'], diff --git a/gestion/config/dns.py b/gestion/config/dns.py index 73f4fe71..e503f5f3 100644 --- a/gestion/config/dns.py +++ b/gestion/config/dns.py @@ -124,6 +124,10 @@ recursiv = { '138.231.136.98', '138.231.136.152', ], + 'federez' : [ + '138.231.136.98', + '138.231.136.152', + ], } #: Les ip/net des vlans limité vue par les récursifs diff --git a/gestion/gen_confs/switchs2.py b/gestion/gen_confs/switchs2.py index 94aa5883..3a4cf1ba 100755 --- a/gestion/gen_confs/switchs2.py +++ b/gestion/gen_confs/switchs2.py @@ -493,7 +493,7 @@ def conf_switch(hostname): # réseaux où on fait du dhcp snooping (cf data.NETs) 'dhcp_snooping_vlan_names': ['adherent', 'wifi', 'accueil', - 'isolement', 'v6only', 'appts'], + 'isolement', 'v6only', 'appts', 'federez'], } for com in switch['info']: