Ip route export from debian to ubuntu
by zox2005 from LinuxQuestions.org on (#5J44F)
Hello,
I have ip routes on debian sistem where i run eth0 and ppp0 connections, and i need export rules to new ubuntu sistem. Problem is that i do not know anything about network commands, so i can not enter them in ubuntu sistem.
My current rules on debian are:
default via 192.168.1.1 dev enp0s25 proto dhcp metric 100
default dev ppp0 proto static scope link metric 700
10.64.64.64 dev ppp0 proto kernel scope link src 10.249.143.2
10.64.64.64 dev ppp0 proto kernel scope link src 10.249.143.2 metric 700
10.249.143.0/24 dev ppp0 scope link
192.168.1.0/24 dev enp0s25 proto kernel scope link src 192.168.1.101 metric 100
I need same rules on ubuntu sistem but device enp0s25 is now called eth0.
Can someone please write me commands or tell me where i can find configuration file on debian so i can copy to ubuntu.
Thank you


I have ip routes on debian sistem where i run eth0 and ppp0 connections, and i need export rules to new ubuntu sistem. Problem is that i do not know anything about network commands, so i can not enter them in ubuntu sistem.
My current rules on debian are:
default via 192.168.1.1 dev enp0s25 proto dhcp metric 100
default dev ppp0 proto static scope link metric 700
10.64.64.64 dev ppp0 proto kernel scope link src 10.249.143.2
10.64.64.64 dev ppp0 proto kernel scope link src 10.249.143.2 metric 700
10.249.143.0/24 dev ppp0 scope link
192.168.1.0/24 dev enp0s25 proto kernel scope link src 192.168.1.101 metric 100
I need same rules on ubuntu sistem but device enp0s25 is now called eth0.
Can someone please write me commands or tell me where i can find configuration file on debian so i can copy to ubuntu.
Thank you