Problems? Is your data what you think it is? | |
PerlMonks |
Perl script to run ipconfig command command prompt, fetch the ip address assign to specific network interface and add a route in command prompt for this ip?by Anonymous Monk |
on Jun 24, 2015 at 11:55 UTC ( [id://1131791]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: Perl script to run ipconfig command command prompt, fetch the ip address assign to specific network interface and add a route in command prompt for this ip? i have 3 NIC card connected to windows PC. IP of one NIC card is getting ip from DHCP, so ip is changing when ever i m rebooting. i have to add a route for this IP in command prompt. So need a perl script to add a route for this new ip through script. IPCONFIG output is like this
the route command is like this
Back to
Seekers of Perl Wisdom
|
|