[CUWiN-Dev] Re: intro & network mapping
T
dontac at gmail.com
Sun Feb 26 14:03:35 CST 2006
> Hi Tom, and welcome. I am glad you are having fun exploring the network.
> Let me tell you a couple of tricks.
>
> You can examine the IPv4 routing table like this:
>
> % netstat -rn -f inet
I'm assuming you mean "netstat -r -f inet"...
Routing tables
>
> Internet:
> Destination Gateway Flags Refs
> Use Mtu Interface
> default 192.168.0.1 UGS 1 985172 - sip0
> 10/16 127.0.0.1 UGRS 0 0 33192 lo0
> 10.0.10.176 169.254.237.100 UGH1 0 8 - ath0
> 10.0.145.137 169.254.237.100 UGH1 0 23 - ath0
> 10.0.177.226 169.254.237.106 UGH1 0 4 - ath0
> 10.0.178.57 169.254.237.106 UGH1 0 0 - ath0
> 10.0.178.63 169.254.178.63 UGH1 0 6696 - ath0
> 10.0.186.29/32 link#1 UC 0 0 - ath0
> 10.0.237.65 169.254.237.100 UGH1 0 1634 - ath0
> 10.0.237.68 169.254.237.106 UGH1 0 97 - ath0
> 10.0.237.70 169.254.237.106 UGH1 0 17 - ath0
> 10.0.237.100 169.254.237.100 UGH1 0 5178 - ath0
> 10.0.237.106 169.254.237.106 UGH1 0 44 - ath0
> 10.0.237.108 169.254.237.100 UGH1 0 2565 - ath0
> 10.0.249.238 169.254.237.100 UGH1 0 100 - ath0
> *snip snip*
>
> The list of 10/16 destinations in the routing table is about as complete
> a list of nodes as you can get.
So one question is how often does hslsd update the routing table? Quite a
few nodes are listed by netstat which I haven't been able to reach in any
way.
You can find a bit more information in /var/db/linkstates. The routing
> daemon, hslsd, periodically writes all known linkstates (the condition
> of router->router links) to that file.
Awesome, there's plenty for me to pore through here. Two questions that come
up right off the bat though are given a line like the following:
4-ref foreign router lsa interface 10.0.237.100 type ptmp masklen 32 index 1
neighbor 10.0.186.29 seqno 2216760 flags 0x1<UP> metrics [(etx, 386)]
Is the number after etx the calculated distance/signal strength metric? My
other question is if the "neighbor 10.0.186.29" part means that the two
nodes are "directly" connected (i.e. no hops between the two)?
Thanks!
~Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.chambana.net/mailman/archive/cu-wireless-dev/attachments/20060226/e7d61c06/attachment.html
More information about the CU-Wireless-Dev
mailing list