[OLSR-users] how to insert static routes

Andreas Tønnesen (spam-protected)
Wed Nov 9 07:13:25 CET 2005


Hi Konstantinos,

> first of all, all the 255.255.255.255 netmasks are wrong. for example
> 10.176.9.1 should have a netmask of 255.255.255.128. what should i do
> for this?

What do you mean the netmasks are wrong? These are all host routes and 
non-aggregated routes/host routes use netmasks of 255.255.255.255.

> also, every router has some static non olsr routes that i want to
> propagate to the whole network. for example the router who is the owner
> of the 10.176.4.0 class C subnet has the following route:
> 10.176.4.224/29 10.176.4.6
> how can i declare that route? i guess it has something to do with
> olsrd.conf and the hna, but i havent figured out how to declare a
> gateway there.

On the router in question add:


Hna4
{
     10.176.4.224  255.255.255.0
}

to the config file

- Andreas




More information about the Olsr-users mailing list