|
|
IP Address Setting (ipsetd)If a static IP address is required, a temporary IP address can be assigned first and then changed into a static one later. A combination of ARP and ping commands is used for the configuration. This is performed with ipsetd deployed as a background service (daemon). The ipsetd service enables you to set a temporary IP address. ipsetd can be implemented automatically during startup (or manually). ipsetd then waits a preset time for the combination of ARP and ping, and terminates independently after that time. After a temporary IP address has been set, the service is terminated. To change the address through ipsetd, the service must be started again. The ipsetd service is already pre-installed in the LinuxBox, and the waiting period is set to 2 minutes. ARP and ping to set the IP addressFrom a Windows or MS-DOS system:
With a UNIX or Linux system:
|
|||||||||||||||||||||
| /etc/conf.d/ipsetd | |
|---|---|
| Structure of ipsetd: | IPSETD_OPTIONS="-i <network interface> -t <seconds> -l <bytes> -e <command>" |
| -i <network interface> | Network interface (here: eth0) |
| -t <seconds> | After this time in seconds, ipsetd stops automatically |
| -l <bytes> | Length of ping to be received in bytes (here: 408). |
| -e <command> | Specified script to be exectued through ipsetd to change the IP address (default /etc/ipsetd.script) |
As specified here, ipsetd behaves as follows:
After the LinuxBox startup a ping of 408 bytes has 120 seconds time to be sent to the LinuxBox.
The IP address of the ping is adopted then, and the script "/etc/ipsetd.script" is started.



Execute 