How to select the right interface with two network devices.
I'm trying to use the wireless card on my new Dell X1 laptop, I think I know what's wrong but I don't know how to fix it.
Both the Ethernet and Wireless devices are detected. Ethernet is on eth0 and the wireless interface is on eth1. I can connect my browser and ping my ADSL router with the cable plugged in (eth0). I've configured my wireless settings and it has no problem connecting to the wireless access point with a good quality connection. The device appears to be working well.
However, if I pull out the network cable, I assumed that the web browser or pinging the ADSL router would go via the connected wireless card. But I can't connect. Using iptables I can actually see occasional broadcast packets from my router coming in on the wireless card (eth1).
Having looked at #route and #arp, I can see that the default route is only configured to use eth0. Is this why it doesn't work? If so, how can I add a second default route to use eth1?