On Linux, the default route can be removed using either of two command-line utilities: the legacy net-tools command 'route del default', which deletes the default route entry from the kernel routing table, or the modern iproute2 command 'ip route del default', which performs the same function using the newer routing management syntax. The other listed commands do not perform this function: 'ifconfig' only configures network interface parameters and has no 'unset' subcommand, 'netstat -r' only displays routing table information without modifying it, and there is no such sysctl parameter as 'ipv4.default_gw'.
Community Discussion