[Olsr-users] Olsr-users Digest, Vol 16, Issue 26

Eric Malkowski (spam-protected)
Wed Sep 24 15:20:09 CEST 2008


traceroute and parse the output until you hit an IP that you know isn't 
in your network, and then it's the node who owns the last private IP in 
the output who has the gateway you're using to the internet.

Perhaps there's some better way -- this is just a quick thought.

-Eric

(spam-protected) wrote:
> Send Olsr-users mailing list submissions to
> 	(spam-protected)
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.olsr.org/mailman/listinfo/olsr-users
> or, via email, send a message with subject or body 'help' to
> 	(spam-protected)
>
> You can reach the person managing the list at
> 	(spam-protected)
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Olsr-users digest..."
>
>
> Today's Topics:
>
>    1. last hop gateway IP ((spam-protected))
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 23 Sep 2008 19:51:08 +0200 (CEST)
> From: (spam-protected)
> Subject: [Olsr-users] last hop gateway IP
> To: (spam-protected)
> Message-ID:
> 	<(spam-protected)>
> Content-Type: text/plain;charset=iso-8859-1
>
> Hi
>
> maybe a stupd question, in a multi-hop multi-gateway mesh how I can
> detect the IP of the "real" gateway node to internet (the node at the
> last hop)?
> For istance, assume that
>
> [A]-->wifi-->[B]-->wifi-->[C]-->ether-->internet
>
> where [C] announces HNA4 0.0.0.0/0
>
> from node [A] if I type the command
> ip route show |grep default
> I get the node [B] IP while I need to know the IP of node [C], to say
> the IP of the node announcing HNA4 0.0.0.0/0.
>
> Thanks
>
> Antonio
>
>
>
>
>
>
>
>
> ------------------------------
>
>   





More information about the Olsr-users mailing list