using a specific IP address if DHCP is unavailable?

  • Thread starter Thread starter yawnmoth
  • Start date Start date
Y

yawnmoth

I was looking at the Advanced TCP/IP Settings and noticed that you can
have multiple IP addresses.

I was wondering... would it be possible to use DHCP and, failing
that, specific IP addresses / subnet mask?

I ask because I have a laptop that I use at, primarily, two different
locations. One location uses DHCP and the other doesn't - you have to
manually specify "192.168.0.x". What I do, right now, is that I
manually adjust the TCP/IP properties, manually. Is there a way to
avoid having to do this?
 
yawnmoth said:
I was looking at the Advanced TCP/IP Settings and noticed that you can
have multiple IP addresses.

I was wondering... would it be possible to use DHCP and, failing
that, specific IP addresses / subnet mask?

I ask because I have a laptop that I use at, primarily, two different
locations. One location uses DHCP and the other doesn't - you have to
manually specify "192.168.0.x". What I do, right now, is that I
manually adjust the TCP/IP properties, manually. Is there a way to
avoid having to do this?

You could check the IP address in a startup batch file.
If none is assigned then you could assign a manual address,
using netsh.exe.
 
m:
I was looking at the Advanced TCP/IP Settings and noticed that you
can have multiple IP addresses.

I was wondering... would it be possible to use DHCP and, failing
that, specific IP addresses / subnet mask?

I ask because I have a laptop that I use at, primarily, two
different locations. One location uses DHCP and the other doesn't
- you have to manually specify "192.168.0.x". What I do, right
now, is that I manually adjust the TCP/IP properties, manually.
Is there a way to avoid having to do this?

Instead of clicking on the "Advanced" button, click on the "Alternate
Configuration" tab. If the main configuration is set up to use DHCP
and DHCP is not available, the settings will fall back to those in the
Alternate configuration (which you can specify).

Multiple IP addresses only works when the primary network configuration
is not DHCP.

HTH,
John
 
Instead of clicking on the "Advanced" button, click on the "Alternate
Configuration" tab. If the main configuration is set up to use DHCP
and DHCP is not available, the settings will fall back to those in the
Alternate configuration (which you can specify).
That seems to work - thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top