Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 )

share|improve this question
up vote 2 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.