Hi,
The interface ure0 is the gateway to the Internet, connected to the ISP. --------------------- $ cat hostname.ure0 inet autoconf --------------------- Somehow, when this interface loses the IP, the lease is not renewed. --------------------- # rcctl get dhcpd dhcpd_class=daemon dhcpd_execdir= dhcpd_flags=em0 dhcpd_logger= dhcpd_rtable=0 dhcpd_timeout=30 dhcpd_user=root --------------------- $ cat dhcpd.conf option domain-name "home.lan"; option domain-name-servers 192.168.1.253; max-lease-time 4800; default-lease-time 1200; subnet 192.168.1.0 netmask 255.255.255.0 { option routers 192.168.1.253; range 192.168.1.100 192.168.1.200; host c1 { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address 192.168.1.7; } host c2 { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address 192.168.1.12; option domain-name-servers 192.168.1.253; } host c3 { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address 192.168.1.20; } } --------------------- The file /var/log/daemon show many 'sendto: Permission denied' for dhcpleased --------------------- Feb 17 05:19:32 comp1 ntpd[59884]: DNS lookup tempfail Feb 17 05:29:43 comp1 last message repeated 9 times Feb 17 05:34:12 comp1 last message repeated 5 times Feb 17 05:34:45 comp1 dhcpleased[11074]: sendto: Permission denied Feb 17 05:34:45 comp1 dhcpleased[11074]: bpf_send_packet: writev: Network is down Feb 17 05:35:32 comp1 ntpd[59884]: DNS lookup tempfail Feb 17 05:36:36 comp1 ntpd[59884]: DNS lookup tempfail Feb 17 05:38:40 comp1 last message repeated 2 times Feb 17 05:45:23 comp1 last message repeated 9 times Feb 17 05:46:00 comp1 dhcpleased[11074]: sendto: Permission denied Feb 17 05:46:00 comp1 dhcpleased[11074]: bpf_send_packet: writev: Network is down Feb 17 05:46:54 comp1 ntpd[59884]: DNS lookup tempfail Feb 17 05:47:21 comp1 ntpd[59884]: DNS lookup tempfail Feb 17 05:48:31 comp1 last message repeated 2 times Feb 17 05:51:11 comp1 last message repeated 2 times Feb 17 05:51:37 comp1 dhcpleased[11074]: sendto: Permission denied Feb 17 05:51:37 comp1 dhcpleased[11074]: bpf_send_packet: writev: Network is down Feb 17 05:51:42 lenovo ntpd[59884]: DNS lookup tempfail --------------------- # dhcpleasectl ure0 . ure0 [Bound] inet 8.x.x.x netmask 255.255.255.0 default gateway 8.x.x.1 nameservers 100.x.x.x 100.x.x.z lease 60 minutes dhcp server 15.x.x.x --------------------- # rcctl ls failed shows nothing --------------------- # rcctl ls stopped | grep dh dhcrelay dhcrelay6 --------------------- I must be missing some configuration, but can't find out what. I've searched the web and it seems that I could add a '!dhclient' line to file /etc/hostname.ure0, but it's not the default way of doing this. What is wrong? Thanks, Luis Mendes