9

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

view full story
linux-howto

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 255.255.255.192 UG 0 0 0 eth0 localnet * 255.255.255.192 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)