Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a box running Ubuntu 12.04. There i have eth0 which is used as local network no internet. But i have also in that same box wlan0, and WiFi availability.

Now how can i have both interface active? So that eth0 remain as it is, but wlan0 also get auto active to specific WiFi as fixed. When ever internet inbound/outbound access requires, i want to use wlan0 interface, not the eth0 interface as it is used already for webservice in local networks.

Any ideas how to achieve this? ( i tried this but not working for both interface https://help.ubuntu.com/community/WifiDocs/WiFiHowTo )

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It sounds like your eth0 interface is routed to your local network, while your wlan0 interface is routed to the outside world. Consider establishing routes for your two interfaces as shown at this answer.

For more information about routes, visit this page at The Linux Documentation Project.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.