On Sunday 26 February 2012, James Knott wrote:
Ruediger Meier wrote:
There is no such thing as the_one_and_only default route. Each routing table may (or may not) have it's own default route.
The only trick is how to get an IP packet routed via the right routing table, see
Let's try again. There can be many routes, but only one, 1, count 'em, one, default that 's used when all other selection criteria fails. It's where you send packets that you don't otherwise know how to handle. That's what the word "default" means in this context. The various selection methods may have preferred routes, but there's still only one default route in a router.
No you are wrong. Of course finally an IP packet will take exactly one (or none) route. But the term "default route" means just a final default per table.
Usually users have only 2 default routes in use - one in IPv6 and one in IPv4 main table. These are the ones which are modified if you add a default route without specifing the table name.
BTW you can even add more than one default route per table, which could make sense to achieve some kind of load balancing.