Wpis z mikrobloga

#linux #sieci #informatyka
Ktoś wie czemu nie pobiera mi adresu dhcp gdy host wstanie przed serverem DHCP,

Feb 11 20:44:50 wdmc dhclient[2420]: Internet Systems Consortium DHCP Client 4.4.1
Feb 11 20:44:50 wdmc dhclient[2420]: Copyright 2004-2018 Internet Systems Consortium.
Feb 11 20:44:50 wdmc dhclient[2420]: All rights reserved.
Feb 11 20:44:50 wdmc dhclient[2420]: For info, please visit [https://www.isc.org/software/dhcp/](https://www.isc.org/software/dhcp/)
Feb 11 20:44:50 wdmc dhclient[2420]:
Feb 11 20:44:50 wdmc dhclient[2420]: Listening on LPF/eth0/00:14:ee:0a:04:3d
Feb 11 20:44:50 wdmc dhclient[2420]: Sending on LPF/eth0/00:14:ee:0a:04:3d
Feb 11 20:44:50 wdmc dhclient[2420]: Sending on Socket/fallback
Feb 11 20:44:50 wdmc dhclient[2420]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Feb 11 20:44:54 wdmc dhclient[2420]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Feb 11 20:45:01 wdmc dhclient[2420]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
Feb 11 20:45:10 wdmc dhclient[2420]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
Feb 11 20:45:19 wdmc dhclient[2420]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
Feb 11 20:45:31 wdmc dhclient[2420]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
Feb 11 20:45:49 wdmc dhclient[2420]: No DHCPOFFERS received.
Feb 11 20:45:49 wdmc dhclient[2420]: No working leases in persistent database - sleeping.

I tak w kółko, gdy zrestartuję hosta to normalnie działa.

Feb 11 21:11:07 wdmc dhclient[2425]: Internet Systems Consortium DHCP Client 4.4.1
Feb 11 21:11:07 wdmc dhclient[2425]: Copyright 2004-2018 Internet Systems Consortium.
Feb 11 21:11:07 wdmc dhclient[2425]: All rights reserved.
Feb 11 21:11:07 wdmc dhclient[2425]: For info, please visit [https://www.isc.org/software/dhcp/](https://www.isc.org/software/dhcp/)
Feb 11 21:11:07 wdmc dhclient[2425]:
Feb 11 21:11:07 wdmc dhclient[2425]: Listening on LPF/eth0/00:14:ee:0a:04:3d
Feb 11 21:11:07 wdmc dhclient[2425]: Sending on LPF/eth0/00:14:ee:0a:04:3d
Feb 11 21:11:07 wdmc dhclient[2425]: Sending on Socket/fallback
Feb 11 21:11:07 wdmc dhclient[2425]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Feb 11 21:11:11 wdmc dhclient[2425]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
Feb 11 21:11:11 wdmc dhclient[2425]: DHCPOFFER of 192.168.12.3 from 192.168.12.1
Feb 11 21:11:11 wdmc dhclient[2425]: DHCPREQUEST for 192.168.12.3 on eth0 to 255.255.255.255 port 67
Feb 11 21:11:11 wdmc dhclient[2425]: DHCPACK of 192.168.12.3 from 192.168.12.1
Feb 11 21:11:12 wdmc dhclient[2425]: bound to 192.168.12.3 -- renewal in 17883 seconds.

.........VLAN 12 ...................... VLAN11/VLAN12
host ------------ dumbap/swich ---------------------router

Wszystko idzie kabelkiem.
Dumbap i router stoją na openwrt
  • 9
  • Odpowiedz
  • Otrzymuj powiadomienia
    o nowych komentarzach

@LosEvilos: no właśnie nie dolatują, samo się dzisiaj naprawiło dhcp przydziela adresy, ale na wszelki wypadek dodałem w dhclient.conf

lease {
interface "eth0";
fixed-address 192.168.12.3;
option
  • Odpowiedz