title: ip route del does not delete entire table
body: <p>I have recently started using <code>ip route</code> commands for advanced routing stuff. Now I have come across something rather puzzling to me. A default route added to a table will be easily deleted whereas another route remains.</p>
  
  <p>I add these two rules:</p>
  
  <pre><code>ip route add dev wlan0 default via 192.168.0.1 table 21
  ip route add dev wlan0 192.168.0.0/24 table 21
  </code></pre>
  
  <p>Now if I do:</p>
  
  <pre><code>ip route show table 21
  </code></pre>
  
  <p>I see both of these rules present.</p>
  
  <pre><code>default via 192.168.0.1 dev wlan0 
  192.168.0.0/24 dev wlan0  scope link  
  </code></pre>
  
  <p>If I then try to delete table 21, and show it again:</p>
  
  <pre><code>ip route del table 21
  ip route show table 21
  </code></pre>
  
  <p>There is still that rule remaining.</p>
  
  <pre><code>192.168.0.0/24 dev wlan0  scope link
  </code></pre>
  
  <p>Can anyone explain this? The man page says that del is designed to delete a ROUTE, which also includes tables. </p>