multiple ip addresses

  • Thread starter Thread starter John
  • Start date Start date
J

John

Is there a way to choose different ip address depending on
the location? I use static ip for work and home. I have to
manually enter the ip address whenever I am at work or
home. Thanks.
 
John said:
Is there a way to choose different ip address depending on
the location? I use static ip for work and home. I have to
manually enter the ip address whenever I am at work or
home. Thanks.

You could write two .cmd files that set the IP address using the "netsh"
commandline utility:

for dhcp:
netsh interface ip set address name="connectionname" source=dhcp
for static
netsh interface ip set address name="connectionname" static <ip> <netmask>
<defaultgw> 1

Start the netsh command and look at the options.


Arild
 
Hi,

You can enter both IP addresses : TCP/IP Properties-->Advanced-->IP
Settings-->Add .

iMaMinSKY
 
Is there a way to choose different ip address depending on
the location? I use static ip for work and home. I have to
manually enter the ip address whenever I am at work or
home. Thanks.

You can set two different profiles for your notebook and choose which
one you're on. Personally, I'd use DHCP, if you can't at work then at
least at home.

Jeff
 
Back
Top