Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: dual net config dhcp or static ip

27 Jul 2010   #1

w7
 
 
dual net config dhcp or static ip

Is there a way to have 2 different configurations, one DHCP, the other with a static IP on one network card ? And if yes, how can I switch from one to another (besides making scripts that change the settings)
I need a static address at work and DHCP at home.
I know some small progs are able to do that, but I'd like to know if I can do that in windows.
Thanks
Simon

My System SpecsSystem Spec
.

27 Jul 2010   #2
ryo

 
 

if on one network card..i think that's can't.
for what you want to do that?? you need static address at your work office?? than DHCP at your home>?? so it's means 2 location? if i'm not wrong.
My System SpecsSystem Spec
27 Jul 2010   #3

w7
 
 

Quote   Quote: Originally Posted by ryo View Post
if on one network card..i think that's can't.
for what you want to do that?? you need static address at your work office?? than DHCP at your home>?? so it's means 2 location? if i'm not wrong.
Yes that's exactly it. And the problem is that you can do that if you put DHCP in the general Tab and in the alternat config (on the adapter settings, tcp/IP properties) with the static IP. And so if there is no dhcp server, it switches automatically to the static IP. But we have both at work, and if I let it like that, the adapter gets an address from the server, which I don't want. I want it to use the static at work, and the dhcp at home. I don't know if make myself understand...
My System SpecsSystem Spec
.


27 Jul 2010   #4

Windows 7 Ultimate 64bit
 
 

easy way is to setup your home network with the same IP range as your work and just use static at work and home.
My System SpecsSystem Spec
27 Jul 2010   #5

Microsoft Community Contributor Award Recipient

Windows 7 Ult, Windows 8.1 Pro,
 
 

Quote   Quote: Originally Posted by Simoncu View Post
Quote   Quote: Originally Posted by ryo View Post
if on one network card..i think that's can't.
for what you want to do that?? you need static address at your work office?? than DHCP at your home>?? so it's means 2 location? if i'm not wrong.
Yes that's exactly it. And the problem is that you can do that if you put DHCP in the general Tab and in the alternat config (on the adapter settings, tcp/IP properties) with the static IP. And so if there is no dhcp server, it switches automatically to the static IP. But we have both at work, and if I let it like that, the adapter gets an address from the server, which I don't want. I want it to use the static at work, and the dhcp at home. I don't know if make myself understand...
As you suspected, you should be able to set this up using the advanced tcp/IP settings window. Just use the add button and then add both connections.


Attached Thumbnails
dual net config dhcp or static ip-tcp-ip-advanced-settings.png  
My System SpecsSystem Spec
27 Jul 2010   #6

Win 7 Home Premium/Professional/XP home
 
 

if you manually set IP you can assign multiple IPs to a single nic.. you just keep adding under the setup.. Where that is depends in OS.. We do it at work on just about every computer there.. I work for the USPS and we have a fiber-optic network .. all manualy assigned IP becauser we own our own.. and we use another in house.. This keeps that network from showing or broadcasting out into the "Cloud" heh.. the internet.. If you do it manually you must set everything..
My System SpecsSystem Spec
Reply

 dual net config dhcp or static ip





Thread Tools



Similar help and support threads for2: dual net config dhcp or static ip
Thread Forum
DHCP and static ip simultaneously, one nic ? Network & Sharing
Assign DHCP & Static IP of other subnet to the same NIC ? Network & Sharing
W7: DHCP works fine, but NO Static IP Network & Sharing
W7: DHCP works fine, but NO Static IP Network & Sharing
How to enable DHCP and Static IP adress on the same NIC ? Network & Sharing
Switch from DHCP to Static IP Network & Sharing
Help with dual hardrive config. General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:22 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33