<div dir="ltr">My Debian testing laptop running gnome has two interfaces - eth0 and wlan0. When I switch to wlan0, the routing table has an entry for eth0, so I cannot access my local network.<div><br></div><div><div><font face="courier new, monospace">root@orca:/home/mark# route</font></div>
<div><font face="courier new, monospace">Kernel IP routing table</font></div><div><font face="courier new, monospace">Destination Gateway Genmask Flags Metric Ref Use Iface</font></div><div><font face="courier new, monospace">default gateway 0.0.0.0 UG 0 0 0 wlan0</font></div>
<div><font face="courier new, monospace">link-local * 255.255.0.0 U 1000 0 0 wlan0</font></div><div><font face="courier new, monospace">192.168.25.0 * 255.255.255.0 U 0 0 0 eth0</font></div>
<div><font face="courier new, monospace">192.168.25.0 * 255.255.255.0 U 0 0 0 wlan0</font></div></div><div><br></div><div style>if I remove the eth0 line, I can connect to my local lan.</div>
<div style><br></div><div style>How do I permanently remove this route? I can do it manually with route del -net....., but that does not survive reboot. I have no idea where this setting is created.</div><div style><br></div>
<div style>When I switch to eth0 (ie plug in a cable), I get this routing table, which is correct.</div><div style><br></div><div style><div><font face="courier new, monospace">root@orca:/etc/network# route</font></div><div>
<font face="courier new, monospace">Kernel IP routing table</font></div><div><font face="courier new, monospace">Destination Gateway Genmask Flags Metric Ref Use Iface</font></div><div><font face="courier new, monospace">default gateway 0.0.0.0 UG 0 0 0 eth0</font></div>
<div><font face="courier new, monospace">link-local * 255.255.0.0 U 1000 0 0 eth0</font></div><div><font face="courier new, monospace">192.168.25.0 * 255.255.255.0 U 0 0 0 eth0</font></div>
<div><br></div></div><div style>Thanks,</div><div style><br></div><div style>Mark</div></div>