LINUX.ORG.RU

dhcpcd не хватает статику.


0

0

Дистрибутив slackware 13.0, IP-адрес присваивается по маку, почему то dhcpcd его не получает:
Oct 4 04:13:55 bastile logger: /etc/rc.d/rc.inet1: /sbin/ifconfig eth1 down
Oct 4 04:13:55 bastile logger: /etc/rc.d/rc.inet1: /sbin/ifconfig lo down
Oct 4 04:13:55 bastile logger: /etc/rc.d/rc.inet1: /sbin/ifconfig lo 127.0.0.1
Oct 4 04:13:55 bastile logger: /etc/rc.d/rc.inet1: /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
Oct 4 04:13:55 bastile logger: /etc/rc.d/rc.inet1: /sbin/dhcpcd -t 10 -h 172.22.37.254 eth0
Oct 4 04:13:55 bastile dhcpcd[5840]: eth0: dhcpcd 3.2.3 starting
Oct 4 04:13:55 bastile dhcpcd[5840]: eth0: hardware address = 00:00:21:2b:4b:bb
Oct 4 04:13:55 bastile dhcpcd[5840]: eth0: DUID = 00:01:00:01:12:59:ee:7b:00:00:21:2b:4b:bb
Oct 4 04:13:55 bastile kernel: eth0: link up, 10Mbps, half-duplex, lpa 0x0000
Oct 4 04:13:55 bastile dhcpcd[5840]: eth0: broadcasting for a lease
Oct 4 04:13:55 bastile dhcpcd[5840]: eth0: offered 172.22.37.211 from 172.22.100.1
Oct 4 04:13:55 bastile dhcpcd[5840]: eth0: checking 172.22.37.211 is available on attached networks
Oct 4 04:13:56 bastile dhcpcd[5840]: eth0: leased 172.22.37.211 for 14400 seconds
Oct 4 04:13:56 bastile dhcpcd[5840]: eth0: adding IP address 172.22.37.211/24
Oct 4 04:13:56 bastile dhcpcd[5840]: eth0: adding route to 169.254.0.0/16 metric 0
Oct 4 04:13:56 bastile dhcpcd[5840]: eth0: exiting

а dhclient получает все правильно:
Oct 4 04:16:21 bastile dhclient: Internet Systems Consortium DHCP Client V3.1.2p1
Oct 4 04:16:21 bastile dhclient: Copyright 2004-2009 Internet Systems Consortium.
Oct 4 04:16:21 bastile dhclient: All rights reserved.
Oct 4 04:16:21 bastile dhclient: For info, please visit http://www.isc.org/sw/dhcp/
Oct 4 04:16:21 bastile dhclient:
Oct 4 04:16:22 bastile dhclient: Listening on LPF/eth0/00:00:21:2b:4b:bb
Oct 4 04:16:22 bastile dhclient: Sending on LPF/eth0/00:00:21:2b:4b:bb
Oct 4 04:16:22 bastile dhclient: Sending on Socket/fallback
Oct 4 04:16:25 bastile dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Oct 4 04:16:25 bastile dhclient: DHCPACK from 172.22.37.254
Oct 4 04:16:25 bastile dhclient: bound to 172.22.37.15 -- renewal in 6638 seconds.

Вопрос: как заставить dhcpcd получать правильный ip?

★★★★★
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.