[Olsr-dev] unusable OSX routing table

math (spam-protected)
Sun Jun 19 16:34:30 CEST 2011


> what are UGH, UC, UHLW routes?
>
> (as i usually do not use route anymore,..)
> i needed some seconds more to realise that you meant the route  
> flags,.. (-;
>
I got the routes via: netstat -rn

U       RTF_UP           Route usable
G       RTF_GATEWAY      Destination requires forwarding by intermediary
H       RTF_HOST         Host entry (net otherwise)
C       RTF_CLONING      Generate new routes on use
L       RTF_LLINFO       Valid protocol to link address translation
W       RTF_WASCLONED    Route was generated as a result of cloning

> ok clear that UC routes go away, they are cache entries made by the  
> kernel itself, and olsrd neither creates nor deletes them,..
>
> but i still do not know what the L and W flag mean, maybe they are  
> OSX specific
> but i asume it just means something like "no gateway"
>
> so it looks like olsrd only cleans up routes to neighbours, but not  
> routes to nodes behind them,..
> but i guess your topoogy is so small, that this is just little more  
> than guessing,..
>
> btw could you please also add the routes you have before you start  
> olsrd,.
>

--------------------------------------------------------------
Routing tables before starting OLSRD:

Internet:
Destination        Gateway            Flags    Refs      Use  Netif  
Expire
default            192.168.0.1        UGSc       96     1214    en0
10                 link#6             UCS         1        0    en1
10.75.187.195      127.0.0.1          UHS         0        0    lo0
10.255.255.255     ff:ff:ff:ff:ff:ff  UHLWb       2       21    en1
127                127.0.0.1          UCS         0        0    lo0
127.0.0.1          127.0.0.1          UH          4    45390    lo0


--------------------------------------------------------------
Routing tables after starting OLSRD:


Internet:
Destination        Gateway            Flags    Refs      Use  Netif  
Expire
default            192.168.0.1        UGSc       96     1214    en0
10                 link#6             UCS         1        0    en1
10.21.33.10        10.30.95.101       UGH         1        0    en1
10.21.33.10/32     link#6             UC          0        0    en1
10.30.95.101       10.21.33.10        UGH         0        0    en1
10.30.95.101/32    link#6             UC          0        0    en1
10.75.187.195      127.0.0.1          UHS         0        0    lo0
10.255.255.255     ff:ff:ff:ff:ff:ff  UHLWb       2       22    en1
127                127.0.0.1          UCS         0        0    lo0
127.0.0.1          127.0.0.1          UH          4    45714    lo0



--------------------------------------------------------------
Routing tables after exiting OLSRD:

Internet:
Destination        Gateway            Flags    Refs      Use  Netif  
Expire
default            192.168.0.1        UGSc       96     1214    en0
10                 link#6             UCS         1        0    en1
10.21.33.10        10.30.95.101       UGH         1        0    en1
10.30.95.101       10.21.33.10        UGH         0        0    en1
10.75.187.195      127.0.0.1          UHS         0        0    lo0
10.255.255.255     ff:ff:ff:ff:ff:ff  UHLWb       2       22    en1
127                127.0.0.1          UCS         0        0    lo0
127.0.0.1          127.0.0.1          UH          4    45740    lo0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20110619/890c1c9a/attachment.html>


More information about the Olsr-dev mailing list