
Every os provides its custom interface to the routing table: linux's "route" utility is different from bsd's "route show", from windows' "route print", etc. parsing all these different output styles in an (otherwise portable) script can quickly become inconvenient.
net::route abstracts the system specifics and provides a single, portable interface.