The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
Cisco 1811  и явное указание основного канала при балансировке, !*! RIPper_wk, 19-Дек-07, 15:35  [смотреть все]
есть 1811
настроена на 2 канала и нат вовнутрь.
один канал статика (основной), второй - PPPOE
как указать кошке что собственно основной первый и с него спрыгивать только при падении онного и возврат сразу по появлении, ато он любой выбирает как захочет

192.168.0.1 - шлюз PPPOE
второй - шлюз статики  

конфиг вот
!!Route tracking
track timer interface 5
!
!Configure times on route tracking
!
track 123 rtr 1 reachability
delay down 15 up 10
!
track 345 rtr 2 reachability
delay down 15 up 10
!
interface FastEthernet0
description $ETH-LAN$
ip address XXX.XXX.XXX.94 255.255.255.252
ip tcp adjust-mss 1412
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet1
description $ETH-WAN$
no ip address
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
!
interface FastEthernet5
!
interface FastEthernet6
!
interface FastEthernet7
!
interface FastEthernet8
!
interface FastEthernet9
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-FE 2$
ip address 10.10.10.1 255.255.255.0
ip tcp adjust-mss 1412
ip nat inside
ip virtual-reassembly
!
interface Dialer0
ip address negotiated
ip mtu 1452
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap pap callin
ppp chap hostname cisco
ppp chap password 0 cisco
ppp pap sent-username cisco password 0 cisco
!
ip route 0.0.0.0 0.0.0.0 XXX.XXX.XXX.93 track 123
!
ip nat inside source route-map fixed-nat interface FastEthernet0 overload
!
ip route 0.0.0.0 0.0.0.0 192.168.0.1 track 345
!
ip nat inside source route-map fixed-nat2 interface Dialer0 overload
!
!tracking for static
!
ip sla 1
icmp-echo 195.114.133.93
!source-interface FastEthernet0
!timeout 2000
threshold 40
!frequency 3
!
!tracking for dynamic
!
ip sla 2
icmp-echo 192.168.0.1
!source-interface Dialer0
!timeout 2000
threshold 40
!frequency 3
!
ip sla schedule 1 life forever start-time now
ip sla schedule 2 life forever start-time now
!
access-list 110 permit ip 10.10.10.0 0.255.255.255 any
!
!rout map accociate NAT ACLs with NAT
!outside on the ISP facing interfaces
route-map fixed-nat  permit 10
match ip address 110
match interface FastEthernet0
!
route-map fixed-nat2  permit 10
match ip address 110
match interface Dialer0




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру