What is the command to delete the default gateway from the system IP routing table?

What is the command to delete the default gateway from the system IP routing table?

(Please specify the complete command with arguments)

What is the command to delete the default gateway from the system IP routing table?

(Please specify the complete command with arguments)

Answer: route del default

Explanation:
From the man pages:
route – show / manipulate the IP routing table
Synopsis
route [-v] [-A family] del [-net|-host] target [gw Gw] [netmask Nm] [metric N] [[dev] If]



Leave a Reply 0

Your email address will not be published. Required fields are marked *