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