Computer Scientist, Graduate Student, and Geek

Tag: subnet

Deleting a Route

February 09, 2011

Use the route command on Linux to view and delete entries from the routing table. To remove a route for a specific subnet, use the command:

route del -net DST netmask MASK

replacing DST with the subnet IP and MASK with the subnet mask. For example, to delete a route for the subnet 169.254.0.0/16, run the command:

route del -net 169.254.0.0 netmask 255.255.0.0

Categories: Linux, Networking

Tags: route, subnet


Calculating IP Subnets

December 28, 2010

Being in networking, I frequently need to determine subnet sizes, mask sizes, and address ranges. While I could do this all in my head, I like to use the handy Online IP Subnet Calculator. You can set any number of subnet parameters and get the resulting address range and broadcast address.

Categories: Networking

Tags: subnet