[quagga-users 4529] Re: quagga (ospf) and openvpn

Bartlomiej Solarz-Niesluchowski Bartlomiej.Solarz-Niesluchowski at wit.edu.pl
Mon May 9 23:17:32 IST 2005


>On Sat, 7 May 2005, Bartlomiej Solarz-Niesluchowski wrote:
>
> > After connecting the server with client i have interfaces:
> > on server:
> > ifconfig tun0
>
> > tun0      Link encap:UNSPEC  HWaddr
> > 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
> >          inet addr:x.x.x.193  P-t-P:x.x.x.194  Mask:255.255.255.255
> >
> > on client:
> > ifconfig tun0
> > tun0      Link encap:UNSPEC  HWaddr
> > 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
> >          inet addr:x.x.x.198  P-t-P:x.x.x.197  Mask:255.255.255.255
> >
>
>'show interface tun0' on both client and server, ditto for 'show ip
>route kernel' and 'show ip route connected'.

server:
show interface tun0
Interface tun0 is up, line protocol detection is disabled
   index 11 metric 1 mtu 1500 <UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>
   inet x.x.x.193/32 pointopoint x.x.x.194
     input packets 20693, bytes 1324336, dropped 0, multicast packets 0
     input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed 0
     output packets 35100, bytes 2187450, dropped 0
     output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0
     collisions 0

show ip route kernel
K>* x.x.x.192/29 via x.x.x.194, tun0

show ip route connected
C>* x.x.x.194/32 is directly connected, tun0

client:
show interface tun0
Interface tun0 is up, line protocol detection is disabled
   index 7 metric 1 mtu 1500 <UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>
   inet x.x.x.198/32 pointopoint x.x.x.197
     input packets 95, bytes 6355, dropped 0, multicast packets 0
     input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed 0
     output packets 91, bytes 5856, dropped 0
     output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0
     collisions 0

show ip route kernel
K>* x.x.x.193/32 via x.x.x.197, tun0

show ip route connected
C>* x.x.x.197/32 is directly connected, tun0

>And which OS? And have you considered the advice andrew just gave in

Linux Fedora Core 3

>[quagga-users 4511]?

Yes - but openVPN is not gre tunnel...


> > and in routing table:
> > server:
> > x.x.x.192/29 via x.x.x.194 dev tun0
>
> > client:
> > x.x.x.197 dev tun0  proto kernel  scope link  src x.x.x.198
> > x.x.x.193 via x.x.x.197 dev tun0
> >
> > in osfd both client and server i have:
> > interface tun0
> > ip ospf network point-to-multipoint
>
>Did you try getting it to work in plain PtP mode first? Ie, is this a

Yes - the same problem....

>general problem or a PtMP problem?

It is problem with ospfd and openvpn - because tcpdump shows:tcpdump -i tun0
tcpdump: WARNING: arptype 65534 not supported by libpcap - falling 
back to cooked socket
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tun0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes
22:10:34.485444 IP x.x.x.193 > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), 
length: 44
22:10:35.767074 IP x.x.x.198 > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), 
length: 44

server:
2005/05/09 22:11:45 OSPF: Packet from [x.x.x.198] received on link 
tun0 but no ospf_interface

client:
2005/05/09 22:10:23 OSPF: Packet from [x.x.x.193] received on link 
tun0 but no ospf_interface


>Also 'show ip ospf interface tun0' on both server and client please.

server:
show ip ospf interface tun0
tun0 is up
   Internet Address x.x.x.193/32, Peer x.x.x.194, Area 0.0.0.0
   Router ID x.x.x.211, Network Type POINTOMULTIPOINT, Cost: 7
   Transmit Delay is 1 sec, State Point-To-Point, Priority 1
   No designated router on this network
   No backup designated router on this network
   Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
     Hello due in 00:00:06
   Neighbor Count is 0, Adjacent neighbor count is 0

client:
show ip ospf interface tun0
tun0 is up
   Internet Address x.x.x.198/32, Peer x.x.x.197, Area 0.0.0.0
   Router ID x.x.x.198, Network Type POINTOMULTIPOINT, Cost: 7
   Transmit Delay is 1 sec, State Point-To-Point, Priority 1
   No designated router on this network
   No backup designated router on this network
   Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
     Hello due in 00:00:07
   Neighbor Count is 0, Adjacent neighbor count is 0

Best Regards


--
Bartlomiej Solarz-Niesluchowski, Administrator WSISiZ
e-mail: Bartlomiej.Solarz-Niesluchowski at wsisiz.edu.pl
01-447 Warszawa, ul. Newelska 6, pokoj 404, pon.-pt. 8-16, tel. 836-92-53
Motto - nie psuj Win'9x one i bez tego sie psuja....
Jak sobie poscielisz tak sie wyspisz



More information about the Quagga-users mailing list