Preferred way to copy route configuration to different host?
by charlweed from LinuxQuestions.org on (#5PEVV)
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?
I'm a bit reluctant to hand-translate the output into route commands, because errors always creep in. Is there a better way?