[Olsr-dev] setting HNAs at runtime

Sven-Ola Tuecke (spam-protected)
Wed Aug 15 17:34:18 CEST 2012


Hey,

yep. This gwwplain is for hna0/0 only. You may also peek into the quagga 
plugin. Because this should be able to push arbitrary HNAs via it's routing 
proto gw.

// Sven-Ola

Am Mittwoch, 15. August 2012, 02:30:13 schrieb Hans-Christoph Steiner:
> Looking at dyn_gw_plain, it seems its done like this:
> 
> ip_prefix_list_add(&olsr_cnf->hna_entries, &gw_net,
>                    olsr_netmask_to_prefix(&gw_netmask));
> has_inet_gateway = 1;
> 
> .hc





More information about the Olsr-dev mailing list