pppoe_local.cfg

Skip to end of metadata
Go to start of metadata
Вы просматриваете старую версию данной страницы. Смотрите текущую версию. Сравнить с текущим  |   просмотр истории страницы
configure
cont local
\!\!\! укзаываем все нужные маршруты из контекста маршрутизации в контекст pppoe подробонее см. ipoe_bgp.cfg.tmplt

@@@ for route in abon_nets
ip route {{route.net}} context {{ctx_name}}
@@@ endfor
\!
@@@ for route in reverse_routes
ip route {{route.net}} {{route.gw}}
@@@ endfor
\!
@@@ for policy in nat_policy
 @@@ for pool in policy.nat_pool
    ip route {{pool}} context {{ctx_name}}
 @@@ endfor
@@@ endfor
\!
@@@ for bind in abon_binds
 @@@ if bind.if_ip
      ip route {{bind.if_ip}} context {{ctx_name}}
 @@@ endif
@@@ endfor
\!
@@@ if context_ip
ip route {{context_ip}} context {{ctx_name}}
@@@ endif

end
exit
Введите метки, чтобы добавить к этой странице:
Please wait 
Ищите метку? просто начните печатать.