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         UG    0      0        0 eth0       *        U     1      0        0 eth0
link-local      *          U     1000   0        0 eth0     *        U     9      0        0 eth1

[balakrishnan@mylap ~]$ tracepath -n
 1:                                          0.098ms pmtu 1500
 1:                                            35.519ms 
 1:                                            29.763ms 
 2:                                        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 ?

  • The default gateway is out eth0 via Can you provide the output of tracepath -n – mgorven Oct 24 '12 at 16:58
  • Updated with output. It doesn't end. I keep getting no reply – balki Oct 24 '12 at 18:00
  • Your default route is definitely over the wired connection... Are you sure you can't get to the Internet? You are trying more than just a web browser, correct? Are there proxy settings in the browser's configuration? Operating system? Steps you've already taken to resolve the issue? – Chris S Oct 24 '12 at 18:22
  • I am using ubuntu 12.10. Tried with both firefox and chrome. sometimes it opens. When I refresh, it goes away. With disabling wireless, it is always stable. No proxy settings configured anywhere. I tried ping google.com from terminal which doesn't work too. – balki Oct 24 '12 at 20:46
  • ping works now again for some websites. Some services work, others dont. wget works fine. dropbox works. apt-get doesn't work, both browsers don't work. – balki Oct 24 '12 at 21:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.