Salutari,
Am si eu o intrebare legata de $subj. Cum pot sa redistribui routele 
(kernel, connected si static) care le am pe un VPN gateway (PPTP)  la 
care se conecteaza diferiti clienti de windoze. Pana acum imi mergea 
perfect cu RIP, dar de curand am facut un kernel upgrade si un PPTPD 
upgrade si RIP-ul pur si simplu nu mai trimite routele la clientii de 
windows.
Conexiunea pptp se realizeaza cu success si totul pare ok, cu exceptia 
faptului ca nu se face redistribuirea de route catre ei. Fac teste de pe 
un windows XP pro, care are RIP listener activat si care inainte 
functiona perfect.

Un tcpdump pe una din interfetele ppp arata asa:
-----START HERE-----
12:42:02.775524 172.16.70.1.router > 172.16.70.2.router:  RIPv1-resp 
[items 18]: {0.0.0.0}(5) {62.0.0.0}(1) {172.16.0.0}(1)[|rip] (DF)
12:42:44.785523 172.16.70.1.router > 172.16.70.2.router:  RIPv1-resp 
[items 18]: {0.0.0.0}(5) {62.0.0.0}(1) {172.16.0.0}(1)[|rip] (DF)
12:43:24.795564 172.16.70.1.router > 172.16.70.2.router:  RIPv1-resp 
[items 18]: {0.0.0.0}(5) {62.0.0.0}(1) {172.16.0.0}(1)[|rip] (DF)
12:43:43.805494 172.16.70.1.router > 172.16.70.2.router:  RIPv1-resp 
[items 18]: {0.0.0.0}(5) {62.0.0.0}(1) {172.16.0.0}(1)[|rip] (DF)
12:44:01.815496 172.16.70.1.router > 172.16.70.2.router:  RIPv1-resp 
[items 18]: {0.0.0.0}(5) {62.0.0.0}(1) {172.16.0.0}(1)[|rip] (DF)
12:44:43.825524 172.16.70.1.router > 172.16.70.2.router:  RIPv1-resp 
[items 18]: {0.0.0.0}(5) {62.0.0.0}(1) {172.16.0.0}(1)[|rip] (DF)
12:45:01.835498 172.16.70.1.router > 172.16.70.2.router:  RIPv1-resp 
[items 18]: {0.0.0.0}(5) {62.0.0.0}(1) {172.16.0.0}(1)[|rip] (DF)
12:45:20.845533 172.16.70.1.router > 172.16.70.2.router:  RIPv1-resp 
[items 18]: {0.0.0.0}(5) {62.0.0.0}(1) {172.16.0.0}(1)[|rip] (DF)
12:45:59.855502 172.16.70.1.router > 172.16.70.2.router:  RIPv1-resp 
[items 18]: {0.0.0.0}(5) {62.0.0.0}(1) {172.16.0.0}(1)[|rip] (DF)
12:46:32.865522 172.16.70.1.router > 172.16.70.2.router:  RIPv1-resp 
[items 18]: {0.0.0.0}(5) {62.0.0.0}(1) {172.16.0.0}(1)[|rip] (DF)
12:47:07.875522 172.16.70.1.router > 172.16.70.2.router:  RIPv1-resp 
[items 18]: {0.0.0.0}(5) {62.0.0.0}(1) {172.16.0.0}(1)[|rip] (DF)
12:47:49.885521 172.16.70.1.router > 172.16.70.2.router:  RIPv1-resp 
[items 18]: {0.0.0.0}(5) {62.0.0.0}(1) {172.16.0.0}(1)[|rip] (DF)
-----END HERE-----
In tabela de routare a windows-ului nu apare nimic altceva decat routele 
care sunt setate, la care se mai adauga routele pentru ceea ce primeste 
in urma conexiunii pptp, dar nimic din ce ar trebui sa redistribuie rip-ul.

Conf-ul de la RIP arata asa:
-----START HERE-----
Current configuration:
!
hostname ripd
password 8 *
enable password 8 *
log stdout
service password-encryption
!
debug rip events
debug rip packet
debug rip zebra
!
interface lo
!
interface eth0
!
interface eth1
!
interface eth2
!
interface eth3
!
interface eth4
!
interface ipsec0
!
interface gre0
!
interface shai0
!
interface ipsec1
!
interface ipsec2
!
interface ppp0
 ip rip send version 1
!
interface ppp1
 ip rip send version 1
!
interface ppp2
 ip rip send version 1
!
interface ppp3
 ip rip send version 1
!
interface ppp4
 ip rip send version 1
!
interface ppp5
 ip rip send version 1
!
interface ppp6
 ip rip send version 1
!
interface ppp7
 ip rip send version 1
!
router rip
 redistribute kernel
 redistribute connected
 redistribute static
 network 172.16.70.0/24
 default-metric 5
!
line vty
!
end
-----END HERE-----

Daca are cineva o alta idee cum as putea sa fac redistribuirea routelor 
pentru clientii pptp as fi recunoscator daca mi-ar da-o si mie.

Thanks.



--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui