utilisation de radius pour configurer les switchs en live
Maintenant radius dit aux switchs quel vlan mettre en non taggé. Ça permet de switcher facilement sur le bon vlan suivant le type de compte et ça évite la désynchronisation de la configuration des switchs. darcs-hash:20080904041337-af139-665172ad09d19f439c6aa8ee6c529752c0e80d95.gz
This commit is contained in:
parent
e209f42707
commit
4fd3644f97
4 changed files with 90 additions and 79 deletions
|
@ -383,6 +383,22 @@ domains = { 'machineFixe': 'crans.org',
|
|||
'machineWifi': 'wifi.crans.org',
|
||||
'borneWifi': 'wifi.crans.org' }
|
||||
|
||||
# VLans
|
||||
vlans = {
|
||||
# VLan d'administration
|
||||
'adm' : 2,
|
||||
# VLan pour le wifi
|
||||
'wifi' : 3,
|
||||
# VLan pour le wifi de l'ens
|
||||
'hotspot' : 4,
|
||||
# VLan des gens qui paient
|
||||
'adherent' : 1,
|
||||
# VLan des inconnus
|
||||
'accueil' : 7,
|
||||
# VLan des radins
|
||||
'radin' : 6
|
||||
}
|
||||
|
||||
#######################
|
||||
## Mail de bienvenue ##
|
||||
#######################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue