ip(8) used to support command shortening, so one could do things like ``ip r'' or ``ip r a default via 10.0.0.2''. I use it in all my scripts, so now not even the loop device is set up after bootup. Gosh this was just about the sexiest feature of the FLOSS world. Example of what should work but doesn't: $ ip r Object "r" is unknown, try "ip help". Instead, one has to say: $ ip route 10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.13 default via 10.0.0.2 dev eth0
Reopen with iproute2 version...
(In reply to comment #1) > Reopen with iproute2 version... $ eix iproute | grep Installed: Installed: 051007 $ ip -V ip utility, iproute2-ss051007
well `ip r` wouldnt work now anyways as there is 'route' and 'rule' ...
(In reply to comment #3) > well `ip r` wouldnt work now anyways as there is 'route' and 'rule' ... I've seen the shortened versions so many times it didn't occur to me the interface could change. Is this a feature then? So that it's clear the syntax is ``ip route'', not ``ip r'', and scripts I write today will work forever without alterations? I would prefere whatever worked yesterday would work today, the new keywords *addign* to the syntax, not *replacing* parts of it. E.g.: r -> route ru -> rule
looks like a bad example iproute2-2.6.10.20050112-r1 supports both 'rule' and 'route' but 'ip r' defaults to route as you showed
aaaaaand this is a bug as newer versions support `ip r` again ;) upgrade to 2.6.15.20060110