According to ip-route(8) :ip route save                save routing table information to stdout                This command behaves like ip route show except that the output is raw data suitable for passing to ip route restore.    ip route restore                restore routing table information from stdin                This command expects to read a data stream as returned from ip route save.  It will attempt to restore the routing table information exactly as it                was at the time of the save, so any translation of information in the stream (such as device indexes) must be done first. Any existing routes are                left unchanged. Any routes specified in the data stream that already exist in the table will be ignored.But when I use ip route save > mydump , It return binary unlike of manual page, Is it a bug? Or I use wrongly?
ip route save binary or ascii?
iproute
If you want to dump your RT, Please consider, ip route save provide stdout and stderr, So you have to use :ip route save 1> dumpIf you don't use 1> ip command, redirect stderr and stdout into dump.NOTE: If you have a default gateway in your dump,  please add its network by hand such as :ip route add 192.168.1.0/24 dev eth0Then :ip route restore < dumpBut why with hand? Because first line of dump is dafualt gw and you get the following error:RTNETLINK answers: Network is unreachable