# ____ _ __ __ ____ _ _ _ _
# | _ \ ___ _ _| |_ ___ \ \ / /__ _ _ _ __ / ___|| |__ (_) |_| |
# | |_) / _ \| | | | __/ _ \ \ V / _ \| | | | '__| \___ \| '_ \| | __| |
# | _ < (_) | |_| | || __/ | | (_) | |_| | | ___) | | | | | |_|_|
# |_| \_\___/ \__,_|\__\___| |_|\___/ \__,_|_| |____/|_| |_|_|\__(_)
#
sudo route show
sudo route delete -inet $NETWORK_IP4_ADDRESS -netmask $NETWORK_MASK
# example
sudo route delete -inet 192.168.0.0 -netmask 255.255.255.0
sudo route add default $DEFAULT_GATEWAY
sudo route add -net -ifp $INTERFACE -inet $NETWORK_IP4_ADDRESS -netmask $NETWORK_MASK