Столкнулся с проблемой по настройке AP200B в конфигурации pptp + NAT.
Фрагмент конфига:
Код:
nat-list 0 pat static-entry tcp 1720 local
nat-list 0 pat static-entry icmp ping local
nat-list 0 pat static-entry tcp 80 local
nat-list 0 pat static-entry udp 22000 local
nat-list 0 pat static-entry udp 22001 local
nat-list 0 pat group-static-entry udp 23000 23003 local
nat-list 0 pat group-static-entry udp 16000 17000 local
nat-list 0 pat group-static-entry tcp 14000 14001 local
nat-list 0 pat group-static-entry tcp 10000 10001 local
nat-list 0 pat static-entry tcp 21 local
nat-list 0 pat static-entry tcp 20 local
nat-list 0 pat static-entry tcp 23 local
nat-list 0 pat static-entry udp 5060 local
nat-list 0 pat static-entry tcp 22 local
nat-list 0 pat static-entry tcp 5060 local
nat-list 0 pat group-static-entry udp 23000 24000 local
nat-list 0 pat group-static-entry udp 14000 14001 local
nat-list 0 pat group-static-entry udp 10000 10001 local
nat-list 0 pat static-entry udp 11112 local
nat-list 0 pat group-static-entry udp 6901 6920 local
nat-list 0 pat static-entry tcp 25 local
nat-list 0 pat static-entry tcp 110 local
nat-list 0 pat static-entry udp 110 local
nat-list 0 pat static-entry udp 25 local
nat-list 0 pat static-entry tcp 3389 192.168.0.254
nat-list 0 nat timeout 150
!
no ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface ether0.0
no ip address
encapsulation ppp-pptp
pptp ip remote 87.226.хххх.ххх
ppp authentication chap
ppp chap hostname хххххххх
ppp chap password ххххххххх
ppp echo interval 20
ppp ipcp ms-dns
ppp ipcp default-route
!
interface ether1.0
ip address 192.168.0.253 255.255.255.0
line-ctrl full-duplex
ip nat-group 0 pat ether0.0
!
interface pptp0
ip address 192.168.10.13 255.255.255.0
!
route 87.226.хххх.ххх 255.255.255.255 192.168.10.1
Периодически возникает вот такая картинка, если пинговать адпака с сервера, где он авторизуется по pptp:
ping 192.168.10.13
PING 192.168.10.13 (192.168.10.13) 56(84) bytes of data.
64 bytes from 192.168.10.13: icmp_seq=1 ttl=255 time=7508 ms
64 bytes from 192.168.10.13: icmp_seq=2 ttl=255 time=6511 ms
64 bytes from 192.168.10.13: icmp_seq=3 ttl=255 time=5512 ms
64 bytes from 192.168.10.13: icmp_seq=4 ttl=255 time=6222 ms
64 bytes from 192.168.10.13: icmp_seq=5 ttl=255 time=5224 ms
64 bytes from 192.168.10.13: icmp_seq=6 ttl=255 time=4225 ms
64 bytes from 192.168.10.13: icmp_seq=7 ttl=255 time=3225 ms
64 bytes from 192.168.10.13: icmp_seq=8 ttl=255 time=2226 ms
64 bytes from 192.168.10.13: icmp_seq=9 ttl=255 time=4634 ms
64 bytes from 192.168.10.13: icmp_seq=10 ttl=255 time=3635 ms
64 bytes from 192.168.10.13: icmp_seq=11 ttl=255 time=2639 ms
64 bytes from 192.168.10.13: icmp_seq=12 ttl=255 time=1640 ms
64 bytes from 192.168.10.13: icmp_seq=13 ttl=255 time=643 ms
64 bytes from 192.168.10.13: icmp_seq=14 ttl=255 time=1.00 ms
64 bytes from 192.168.10.13: icmp_seq=15 ttl=255 time=0.890 ms
64 bytes from 192.168.10.13: icmp_seq=16 ttl=255 time=0.898 ms
64 bytes from 192.168.10.13: icmp_seq=17 ttl=255 time=0.866 ms
64 bytes from 192.168.10.13: icmp_seq=18 ttl=255 time=1449 ms
64 bytes from 192.168.10.13: icmp_seq=19 ttl=255 time=450 ms
64 bytes from 192.168.10.13: icmp_seq=20 ttl=255 time=2854 ms
64 bytes from 192.168.10.13: icmp_seq=21 ttl=255 time=1855 ms
64 bytes from 192.168.10.13: icmp_seq=22 ttl=255 time=855 ms
64 bytes from 192.168.10.13: icmp_seq=23 ttl=255 time=6664 ms
64 bytes from 192.168.10.13: icmp_seq=24 ttl=255 time=5665 ms
64 bytes from 192.168.10.13: icmp_seq=25 ttl=255 time=4666 ms
64 bytes from 192.168.10.13: icmp_seq=26 ttl=255 time=3670 ms
64 bytes from 192.168.10.13: icmp_seq=27 ttl=255 time=2671 ms
64 bytes from 192.168.10.13: icmp_seq=28 ttl=255 time=1674 ms
64 bytes from 192.168.10.13: icmp_seq=29 ttl=255 time=683 ms
64 bytes from 192.168.10.13: icmp_seq=30 ttl=255 time=3099 ms
64 bytes from 192.168.10.13: icmp_seq=31 ttl=255 time=2099 ms
64 bytes from 192.168.10.13: icmp_seq=32 ttl=255 time=1108 ms
64 bytes from 192.168.10.13: icmp_seq=33 ttl=255 time=108 ms
64 bytes from 192.168.10.13: icmp_seq=34 ttl=255 time=2529 ms
64 bytes from 192.168.10.13: icmp_seq=35 ttl=255 time=1538 ms
потом все нормализуется и работает как положено:
64 bytes from 192.168.10.13: icmp_seq=1 ttl=255 time=0.881 ms
64 bytes from 192.168.10.13: icmp_seq=2 ttl=255 time=1.12 ms
64 bytes from 192.168.10.13: icmp_seq=3 ttl=255 time=0.868 ms
64 bytes from 192.168.10.13: icmp_seq=4 ttl=255 time=0.850 ms
64 bytes from 192.168.10.13: icmp_seq=5 ttl=255 time=0.872 ms
64 bytes from 192.168.10.13: icmp_seq=6 ttl=255 time=1.03 ms
64 bytes from 192.168.10.13: icmp_seq=7 ttl=255 time=0.868 ms
Похоже, что проблема упиралась в mtu - этот параметр критичен для pptp-подключений. Установка на ethernet-интерфейсах значения 1452 вместо 1500 вроде исправила ситуацию. Вот только не пойму - надо ли менять mtu и на интерфейсе pptp0?