How to set Windows 7 default gateway to eth1 and not pppoe connection on eth2?

say, I've 2 ethernet ports on win7 machine.
Eth 1 has settings for local lan.
Eth 2 is for pppoe dialup connection.
How do I force default gateway to eth1?
shaunwinginAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PC-MasterCommented:

you can configure the interface metric see in this link how to do it

http://www.windowsreference.com/windows-2000/change-the-interface-metric-on-a-network-adapter/
0
shaunwinginAuthor Commented:
Tx, I've tried setting manual metrics but they seem to default back to automatic.
How can I see the route table?
0
acl-puzzCommented:
Eth1 and  2 are both are to automatic ip addressing?
0
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

PC-MasterCommented:

at comand line:
route print

0
shaunwinginAuthor Commented:
This is the route print. (I've tried brdgeing eth 1 and 2

C:\Users\shaunw>route PRINT -4
===========================================================================
Interface List
 26...........................axxess local
 18...02 22 3f f1 d9 21 ......MAC Bridge Miniport
 14...00 22 3f f1 d9 21 ......Realtek RTL8169/8110 Family PCI Gigabit Ethernet
IC (NDIS 6.20)
  1...........................Software Loopback Interface 1
 12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
 13...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
 17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
 16...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0   192.168.10.199    192.168.10.88  16935
          0.0.0.0          0.0.0.0   192.168.10.254    192.168.10.52   4245
          0.0.0.0          0.0.0.0         On-link   196.210.141.200  10000
        127.0.0.0        255.0.0.0         On-link         127.0.0.1   4531
        127.0.0.1  255.255.255.255         On-link         127.0.0.1   4531
  127.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
     192.168.10.0    255.255.255.0         On-link     192.168.10.88   8726
     192.168.10.0    255.255.255.0         On-link     192.168.10.52   4501
    192.168.10.52  255.255.255.255         On-link     192.168.10.52   4501
    192.168.10.88  255.255.255.255         On-link     192.168.10.88   8726
   192.168.10.255  255.255.255.255         On-link     192.168.10.88   8726
   192.168.10.255  255.255.255.255         On-link     192.168.10.52   4501
  196.210.141.200  255.255.255.255         On-link   196.210.141.200  10255
        224.0.0.0        240.0.0.0         On-link         127.0.0.1   4531
        224.0.0.0        240.0.0.0         On-link     192.168.10.52   4502
        224.0.0.0        240.0.0.0         On-link     192.168.10.88   8727
        224.0.0.0        240.0.0.0         On-link   196.210.141.200  10000
  255.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
  255.255.255.255  255.255.255.255         On-link     192.168.10.52   4501
  255.255.255.255  255.255.255.255         On-link     192.168.10.88   8726
  255.255.255.255  255.255.255.255         On-link   196.210.141.200  10255
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0   192.168.10.199       1
          0.0.0.0          0.0.0.0   192.168.10.199    8465
===========================================================================
0
shaunwinginAuthor Commented:
With Bridge disabled:

C:\Users\shaunw>route PRINT -4
===========================================================================
Interface List
 26...........................axxess local
 18...02 22 3f f1 d9 21 ......MAC Bridge Miniport
 14...00 22 3f f1 d9 21 ......Realtek RTL8169/8110 Family PCI Gigabit Ethernet
IC (NDIS 6.20)
  1...........................Software Loopback Interface 1
 12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
 13...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
 17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
 16...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0   192.168.10.199    192.168.10.88  16935
          0.0.0.0          0.0.0.0   192.168.10.254    192.168.10.52   4245
          0.0.0.0          0.0.0.0         On-link   196.210.141.200  10000
        127.0.0.0        255.0.0.0         On-link         127.0.0.1   4531
        127.0.0.1  255.255.255.255         On-link         127.0.0.1   4531
  127.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
     192.168.10.0    255.255.255.0         On-link     192.168.10.88   8726
     192.168.10.0    255.255.255.0         On-link     192.168.10.52   4501
    192.168.10.52  255.255.255.255         On-link     192.168.10.52   4501
    192.168.10.88  255.255.255.255         On-link     192.168.10.88   8726
   192.168.10.255  255.255.255.255         On-link     192.168.10.88   8726
   192.168.10.255  255.255.255.255         On-link     192.168.10.52   4501
  196.210.141.200  255.255.255.255         On-link   196.210.141.200  10255
        224.0.0.0        240.0.0.0         On-link         127.0.0.1   4531
        224.0.0.0        240.0.0.0         On-link     192.168.10.52   4502
        224.0.0.0        240.0.0.0         On-link     192.168.10.88   8727
        224.0.0.0        240.0.0.0         On-link   196.210.141.200  10000
  255.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
  255.255.255.255  255.255.255.255         On-link     192.168.10.52   4501
  255.255.255.255  255.255.255.255         On-link     192.168.10.88   8726
  255.255.255.255  255.255.255.255         On-link   196.210.141.200  10255
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0   192.168.10.199       1
          0.0.0.0          0.0.0.0   192.168.10.199    8465
===========================================================================
0
shaunwinginAuthor Commented:
Eth1 and  2 are both are to automatic ip addressing?
No fixed ip
0
acl-puzzCommented:
"Eth1 and  2 are both are to automatic ip addressing?" if both are setup to automatic both will get ip from DHCP server and both will get their respective gatewas ip depending upon to whom  physically they are connected

try setting one to static and set ip and gateway

but practically saying may be  this metric logic looks ok but it doesnt work one pc one gateway!!
0
shaunwinginAuthor Commented:
These settings work:
C:\Users\shaunw>route PRINT -4
===========================================================================
Interface List
 21...........................axxess local
 14...00 22 3f f1 d9 21 ......Realtek RTL8169/8110 Family PCI Gigabit Ether
IC (NDIS 6.20)
 11...f4 ce 46 e6 01 63 ......Broadcom NetXtreme Gigabit Ethernet
  1...........................Software Loopback Interface 1
 12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
 13...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
 17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
 16...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0   192.168.10.199    192.168.10.88  12710
          0.0.0.0          0.0.0.0         On-link   196.210.138.105  10000
          0.0.0.0          0.0.0.0   192.168.10.199    192.168.10.89   4246
        127.0.0.0        255.0.0.0         On-link         127.0.0.1   4531
        127.0.0.1  255.255.255.255         On-link         127.0.0.1   4531
  127.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
     192.168.10.0    255.255.255.0         On-link     192.168.10.88   4501
     192.168.10.0    255.255.255.0         On-link     192.168.10.89   4501
    192.168.10.88  255.255.255.255         On-link     192.168.10.88   4501
    192.168.10.89  255.255.255.255         On-link     192.168.10.89   4501
   192.168.10.255  255.255.255.255         On-link     192.168.10.88   4501
   192.168.10.255  255.255.255.255         On-link     192.168.10.89   4501
  196.210.138.105  255.255.255.255         On-link   196.210.138.105  10255
        224.0.0.0        240.0.0.0         On-link         127.0.0.1   4531
        224.0.0.0        240.0.0.0         On-link     192.168.10.88   4502
        224.0.0.0        240.0.0.0         On-link   196.210.138.105  10000
        224.0.0.0        240.0.0.0         On-link     192.168.10.89   4501
  255.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
  255.255.255.255  255.255.255.255         On-link     192.168.10.88   4501
  255.255.255.255  255.255.255.255         On-link   196.210.138.105  10255
  255.255.255.255  255.255.255.255         On-link     192.168.10.89   4501
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0   192.168.10.199       1
          0.0.0.0          0.0.0.0   192.168.10.199    8465
===========================================================================


C:\Users\shaunw>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : Win7serv
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

PPP adapter axxess local:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : axxess local
   Physical Address. . . . . . . . . :
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 196.210.138.105(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.255
   Default Gateway . . . . . . . . . : 0.0.0.0
   DNS Servers . . . . . . . . . . . : 168.210.2.2
                                       196.14.239.2
   NetBIOS over Tcpip. . . . . . . . : Disabled

Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek RTL8169/8110 Family PCI Gigabit
thernet NIC (NDIS 6.20)
   Physical Address. . . . . . . . . : 00-22-3F-F1-D9-21
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.10.88(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.10.199
   DNS Servers . . . . . . . . . . . : 196.25.255.3
                                       192.168.10.199
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet
   Physical Address. . . . . . . . . : F4-CE-46-E6-01-63
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::a506:953d:4ce5:bd37%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.10.89(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.10.199
   DHCPv6 IAID . . . . . . . . . . . : 250924614
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-66-6D-B8-F4-CE-46-E6-01-

   DNS Servers . . . . . . . . . . . : 192.168.10.199
                                       196.25.255.3
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{0DE51431-D56D-44A4-8F49-2801CBD57A8D}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e74:1c19:78:3f57:f5a6(Pref
red)
   Link-local IPv6 Address . . . . . : fe80::1c19:78:3f57:f5a6%13(Preferred)
   Default Gateway . . . . . . . . . :
   NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter isatap.{18247CEB-7518-4314-9559-439FDF6E1A9B}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{F8A19896-2E36-4EE8-B8F8-7B983338F206}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter 6TO4 Adapter:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft 6to4 Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2002:c4d2:8a69::c4d2:8a69(Preferred)
   Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301
                                       2002:9be8:101::1
   DNS Servers . . . . . . . . . . . : 168.210.2.2
                                       196.14.239.2
   NetBIOS over Tcpip. . . . . . . . : Disabled



0
shaunwinginAuthor Commented:
Help, On reboot it stopped working!

AfterReboot:

C:\Users\shaunw>route PRINT -4
===========================================================================
Interface List
 26...........................axxess local
 14...00 22 3f f1 d9 21 ......Realtek RTL8169/8110 Family PCI Gigabit Ethern
IC (NDIS 6.20)
 11...f4 ce 46 e6 01 63 ......Broadcom NetXtreme Gigabit Ethernet
  1...........................Software Loopback Interface 1
 12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
 13...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
 17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
 16...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0   192.168.10.199    192.168.10.89   8471
          0.0.0.0          0.0.0.0   192.168.10.199    192.168.10.88  12710
          0.0.0.0          0.0.0.0         On-link     196.215.13.83  10000
        127.0.0.0        255.0.0.0         On-link         127.0.0.1   4531
        127.0.0.1  255.255.255.255         On-link         127.0.0.1   4531
  127.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
     192.168.10.0    255.255.255.0         On-link     192.168.10.89   8726
     192.168.10.0    255.255.255.0         On-link     192.168.10.88   4501
    192.168.10.88  255.255.255.255         On-link     192.168.10.88   4501
    192.168.10.89  255.255.255.255         On-link     192.168.10.89   8726
   192.168.10.255  255.255.255.255         On-link     192.168.10.89   8726
   192.168.10.255  255.255.255.255         On-link     192.168.10.88   4501
    196.215.13.83  255.255.255.255         On-link     196.215.13.83  10255
        224.0.0.0        240.0.0.0         On-link         127.0.0.1   4531
        224.0.0.0        240.0.0.0         On-link     192.168.10.89   8727
        224.0.0.0        240.0.0.0         On-link     192.168.10.88   4502
        224.0.0.0        240.0.0.0         On-link     196.215.13.83  10000
  255.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
  255.255.255.255  255.255.255.255         On-link     192.168.10.89   8726
  255.255.255.255  255.255.255.255         On-link     192.168.10.88   4501
  255.255.255.255  255.255.255.255         On-link     196.215.13.83  10255
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0   192.168.10.199       1
          0.0.0.0          0.0.0.0   192.168.10.199    8465
===========================================================================
0
Davis McCarnOwnerCommented:
Did you go to the Connections tab in IE options and change it to Dial whenever a network connection is not present?
0
shaunwinginAuthor Commented:
Its set to that, but I still have to dial manually on reboot..
0
stevew1999Commented:
Try this

On PPOE properties > Networking tab > Highlight IP protocol >properties > advanced > uncheck "use default gateway on remote network"

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
shaunwinginAuthor Commented:
Worked perfectly!
How can I get the connections to connect automatically on reboot?
0
LeeTutorretiredCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:
Accept: stevew1999 (http:#32612084)

If you feel this question should be closed differently, post an objection and a moderator will read all objections and then close it as they feel fit.  If no one objects, this question will be closed automatically the way described above.

LeeTutor
Experts-Exchange Cleanup Volunteer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
TCP/IP

From novice to tech pro — start learning today.