Jump to content
Sign in to follow this  
niki___91

Проблемы связи GRE туннеля.

Recommended Posts

Привет.

Имеется канал связи выделенный провайдером 100мб.

Филиал_1 Филиал_2

Eth1 <================> Eth1

10.10.10.1                         10.10.10.2

 

Поверх поднят GRE + OSPF(quagga).

Филиал_1 Филиал_2

gre1 <=================> gre1

10.100.1.2                           10.100.1.3

Еще резервный(gre2)

 

Есть проблема.

На канале(Интерфейсах) провайдера скорость по замерам iperf:

~90мб

 

На канале(Интерфейсах) GRE по замерам iperf:

Client_iperf Server_iperf

Филиал_2==========> Филиал_1 = В одну сторону ~80-90мб

Филиал_1 ==========> Филиал_2 = В другую ~ 30мб

 

В настройках и iptables не каких ограничений нет.

 

Настройки ospf.

hostname router_1
password password
log file /var/log/quagga/ospfd.log
log stdout

!
interface gre1
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 Password
 ip ospf network point-to-point
 ip ospf cost 20
!
interface gre2
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 Password
 ip ospf network point-to-point
 ip ospf cost 30
!
router ospf
 ospf router-id 10.100.1.1
 redistribute connected route-map Local_Network
 passive-interface ens3
 passive-interface ens6
 passive-interface ens7
 passive-interface ens8
 passive-interface tun0
 network 192.168.1.0/24 area 0.0.0.0
 network 10.100.1.1/30 area 0.0.0.0
 network 10.100.2.1/30 area 0.0.0.0
 area 0.0.0.0 authentication message-digest
!
ip prefix-list Local_Network seq 10 permit 192.168.1.0/24
ip prefix-list Local_Network seq 100 deny any
!
 route-map Local_Network permit 10
 match ip address prefix-list Local_Network
!
line vty
!
 

Где может быть проблема.?

 

Share this post


Link to post
Share on other sites

GRE настраивается с помощью скрипта.

#!/bin/bash

/sbin/ip tunnel del gre1
/sbin/ip tunnel add gre1 mode gre local 10.10.10.1 remote 10.10.10.2 ttl 255 pmtudisc dev eth0
/sbin/ip link set gre1 up multicast on mtu 1400
/sbin/ip addr add 10.100.1.2/30 dev gre1 peer 10.100.1.3
/sbin/ip route add 10.100.1.1/30 dev gre1 metric 0

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...