TCP/IP and DNS settings

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

If i use notebook in my house, the above settings are automatically IP Address.
But while i use in the office...i have to set up manually for the above
subject.

Any better way, so i dont enter the IP manually in the office when i log in?

thank you for your kind help.
TIA.
 
Andri said:
If i use notebook in my house, the above settings are automatically IP Address.
But while i use in the office...i have to set up manually for the above
subject.

Any better way, so i dont enter the IP manually in the office when i log in?

thank you for your kind help.
TIA.

Create command files ("office.bat" and "home.bat") with "netsh"
commands specifying the appropriate network settings:

Office:

netsh interface ip set address <connection> static <ip> <mask>
<gateway> <gateway metric>

Home:

netsh interface ip set address <connection> source=dhcp

Here are examples of those commands:

Office:
netsh interface ip set address "Local Area Connection" static
192.168.0.100 255.255.255.0 192.168.0.254 10

Home:
netsh interface ip set address "Local Area Connection" source=dhcp

Another solution is to use one of these programs to store multiple
network configurations and switch between them easily:

NetSwitcher
http://www.netswitcher.com

MultiNetwork Manager
http://www.globesoft.com/mnm_home.html

Mobile Net Switch
http://www.mobilenetswitch.com
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Andri said:
Thanks for the help. it works and reduces the time for entering the manual IP.

You're welcome!
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Andri - simpler solution sems to be to use the "Alternate Configuration"
option via TCP/IP properties. Regular configuration auto and alternate
static.
 
Andri - simpler solution sems to be to use the "Alternate Configuration"
option via TCP/IP properties. Regular configuration auto and
alternate static.

The "Alternate Configuration" option should work, but it has a
disadvantage. When the computer starts up, the network connection will
try to connect to a DHCP server to get its TCP/IP properties. When
there's no DHCP server on the network (Andri's office), it will take a
minute or so for the DHCP request to time out before switching to the
alternate (static) configuration. The network is unusable during that
time.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Back
Top