<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">When typing "route" (in
linux) the second column is "Gateway".<br>
In "ip route" it's written as "via" i.e. :<br>
<br>
192.168.1.6 via 192.168.1.4 dev eth0 metric 1<br>
<br>
so 192.168.1.4 is a gateway for 192.168.1.6.<br>
<br>
...that's what i meant with "gateway" :-)<br>
<br>
Thanks,<br>
Piero<br>
</font><br>
<br>
Bernd Petrovitsch ha scritto:
<blockquote cite="mid:1179400908.3793.2.camel@gimli.at.home" type="cite">
<pre wrap="">On Thu, 2007-05-17 at 13:10 +0200, Piero Cornice wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi, i'm writing a plugin for knowing which host were elected as
"gateway" by OLSR.
</pre>
</blockquote>
<pre wrap=""><!---->
What do you exactly mean with "gateway"?
The default gateway (read: the one(s) with "default" in the 1st column
if you type "route" or "ip route")?
Bernd
</pre>
</blockquote>
</body>
</html>