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 the correct route on startup.
Thanks for your input on this!
Edit: Output of "route -n" as requestet:
root@lb01:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 aa.b.10.214 0.0.0.0 UG 100 0 0 eth0
aa.b.10.192 aa.b.10.193 255.255.255.192 UG 0 0 0 eth0
aa.b.10.192 0.0.0.0 255.255.255.192 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1