возникла проблема с маршрутизацией.
проблема в том что R2 это Catalyst 3750G и он (вродь как) не поддерживает ip policy route-map.
- Код: Выделить всё
00:12:29: %PLATFORM_PBR-3-UNSUPPORTED_RMAP: Route-map alpha not supported for Policy-Based Routing
Канал между R2 и R4 резервный. нужно организовать направление трафика на R4 через R3 (для этого нужно проверять доступность между R3 и R4, как я понял). кроме как ip policy есть какие-нибудь способы?
- Код: Выделить всё
sh ver:
ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(25r)SE1, RELEASE SOFTWAR E (fc)
R2 uptime is 30 minutes
System returned to ROM by power-on
System image file is "flash:/c3750-ipservicesk9-mz.122-25.SEE.bin"
conf:
- Код: Выделить всё
Building configuration...
Current configuration : 2756 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
enable secret 5 $1$pR7Z$qYalhotf9LUQkdrJxnM72.
enable password cisco
!
no aaa new-model
switch 2 provision ws-c3750g-24ts-1u
!
track 1 rtr 3 reachability
!
track 2 rtr 4 reachability
ip subnet-zero
ip routing
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
interface GigabitEthernet2/0/1
switchport access vlan 2
!
interface GigabitEthernet2/0/2
switchport access vlan 3
!
interface GigabitEthernet2/0/3
switchport access vlan 4
!
interface Vlan1
ip address 172.15.1.1 255.255.255.0
shutdown
!
interface Vlan2
ip address 172.14.2.1 255.255.255.252
!
interface Vlan3
ip address 172.15.1.9 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100
!
interface Vlan4
ip address 172.15.4.1 255.255.255.248
ip ospf network point-to-point
!
router ospf 3
router-id 1.1.1.1
log-adjacency-changes
redistribute rip metric 15 metric-type 1 subnets
network 172.15.1.9 0.0.0.0 area 0
network 172.15.4.1 0.0.0.0 area 1
network 172.15.5.0 0.0.0.1 area 2
default-information originate metric 100
default-metric 100
!
router rip
version 2
redistribute ospf 3 metric 1
network 172.14.0.0
neighbor 172.14.2.2
default-information originate
default-metric 10
no auto-summary
!
ip classless
ip http server
ip http secure-server
!
!
route-map alpha permit 10
set ip next-hop verify-availability 172.14.3.2 10 track 1
set ip next-hop verify-availability 172.15.1.10 20 track 2
!
!
rtr 3
type echo protocol ipIcmpEcho 172.14.3.2
rtr schedule 3 life forever start-time now
rtr 4
type echo protocol ipIcmpEcho 172.15.1.10
rtr schedule 4 life forever start-time now
!