Netprofiles pode ajudá-lo na primeira parte.
Features
- Save your network settings as profiles.
- Automatically activate wireless profiles when specified wireless connections are detected. (XP only)
- Change IP Address, Subnet Mask, Default Gateway, Primary and Secondary DNS Servers, WINS Server, and DHCP settings with the click of a button.
- Specifiy different mapped drives for each profile.
- Change your default printer based on which profile you're currently using.
- Automatically change your profile via program shortcuts created with Net Profiles.
- Change the default homepage for Internet Explorer, Firefox, and Opera.
- Proxy settings for Internet Explorer, Firefox, and Opera.
- Run a user-defined list of programs when a profile is activated.
- Maintain seperate desktop wallper for each profile.
- Change screen resolutions and color quality when profiles are activated.
- Can be easily translated into other languages using the enclosed XML language file.
Eu recomendaria usar algo diferente de lote para a segunda parte, pois seria mais fácil controlar a lógica. Algo como o Net :: Ping do Perl pode ajudá-lo.