Return to Snippet

Revision: 33840
at October 14, 2010 04:00 by laforge


Initial Code
ip route show table main | grep -Ev ^default | while read ROUTE; do ip route add $ROUTE table new-routing-table; done

Initial URL


Initial Description
Useful when you want to do policy routing on linux and need to populate a new routing table, without the default route.

Initial Title
Populating a new routing table on linux without the default

Initial Tags


Initial Language
Bash