My thought is,
Create 3 scripts, each with a different IP address. Name them: ip.night, ip.day, ip.unlimited
Edit your crontab and execute them at certain times.
You should then be able to just copy your current configuration to the 3 files and change the IP address.
----------------------------------
2nd idea
In the crontab. execute the command ifconfig eth0 10.0.0.4 255.0.0.0 replacing the IP and subnet with the IPs you wish to use.
<EDIT>
Read the Rules please. Do not double post.
Last edited by musicman_ace; 07-03-2005 at 06:20 AM.
|