[Olsr-users] Windows XP Routing problem

Cédric (spam-protected)
Tue Jun 24 10:35:34 CEST 2008


Hi everyone !

As this is my first post on this mailing list I have to introduce myself :)
I am French (so excuse my poor English) and student in IT (networks,
security, systems and so on...) in Toulouse. I am currently in a
training course with Rockwell&Collins in Blagnac and I am working on
the security of the OLSR protocol.

I am trying to build a testbed using the Windows version of olsrd
under Windows XP.
I have got 3 laptops which are in a working ad-hoc network with the
following topology:
Laptop2 <=> Laptop1 <=> Laptop3

Each node is running olsrd with the following config (generated
through the GUI) :

DebugLevel    1
IpVersion    4
FIBMetric    "flat"
Hna4 {
}
AllowNoInt    yes
TosValue    16
RtTable        254
RtTableDefault        0
IpcConnect {
    MaxConnections    0
}
UseHysteresis    no
Pollrate    0.05
NicChgsPollInt    2.50
TcRedundancy    2
MprCoverage    7
LinkQualityLevel    0
LinkQualityFishEye    0
LinkQualityWinSize    12
NatThreshold    1.000000
ClearScreen    no
LoadPlugin "olsrd_httpinfo.dll" {
    PlParam "Net"    "0.0.0.0 0.0.0.0"
}
Interface "IF03" {
    Ip6AddrType     global
    Ip6MulticastSite    ff05::15
    Ip6MulticastGlobal    ff0e::1
    AutoDetectChanges: yes
}

I have enabled routing on each node by setting IPEnableRouter registry key to 1.

Routes are correctly created on both edge nodes with routes going
through laptop1.

Laptop1 (192.168.0.1)
===========================================================================
Liste d'Interfaces
0x1 ........................... MS TCP Loopback interface
0x2 ...00 1c bf d5 1b 21 ...... Intel(R) PRO/Wireless 3945ABG Network Connection
 - SecuRemote Miniport
===========================================================================
===========================================================================
Itinéraires actifs :
Destination réseau    Masque réseau  Adr. passerelle   Adr. interface Métrique
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.0.0    255.255.255.0      192.168.0.1     192.168.0.1       30
      192.168.0.1  255.255.255.255        127.0.0.1       127.0.0.1       30
      192.168.0.2  255.255.255.255      192.168.0.1     192.168.0.1       30
      192.168.0.3  255.255.255.255      192.168.0.1     192.168.0.1       30
    192.168.0.255  255.255.255.255      192.168.0.1     192.168.0.1       30
        224.0.0.0        240.0.0.0      192.168.0.1     192.168.0.1       30
  255.255.255.255  255.255.255.255      192.168.0.1     192.168.0.1       1
===========================================================================
Itinéraires persistants :
  Aucun

Laptop2 (192.168.0.2)
===========================================================================
Liste d'Interfaces
0x1 ........................... MS TCP Loopback interface
0x2 ...00 1b 77 2d 63 5c ...... Intel(R) PRO/Wireless 3945ABG Network Connection
 - Miniport d'ordonnancement de paquets
===========================================================================
===========================================================================
Itinéraires actifs :
Destination réseau    Masque réseau  Adr. passerelle   Adr. interface Métrique
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.0.0    255.255.255.0      192.168.0.2     192.168.0.2       30
      192.168.0.1  255.255.255.255      192.168.0.2     192.168.0.2       30
      192.168.0.2  255.255.255.255        127.0.0.1       127.0.0.1       30
      192.168.0.3  255.255.255.255      192.168.0.1     192.168.0.2       30
    192.168.0.255  255.255.255.255      192.168.0.2     192.168.0.2       30
        224.0.0.0        240.0.0.0      192.168.0.2     192.168.0.2       30
  255.255.255.255  255.255.255.255      192.168.0.2     192.168.0.2       1
===========================================================================
Itinéraires persistants :
  Aucun

Laptop3 (192.168.0.3)
===========================================================================
Liste d'Interfaces
0x1 ........................... MS TCP Loopback interface
0x2 ...00 1c bf d4 a8 23 ...... Intel(R) PRO/Wireless 3945ABG Network Connection
 - SecuRemote Miniport
===========================================================================
===========================================================================
Itinéraires actifs :
Destination réseau    Masque réseau  Adr. passerelle   Adr. interface Métrique
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.0.0    255.255.255.0      192.168.0.3     192.168.0.3       30
      192.168.0.1  255.255.255.255      192.168.0.3     192.168.0.3       30
      192.168.0.2  255.255.255.255      192.168.0.1     192.168.0.3       30
      192.168.0.3  255.255.255.255        127.0.0.1       127.0.0.1       30
    192.168.0.255  255.255.255.255      192.168.0.3     192.168.0.3       30
        224.0.0.0        240.0.0.0      192.168.0.3     192.168.0.3       30
  255.255.255.255  255.255.255.255      192.168.0.3     192.168.0.3       1
===========================================================================
Itinéraires persistants :
  Aucun

ICMPRedirect is off so I can't use tracert to check that routing is
working so I setup telnet servers on each nodes.

Here comes my problem, I can't telnet from laptop2 to laptop3, it times out.

Using Wireshark I can see that, on laptop2 for example, SYN packets of
the telnet connection are sent to 192.168.0.3 while trying to telnet
192.168.0.3 whereas it should be sent to 192.168.0.1 no ?

Am I missing something with olsrd, Windows setup, routing or else ?

I hope you understand my problem, if you have any question I will
answer it as fast as I can.

--
Cédric
"Soyons désinvoltes, n'ayons l'air de rien..."




More information about the Olsr-users mailing list