And as an addendum to Brian's exclelent tutorial:
If you need to use other routing protocols internally in your network (OSPF, BGP, RIP), take notice that the routes created by tools like quagga reside in the main table. In that case, the ampr routes have to go into table main IF YOU NEED them to interact with each other (you can use the parameter -m to change their metric to fit your needs).
Marius, YO2LOJ