Sharing my iPhone Internet Connection with a Desktop while NIC enabled

My ISP got some problems at the moment.  So i've setuped my iPhone to Share it's Internet Connection thru USB, which work just fine as you can see.  But the problem is that i've to disable my desktop NIC to make it work, otherwise it seems to try to connect to internet thru my router which has no connection.

The problem is that i've my SQL Server on my LAN, and i need this NIC enabled.

Is there a way to specify to Windows 7 to use iPhone for Internet, and look at the masks & subnet for anything else to find which path it should use? (And how?)

Thanks
LVL 10
Christian de BellefeuilleProgrammerAsked:
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.

Mike RoeCommented:
Click on the wireless settings in the taskbar and select the iphone as the connection.

Or go into control control panel, network and sharing and find wireless adapter and add your iphone to the connections.
Christian de BellefeuilleProgrammerAuthor Commented:
I've specified Desktop (like most desktop, there's no Wifi), plus i've specified that the iPhone is connected to it thru USB, and i've specified that it was working properly if my NIC was disabled.  I'm asking how to make it work, with this setup, but with NIC enabled.  Thanks
JohnBusiness Consultant (Owner)Commented:
I don't think you can do much given the phone is connected by USB. You can try making the metric larger in the Wired NIC advanced properties. That may allow your phone to work and the LAN to work as well. But I am not certain because of the USB connection.

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
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Mike RoeCommented:
Change the metric on the local lan to 1 from automatic and then let the wireless do automatic
Mike RoeCommented:
Sorry Miss read the question about USB.  Try to change the metric on the Lan connection and see if it works
Christian de BellefeuilleProgrammerAuthor Commented:
Great!  It work!  

For the benifit of others who could be looking for this, here's some additional informations:

SHOW ACTUAL METRIC
Type netstat -an from the Command Prompt.  In my case i had to look at IPv4 Route Table and see the Interface IP vs Metric

CHANGE METRIC ON WINDOWS 7
Open the Network Adapter Properties (Control Panel > Network and Internet > Network Connections > right-click on adapter and choose Properties)
Open the properties of Internet Protocol Version 4 (TCP/IPv4)
Click Advanced
Untick "Automatic Metric" and set a lower number for the connection that have an higher priority
Click OK
JohnBusiness Consultant (Owner)Commented:
Thanks for the update and I am glad changing the metric worked for you.
Christian de BellefeuilleProgrammerAuthor Commented:
Another note: I thought that by changing the order of the connections under the Network Connections / Advanced Settings would change that metric, "bypass" that metric, but it's not the case.  Even if i setuped the iPhone at 1st position under "Connections are listed in the order in which they are accessed by network services", it was not enough to make it work.   Metrics was the answer!

A huge thanks!
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
Networking Hardware-Other

From novice to tech pro — start learning today.