The following is my route output. eth0
is my wired network and eth1
is my wireless network. Only wired one has access to internet. If I enable wireless, I am not able to access internet, it tries to access via eth1
and I get 404 page of the wireless router. Why does eth1
have higher preference though default is eth0
(link)?
[balakrishnan@mylap ~]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.26.0.1 0.0.0.0 UG 0 0 0 eth0
10.26.0.0 * 255.255.192.0 U 1 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
192.168.1.0 * 255.255.255.0 U 9 0 0 eth1
[balakrishnan@mylap ~]$ tracepath -n 8.8.8.8
1: 10.26.21.101 0.098ms pmtu 1500
1: 10.26.0.1 35.519ms
1: 10.26.0.1 29.763ms
2: 113.193.0.209 29.718ms
3: no reply
4: no reply
5: no reply
Edit: I noticed that some times (rarely) I am able to connect. It looks like it randomly tries on both interfaces. Is there a way to set to use only eth0 ?
tracepath -n 8.8.8.8
? – mgorven Oct 24 '12 at 16:58ping google.com
from terminal which doesn't work too. – balki Oct 24 '12 at 20:46