>Ну как? получилось что-нить или нет? Поднял ip load-sharing per-packet (совместно с ip cef) на обоих концах RouterA, RouterC. Нагрузка равномерно распределилась по обоим DLCI 43,44. Т.е. это балансировка OSPF per-packet, когда в таблице маршрутизации до одной сети - два маршрута с равными метриками. Cisco тогда кидает поочередно пакеты то в один интерфес, то в другой. Проверял, перекачивая папку 70Мб с помощью NetOp File Tranfer. Получилось по функциональности как мультилинк, причем папка перекачивается ровно в два раза быстрее, чем через один линк. Включить subinterfaces в реальный non-distributed мультилинк-bundle Cisco не дает (и в мануале также). Сейчас сделаю горло на одном из этих двух линков в 1,5 раза меньше (сделаю не unframed, а timeclots 1-20 например), и посмотрю, будут ли в нем теряться пакеты и перекачается ли папка (так как на реальной системе физически линки отличаются по полосе).
Если будут теряться - вопрос далек от окончательного решения.
Per-destination рекомендуется, когда пакеты идут очень отличающимися путями (что у меня наверно в реальности и будет и как применять эту per-destination - еще не знаю).
О результатах напишу. Конфиги и show ниже.
Наверно, тоже (ip load-sharing per-packet) получилось бы без FR, но удобство FR очевидно в плане обслуживания виртульных линков и присвоения им band для OSPF. Вообще, возникает желание сделать на сети FR full-mesh, но:
1)Сколько можно пропустить (switched) DLCI через один физический порт (в среднем E1-порт)?
2)При создании FR позиционировалось как соединение без коррекции ошибок(notification не в счет). Хотя, если в кабеле ошибки - и PPP не поможет.
3)Что, если destination еще дальше за RouterC,а там везде PPP ? (хотя это не должно влиять)
RouterA#sh ip rou
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 4 subnets
O 10.40.13.0 [110/49] via 192.168.0.105, 03:17:04, Serial0/1:2.1
C 10.40.18.0 is directly connected, FastEthernet0/0
O 10.40.19.0 [110/49] via 192.168.0.121, 03:17:04, Serial0/0:1.2
C 10.40.20.0 is directly connected, FastEthernet0/1
192.168.0.0/30 is subnetted, 4 subnets
C 192.168.0.104 is directly connected, Serial0/1:2.1
C 192.168.0.120 is directly connected, Serial0/0:1.2
O 192.168.0.64 [110/96] via 192.168.0.105, 03:17:04, Serial0/1:2.1
O 192.168.0.68 [110/96] via 192.168.0.121, 03:17:04, Serial0/0:1.2
[110/96] via 192.168.0.105, 03:17:04, Serial0/1:2.1
192.168.254.0/32 is subnetted, 3 subnets
O 192.168.254.250 [110/49] via 192.168.0.105, 03:17:04, Serial0/1:2.1
192.168.254.19 [110/49] via 192.168.0.121, 03:17:04, Serial0/0:1.2
C 192.168.254.100 is directly connected, Loopback0
RouterA# exit
RouterC#sh ip rou
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 4 subnets
C 10.40.13.0 is directly connected, FastEthernet0/0
O 10.40.18.0 [110/49] via 192.168.0.106, 03:16:21, Serial0/0/1:2.1
O 10.40.19.0 [110/49] via 192.168.0.70, 03:16:21, Serial0/0/0:1.2
O 10.40.20.0 [110/49] via 192.168.0.106, 03:16:21, Serial0/0/1:2.1
192.168.0.0/30 is subnetted, 4 subnets
C 192.168.0.104 is directly connected, Serial0/0/1:2.1
O 192.168.0.120 [110/96] via 192.168.0.106, 03:16:21, Serial0/0/1:2.1
[110/96] via 192.168.0.70, 03:16:22, Serial0/0/0:1.2
C 192.168.0.64 is directly connected, Serial0/0/0:1.1
C 192.168.0.68 is directly connected, Serial0/0/0:1.2
192.168.254.0/32 is subnetted, 3 subnets
C 192.168.254.250 is directly connected, Loopback0
O 192.168.254.19 [110/49] via 192.168.0.70, 03:16:23, Serial0/0/0:1.2
O 192.168.254.100 [110/49] via 192.168.0.106, 03:16:23, Serial0/0/1:2.1
RouterC#exit
RouterA#sh run
Building configuration...
Current configuration : 3595 bytes
!
version 12.3
service timestamps debug datetime localtime
service timestamps log datetime localtime
service password-encryption
!
hostname RouterA
!
boot-start-marker
boot-end-marker
!
logging count
logging buffered 10240 debugging
!
username test privilege 15 secret 5 $1$Mxzv$nZ0cTvj8CjZ5rzzzEhxPT.
memory-size iomem 15
clock timezone ESK 5
clock summer-time ESD recurring last Sun Mar 2:00 last Sun Oct 3:00
no network-clock-participate slot 1
no network-clock-participate wic 0
no network-clock-participate wic 1
no aaa new-model
ip subnet-zero
ip cef
!
!
ip tcp path-mtu-discovery
ip dhcp excluded-address 10.40.18.1 10.40.18.100
ip dhcp excluded-address 10.40.20.1 10.40.20.100
ip dhcp smart-relay
!
ip dhcp pool Pool18
network 10.40.18.0 255.255.255.0
default-router 10.40.18.1
!
ip dhcp pool Pool20
network 10.40.20.0 255.255.255.0
default-router 10.40.20.1
!
frame-relay switching
no ftp-server write-enable
!
!
!
controller E1 0/0
clock source internal
channel-group 1 unframed
!
controller E1 0/1
clock source internal
channel-group 2 unframed
!
controller E1 0/2
!
controller E1 0/3
!
!
interface Loopback0
ip address 192.168.254.100 255.255.255.255
!
interface FastEthernet0/0
ip address 10.40.18.1 255.255.255.0
ip accounting output-packets
load-interval 30
duplex auto
speed auto
!
interface Serial0/0:1
bandwidth 2048
no ip address
ip accounting output-packets
encapsulation frame-relay
no ip route-cache cef
no ip route-cache
load-interval 30
invert txclock
frame-relay lmi-type q933a
!
interface Serial0/0:1.1 point-to-point
bandwidth 2048
ip address 192.168.0.66 255.255.255.252
ip load-sharing per-packet
no ip route-cache
shutdown
frame-relay interface-dlci 43
!
interface Serial0/0:1.2 point-to-point
bandwidth 2048
ip address 192.168.0.122 255.255.255.252
no ip route-cache
frame-relay interface-dlci 45
!
interface FastEthernet0/1
ip address 10.40.20.1 255.255.255.0
load-interval 30
duplex auto
speed auto
!
interface Serial0/1:2
bandwidth 2048
no ip address
ip accounting output-packets
encapsulation frame-relay
no ip route-cache cef
no ip route-cache
load-interval 30
invert txclock
frame-relay lmi-type q933a
frame-relay intf-type dce
!
interface Serial0/1:2.1 point-to-point
bandwidth 2048
ip address 192.168.0.106 255.255.255.252
ip load-sharing per-packet
no ip route-cache
frame-relay interface-dlci 44
!
interface Serial1/0
no ip address
shutdown
clockrate 2000000
!
interface Serial1/1
no ip address
shutdown
clockrate 2000000
!
interface Serial2/0
no ip address
shutdown
!
interface Serial2/1
no ip address
shutdown
!
interface Serial2/2
no ip address
shutdown
!
interface Serial2/3
no ip address
shutdown
!
router ospf 100
log-adjacency-changes
redistribute connected
redistribute static subnets
network 10.40.18.0 0.0.0.255 area 0
network 10.40.20.0 0.0.0.255 area 0
network 192.168.0.64 0.0.0.3 area 0
network 192.168.0.104 0.0.0.3 area 0
network 192.168.0.120 0.0.0.3 area 0
network 192.168.254.100 0.0.0.0 area 0
!
ip classless
ip http server
ip http authentication local
!
access-list 1 permit 10.40.18.0 0.0.0.255
access-list 2 permit 10.40.20.0 0.0.0.255
route-map equal-access permit 10
match ip address 1
set ip default next-hop 192.168.0.121
!
route-map equal-access permit 20
match ip address 2
set ip default next-hop 192.168.0.105
!
route-map equal-access permit 30
set default interface Null0
!
!
line con 0
logging synchronous
login local
line aux 0
logging synchronous
login local
line vty 0 4
logging synchronous
login local
!
end
RouterA# exit
RouterB#sh run
Building configuration...
Current configuration : 2612 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname RouterB
!
logging buffered 10240 debugging
!
username test privilege 15 password 7 09584B1A0D1112011F1801393F
clock timezone ESK 5
clock summer-time ESD recurring last Sun Mar 2:00 last Sun Oct 3:00
ip subnet-zero
ip tcp path-mtu-discovery
ip dhcp database Pool19
ip dhcp excluded-address 10.40.19.1 10.40.19.100
ip dhcp smart-relay
!
ip dhcp pool Pool19
network 10.40.19.0 255.255.255.0
default-router 10.40.19.1
!
frame-relay switching
!
!
!
!
interface Loopback0
ip address 192.168.254.19 255.255.255.255
!
interface Serial0
bandwidth 2048
no ip address
encapsulation frame-relay
no ip mroute-cache
load-interval 30
no keepalive
fair-queue
frame-relay interface-dlci 43 switched
!
interface Serial0.1 point-to-point
bandwidth 2048
ip address 192.168.0.70 255.255.255.252
frame-relay interface-dlci 46
!
interface Serial1
bandwidth 2048
no ip address
encapsulation frame-relay
no ip mroute-cache
load-interval 30
invert txclock
frame-relay interface-dlci 43 switched
frame-relay lmi-type q933a
frame-relay intf-type dce
!
interface Serial1.1 point-to-point
bandwidth 2048
ip address 192.168.0.121 255.255.255.252
frame-relay interface-dlci 45
!
interface Serial2
no ip address
shutdown
!
!
interface FastEthernet0
ip address 10.40.19.1 255.255.255.0
ip accounting output-packets
full-duplex
!
!
router ospf 100
log-adjacency-changes
redistribute connected
redistribute static subnets
network 10.40.19.0 0.0.0.255 area 0
network 192.168.0.68 0.0.0.3 area 0
network 192.168.0.120 0.0.0.3 area 0
network 192.168.254.19 0.0.0.0 area 0
!
ip classless
no ip http server
ip http authentication local
!
!
!
!
!
!
!
!
!
connect A-C Serial0 43 Serial1 43
!
!
!
!
line con 0
logging synchronous
login local
line aux 0
line vty 0 4
logging synchronous
login local
!
end
RouterB#exit
RouterC#sh run
Building configuration...
Current configuration : 2726 bytes
!
version 12.4
service timestamps debug datetime localtime
service timestamps log datetime localtime
service password-encryption
!
hostname RouterC
!
boot-start-marker
boot-end-marker
!
logging count
logging buffered 10240 debugging
no logging rate-limit
!
no aaa new-model
!
resource policy
!
clock timezone ESK 5
clock summer-time ESD recurring last Sun Mar 2:00 last Sun Oct 3:00
no network-clock-participate wic 0
ip subnet-zero
!
!
ip cef
ip dhcp smart-relay
no ip dhcp use vrf connected
ip dhcp excluded-address 10.40.13.1 10.40.13.100
!
ip dhcp pool Pool13
network 10.40.13.0 255.255.255.0
default-router 10.40.13.1
!
!
no ip ftp passive
frame-relay switching
!
username test privilege 15 secret 5 $1$wBek$hBU0Ow2fuuVgCwfj5tax60
!
!
controller E1 0/0/0
channel-group 1 unframed
!
controller E1 0/0/1
clock source internal
channel-group 2 unframed
!
class-map match-all important_traffic
match access-group 100
!
!
policy-map QoS
class important_traffic
bandwidth percent 70
class class-default
fair-queue
!
!
!
interface Loopback0
ip address 192.168.254.250 255.255.255.255
!
interface FastEthernet0/0
ip address 10.40.13.1 255.255.255.0
ip accounting output-packets
duplex auto
speed auto
no mop enabled
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0:1
bandwidth 2048
no ip address
encapsulation frame-relay
no ip route-cache cef
no ip route-cache
load-interval 30
no keepalive
frame-relay lmi-type q933a
frame-relay intf-type dce
!
interface Serial0/0/0:1.1 point-to-point
bandwidth 2048
ip address 192.168.0.65 255.255.255.252
ip load-sharing per-packet
no ip route-cache
frame-relay interface-dlci 43
!
interface Serial0/0/0:1.2 point-to-point
bandwidth 2048
ip address 192.168.0.69 255.255.255.252
no ip route-cache
frame-relay interface-dlci 46
!
interface Serial0/0/1:2
bandwidth 2048
no ip address
encapsulation frame-relay
no ip route-cache cef
no ip route-cache
load-interval 30
frame-relay lmi-type q933a
!
interface Serial0/0/1:2.1 point-to-point
bandwidth 2048
ip address 192.168.0.105 255.255.255.252
ip load-sharing per-packet
no ip route-cache
frame-relay interface-dlci 44
!
router ospf 100
log-adjacency-changes
redistribute connected subnets
redistribute static subnets
network 10.40.13.0 0.0.0.255 area 0
network 192.168.0.64 0.0.0.3 area 0
network 192.168.0.68 0.0.0.3 area 0
network 192.168.0.104 0.0.0.3 area 0
network 192.168.254.250 0.0.0.0 area 0
!
ip classless
!
ip http server
!
!
control-plane
!
!
line con 0
logging synchronous
login local
line aux 0
line vty 0 4
logging synchronous
login local
transport input telnet
!
scheduler allocate 20000 1000
!
end
RouterC# exit