Multiple IP addresses

1025 pts.
Tags:
IP addressing
Networking
Windows
Here is my dilemma, I need to assign multiple IP addresses to the same laptop, my goal is to have one IP for the computer when it is connected to the Domain here is the office, a static IP and another or get a IP via DHCP when it is connected anywhere else primarily at home. I don't want the users to have to change the IP address or have to release their static IP address every time they leave the office. Thanks in advance for all your help. CG._

Answer Wiki

Thanks. We'll let you know when a new response is added.

what OS are you using? windows XP pro allows this by going into network settings, then right click the network connection, go to properties. when in properties find your “Internet Protocol TCP/IP” protocol and click properties. in the properties section set the GENERAL tab section to obtain IP address automatically and it will get it’s address from DHCP. then in the ALTERNATE CONFIGURATION tab you can enter a static IP address. this should work for two different networks, (or more as long as you only need one with static IP), and is exactly why it was developed.

####Added by Kb3cgj#########

Here is what I recommend:

Don’t use static’s at the office. If you already have a DHCP server running do DHCP Reservations by Mac-Address. That way the laptops always get the same address everytime they connect and they don’t have to do any config to their laptop ever. And you could do a reservation for both their wireless card and ethernet card. If you need specific help with the config of the DHCP server…let me know.

Nick (kb3cgj)

—————————————

I’d recommend adding another DHCP scope which has just enough IPs to account for all the machines which have reservations. When another machine is added increase the size of the range one IP larger.

You can learn a little code and make a couple small batch files, one you would click when home that changes your ip address to dhcp and runs a release renew.. One you would click on to change it back to static and set the ip address for you.

One way to do it: http://forums.devshed.com/networking-help-109/netsh-command-usage-in-a-batch-file-to-set-ip-130387.html

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • CGarcia26C
    Thanks for your quick response but this will not work because I have a DHCP server on site, but the IP range is only used for visitor computers, that way the IP range is different than the one that I need to statically assign for the computers to be able to access the local resources. This was the first thing that I thought about but unfortunately would not work for my situation. Thanks CG._
    1,025 pointsBadges:
    report
  • CGarcia26C
    Thanks Nick, I will give that a try, I will post back if I need some more help. Thanks CG._
    1,025 pointsBadges:
    report
  • Wrobinson
    Looking at the current configuration and the proposed solutions purely on the surface, I have to ask why DHCP is used for guests and static IP addresses are used for internal clients? It appears that you wish to segregate visitors from users but merely using differeng IP ranges on the same network does not meet this requirement. You might consider re-designing the network such that the DHCP server provides leases for two separate networks -- internal clients and guests using a DHCP relay agent. It isn't as complicated as it looks or virtually 'sounds'.
    5,625 pointsBadges:
    report
  • CGarcia26C
    Hey Buddyfarr thanks for that link I think that those batch files will come in handy, and for now might do the trick. Thanks CG._
    1,025 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following