Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have 2 network interfaces. Both use DHCP to obtain ip address. First provides internet directly and second uses PPPOE connection. How to select which connection windows will use to connect to internet? I need both links to be enabled and want one with PPPOE to be my default.

P.S. I understand I can do it using console and route command but I want windows to do that automatically.

share|improve this question
    
With non PPOE one do you ever access IP addresses outside of your subnet? –  Scott Chamberlain Mar 21 '12 at 19:00
    
I use it as backup when my PPPOE provider has problems –  Poma Mar 21 '12 at 19:02

1 Answer 1

up vote 5 down vote accepted

Go in to your network adapter properties page for the non-PPPOE device, from there click on Internet Protocol Version 4 and go to Properties, from there click Advanced to get the following window.

enter image description here

Un-check Automatic metric if it is checked and enter 100 for the value of the 'Interface metric' box.

That value should be high enough to make your computer prefer the PPPOE link if the PPPOE link has automatic metric set.

If you are doing IPv6 you will need to set the same value in the Internet Protocol Version 6 properties page too.

share|improve this answer
    
thank you, that works! One more question. Is there a way to tell windows to try to connect to PPPOE connection when it's not connected (like it does when there is no connection to internet)? –  Poma Mar 21 '12 at 19:23
    
It will just do it, it tries the lowest valued device that can connect to the destination, so if your normal link is down the PPPOE link will be the lowest valued connection (because the other one is down, so in essence it has a value of infinity) –  Scott Chamberlain Mar 21 '12 at 19:34
    
No, the PPPOE is the primary connection and direct link is secondary. I want it to try to automatically reconnect to PPPOE even when there is internet on secondary link. –  Poma Mar 21 '12 at 19:36
    
Misunderstood you, there should be a redial option in the properties of the link settings, I do not have a PPPOE link on my machines so I can't tell you where to look. –  Scott Chamberlain Mar 21 '12 at 19:38

Your Answer

 
discard

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.