What is the best way to configure multiple NICs in Windows 7?

Multiple NICs in each PC. One NIC is used for Internet. IP's assigned by the DHCP server. Second NIC is used to access applications/programs.Static IP's are manually assigned.  The problem, I must disable one in order to use the other. They both can't be enabled at the same time.
MAK_peeyah_otaHAsked:
Who is Participating?
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.

MAK_peeyah_otaHAuthor Commented:
NONE
0
Neil RussellTechnical Development LeadCommented:
Why can they not be enabled at the same time?
0
junior15Commented:
I'm not sure why you can't have them enabled at the same time unless you have a routed network on the inside where you need the gateway to be defined and having both NICs enabled at the same time causes routing issues.

But, here is a something you can put into a batch file to enable or disable whichever NIC you want to (i.e. one batch file to disable the Internet NIC and then enable the Intranet NIC and another batch file to go the other way).

netsh interface set interface "<InterfaceName>" DISABLED
netsh interface set interface "<InterfaceName>" ENABLED

Example:

Batch file 1:
@ECHO OFF
netsh interface set interface "Internet Connection" DISABLED
netsh interface set interface "LAN Connection" ENABLED
ECHO Internet connection disabled, Intranet connection enabled

Batch file 2:
@ECHO OFF
netsh interface set interface "LAN Connection" DISABLED
netsh interface set interface "Internet Connection" ENABLED
ECHO Intranet connection disabled, Internet connection enabled


Hope this helps.
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
junior15Commented:
If you are looking for a way to keep both NICs enabled at the same time, please explain what doesn't work when both are enabled. Also, please give a description of your internal network (used for applications) setup so we can tell if there is a reason why both NICs can't work at the same time.
0
David Johnson, CD, MVPOwnerCommented:
they must be on different subnets
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
Windows OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.