Modify your routing table to add/remove a route

To add a route.:

route add -net [DESTINATION_IP] netmask [MASK_IP] gw [GATEWAY_IP] dev [DEVICE]

To delete a route:

route del -net [DESTINATION_IP] netmask [MASK_IP] gw [GATEWAY_IP] dev [DEVICE]

Last modified: 07/05/2006 (most likely earlier as a site migration in 2006 reset some dates) Tags: (none)

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top