I'm replacing a CentOS server with an Ubuntu 20 one. I need to duplicate the older servers routing configuration. The outputs of ip route show
and route
are not directly usable as inputs.
I'm a bit reluctant to hand-translate the output into route commands, because errors always creep in. Is there a better way?