Two routes for localnet, how to delete the one without GW?

view full story

http://serverfault.com – I have a system were I get sporadic routing issues. When looking into the routing table I get the following: localnet static.xx.xx.x UG 0 0 0 eth0 localnet * U 0 0 0 eth0 The first one is correct since "static.xx.xx.x" is the gateway for the local net. For security reasons the local net is only reachable via this gateway. What is the correct syntax for "route del ..." to delete the second route? It expects me to specify a GW in the command. Where is this route set? In /etc/network/interfaces I set (HowTos)