This is for fault tolerance in a client/server app. The business says that when the network is unavailable, the app must still run. And it will, provided it doesn't lose it's IP address. The problem is that I'm losing the IP address as soon as I unplug the NIC. Can I force it to use it's last known IP address?
/etc/dhclient.conf
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
request subnet-mask, broadcast-address, routers,
rfc3442-classless-static-routes,
interface-mtu, host-name, domain-name, domain-search,
domain-name-servers, nis-domain, nis-servers,
nds-context, nds-servers, nds-tree-name,
netbios-name-servers, netbios-dd-server,
netbios-node-type, netbios-scope, ntp-servers;
require subnet-mask;
timeout 60;
retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;
lease {
interface "eth0";
fixed-address 10.59.139.21;
}
Relevant system log output is here: http://pastebin.com/XdyeRLdg