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

How to keep enable eth0 and pppoe connection at the same time. When i connect my broadband cable in eth0 port, it shows ip detected in eth0 (ifconfig). Now when i connect dsl connection eth0's ip goes away and a new interface added named pppoe with different ip address. How to enable both interface in the same time? Windows can keep both enable at the same time.

share|improve this question
up vote 0 down vote accepted

I have solved the problem. I am answering my own question for future reference.


1. Connect DSL connection using network manager
2. Connect eth0 interface: sudo udhcpc -i eth0
3. To check current routing: route -n
4. Two interface introduce two default gateway. To access internet remove local  default gateway: sudo route del default gw (for my network)
5. Add routing rule to access ftp servers( for my network): sudo route add -net gw eth0

After doing the above steps, eth0 and pppoe0 both should have IP address.

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.