Article 5PEVV Preferred way to copy route configuration to different host?

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?latest?d=yIl2AUoC8zA latest?i=18zJsGJsYZc:heRIau_UWr8:F7zBnMy latest?i=18zJsGJsYZc:heRIau_UWr8:V_sGLiP latest?d=qj6IDK7rITs latest?i=18zJsGJsYZc:heRIau_UWr8:gIN9vFw18zJsGJsYZc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments