I have kicked the idea of just using ifconfig to perform the relevant changes but it seems to be counter productive as we will not be able to retrieve the information when later configuring the interface.
I think ifconfig is the way to go, and I don't understand your concern. Which information exactly can't be retrieved later? If it's connected the alias you just created - you know its name in your program already, so no need to retrieve that later on.
In reply to Re: Setting interface alias with perl
by moritz
in thread Setting interface alias with perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |