# #nomes dos ip-prefix para uso na config do peer na outra pagina # [VAR7]-V4-[VAR1].[VAR2].[NET220].0/22 [VAR7]-V4-[VAR1].[VAR2].[NET231].0/23 [VAR7]-V4-[VAR1].[VAR2].[NET232].0/23 [VAR7]-V4-[VAR1].[VAR2].[NET241].0/24 [VAR7]-V4-[VAR1].[VAR2].[NET242].0/24 [VAR7]-V4-[VAR1].[VAR2].[NET243].0/24 [VAR7]-V4-[VAR1].[VAR2].[NET244].0/24 [VAR7]-V4-TODOS-23 [VAR7]-V4-TODOS-24 [VAR7]-V4-22ATE23 [VAR7]-V4-22ATE24 [VAR7]-V6-32 # # #ZDM PPPOE #teste1 log service name do pppoe-server=[VAR1] nome_domain=[VAR2] ip dns 1=[VAR3] ip dns 2=[VAR4] ip do radius=[VAR5] secret do radius=[VAR6] ip de origem das requisições pro radius=[VAR7] endereço de rede da pool (3 PRIMEIROS OCTETOS)=[VAR8].[VAR9].[VAR10].0/[VAR11] netmask da pool=[VAR11] (gateway será o primeiro IP da pool)=[VAR12] nome da interface completo[VAR13] + .1 range de vlans pppoe: duas variáveis, start e end [VAR14] E [VAR15] !teste1 !config system-view interface virtual-template 1 ppp authentication-mode auto commit # aaa authentication-scheme pppoe-auth authentication-mode radius local quit commit accounting-scheme pppoe-acct accounting-mode radius quit commit # # radius-server group radius-server-pppoe radius-server shared-key-cipher [VAR6] radius-server authentication [VAR5] 1812 weight 0 radius-server accounting [VAR5] 1813 weight 0 radius-server user-name original commit quit radius local-ip [VAR7] commit radius-server authorization [VAR5] destination-port 3799 shared-key-cipher [VAR6] server-group radius-server-pppoe commit !precisa adicionar um contador onde a MASK [VAR11] ALTERA O TERCEIRO OCTETO [VAR10] ip pool pool-[VAR8].[VAR9].[VAR10].0-[VAR11] bas local gateway [VAR8].[VAR9].[VAR10].1 [VAR11] section 0 [VAR8].[VAR9].[VAR10].2 [VAR8].[VAR9].[VARNETPOOL].254 commit quit ip pool-group pool-pppoe bas ip-pool pool-[VAR8].[VAR9].[VAR10].0-[VAR11] commit quit # aaa domain [VAR2] authentication-scheme pppoe-auth accounting-scheme pppoe-acct radius-server group radius-server-pppoe ip-pool-group pool-pppoe dns primary-ip [VAR3] dns second-ip [VAR4] # interface [VAR13].1 description PPPOE-SERVER statistic enable commit pppoe-server bind Virtual-Template 1 commit user-vlan [VAR14] [VAR15] commit bas access-type layer2-subscriber default-domain authentication [VAR2] commit quit