из
man dhcpcd:
-s ipaddr Sends DHCP_REQUEST message requesting to lease IP address
ipaddr. The ipaddr parameter must be in the form
xxx.xxx.xxx.xxx. This effectively doubles the timeout period,
as if we fail to get this IP address then we enter the INIT
state and try to get any IP address.
-l leasetime Specifies (in seconds) the recommended lease time to the server.
(Note that the server can override this value if it sees fit).
This value is used in the DHCP_DISCOVER message.
Use -1 for an
infinite lease time. We don't request a specific lease time by
default. If we do not receive a lease time in the DHCP_OFFER
message then we default to 1 hour.
Сначала: как убедиться? Убить все процессы dhcpcd, запустить из консоли ручками и проверить: dhcpcd [options] eth0. В опциях прежде всего попробовать -s <IP> -1 (единица - бесконечный lifetime). А вот если заработает, как надо...
UPD: Нашёл!
![Улыбка :-)](https://forum.altlinux.org/Smileys/default/smiley.gif)
) Подобранные опции запуска dhcpcd нужно поставить в переменную
DHCP_ARGS в файле options вашего интерфейса. Например:
/etc/net/ifaces/eth0/options:
DHCP_ARGS=-1
Замените везде
eth0 на нужный интерфейс.
Исходил из
этого и
этого. Как поставлю себе на VM альт, буду знать больше.
![Улыбка :-)](https://forum.altlinux.org/Smileys/default/smiley.gif)
)) А вам уже доступна вся документация:
rpmquery -d etcnet;
rpmquery -d dhcpcd ;)