[Olsr-users] default gateway shown in hna isn't in route table

Teco Boot (spam-protected)
Fri Feb 17 15:33:31 CET 2012


Please use ip route, if you use iproute2. You do.
route should be deprecated. It can use it for main table only.
You could read a manual.

Teco

Op 17 feb. 2012, om 15:13 heeft Érico Porto het volgende geschreven:

> On Fri, Feb 17, 2012 at 5:04 AM, Markus Kittenberger <(spam-protected)> wrote:
> 
> 
> On Fri, Feb 17, 2012 at 7:55 AM, Teco Boot <(spam-protected)> wrote:
> PLEASE DON"T SHOUT ...
> 
> So you have all functions you want, but want to know why?
> If you use SmartGW, the default is not in the main table.
> same apllies if u use RtTable or RtTableDefault.
> Check with ip route show table all
> 
> Teco
> 
> Op 17 feb. 2012, om 02:38 heeft Érico Porto het volgende geschreven:
> 
>> I'm simply uncommenting the line after "# hna4 - internet gateway:" and changing from #0.0.0.0 0.0.0.0 to 0.0.0.0 0.0.0.0. Do I have to do anything beside this on any of the nodes to enable one of them as internet gateway?
>> 
>> Érico V. Porto
>> 
>> 
>> On Thu, Feb 16, 2012 at 5:43 PM, Érico Porto <(spam-protected)> wrote:
>> Hello
>> 
>> I'm using olsrd 0.6.2, and I'm having a strange bug here. I have two nodes, one is connected to the internet, through cable, and the other isn't. These two nodes wireless interfaces are connected, and one of them is configured as internet gateway. If I type route -n in the internet gateway node, I can see my default gateway is my ethernet interface.
>> 
>> Ok, no I'm at the other node. I type route -n and I have no default gateway set. I type telnet localhost 2006, and get all the information I expect, including the first node listed as default in the hna section. Why I see no default gateway set when typing route -n?
>> 
>> The real problem is because I AM ABLE TO ACCESS THE INTERNET FROM THIS NODE. I have no dns, but it's ok, I don't want it, but any ip I type in browser on a computer connected to this node get's me to the right webpage!
>> 
>> Regards
>> 
>> Érico V. Porto
>> 
>> -- 
>> Olsr-users mailing list
>> (spam-protected)
>> https://lists.olsr.org/mailman/listinfo/olsr-users
> 
> 
> --
> Olsr-users mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-users
> 
> 
> Uhm, thanks, found my default gateway using ip route show table all. @Teco You've said that showing in the other routing table is not default, but is there an option so I can see it there also? (using route -n)
> 
> But yeah, the whole question was about how that was possible really.
> 





More information about the Olsr-users mailing list