can anyone tell me on how to make the following commandline changes persistent? (Like via /etc/network/interfaces or /etc/dhcpcd.conf)
route del default
ifconfig eth0 add 172.25.1.1 netmask 255.240.0.0
ifconfig eth0:0 netmask 255.240.0.0
route del default
route add default gw 172.25.0.1
I need to make these changes to make this RPI use a Router as a default gateway a room next to ours. For more info: We don't have direct access to this Router, as in we can't make any changes to it by ourselves.
Am thankful for any insightful responses.