December 7, 2016

Otvorena mreža and policy routing

Otvorena mreža and policy routing

Otvorena mreža (Open network in Croatian) uses babel routing protocol, which in turn uses linux policy routing.

This blog post will go trough some simple commands to get to know how to use linux policy routing.

ip rule list - this command shows all policy routing tables

ip route list table babel - this command show routes in babel table

To see all tables on the system check it:

cat /etc/iproute2/rt_tables 
20	olsr
21	babel
31	babel_default
30	olsr_default
0	unspec
253	default
254	main
255	local