You can add default gateway to the linux like below. route add default gw 192.168.163.1 . If you want to delete default gateway you can execute like following script. route delete default gw 192.168.163.1 eth1 . You can add routing and gateway settings like below. route add -net 192.168.63.0/24 gw 192.168.163.1

Linux route command help and examples - Computer Hope May 04, 2019 Linux route Add Command Examples - nixCraft Jul 25, 2018

Route command in Linux explained - The Linux Juggernaut

Re: how to delete a route? - Debian To delete a route use # ip route del 10.0.0.0 dev ath0 to delete gateway use # ip route del default via 10.0.0.1 dev ath0 to add route use # ip route add 192.168.0.0/24 dev eth1 to list your routes use (for main route table) #ip

IP Route command: Create static routes or Change the

Delete a route table. The playbook code in this section a route table. When a route table is deleted, all of its routes are also deleted. A route table can't be deleted if it's associated with a subnet. Dissociate the route table from any subnets before attempting to delete the route table. Save the following playbook as route_table_delete.yml: route (command) - Wikipedia