Creating resolv.conf every minute
-
Sorry but the other thread is closed, so I had make a new one.
I compared the logs from the pfsense and my VDSL modem because resolv.conf is created every minute. And I think the problem is somewhere in the pfsense software. The lease itself is 8 hours, but the pfsense request every minute a new one.
pfsense Log:
Apr 3 13:45:26 dhclient: Creating resolv.conf
Apr 3 13:45:26 dhclient: RENEW
Apr 3 13:44:26 dhclient: Creating resolv.conf
Apr 3 13:44:26 dhclient: RENEW
Apr 3 13:43:27 dhclient: Creating resolv.conf
Apr 3 13:43:26 dhclient: RENEW
Apr 3 13:42:26 dhclient: Creating resolv.conf
Apr 3 13:42:26 dhclient: RENEW
Apr 3 13:41:26 dhclient: Creating resolv.conf
Apr 3 13:41:26 dhclient: RENEWVDSL modem Log:
4/3/11 01:28:16 PM DHCP: Lease Rebind (dhms) : 00:01:30:00
4/3/11 01:28:16 PM DHCP: Lease Renew (dhms) : 00:01:00:00
4/3/11 01:28:16 PM DHCP: Lease Period (dhms) : 00:08:00:00
4/3/11 01:28:16 PM DHCP: Domain Name : NULL (Default)
4/3/11 01:28:16 PM DHCP: Secondary DNS Addr : 195.186.004.162
4/3/11 01:28:16 PM DHCP: Primary DNS Address : 195.186.001.162
4/3/11 01:28:16 PM DHCP: IP Gateway Address : 178.199.240.001
4/3/11 01:28:16 PM DHCP: IP Subnet : 178.199.240.000
4/3/11 01:28:16 PM DHCP: IP Net Mask : 255.255.252.000
4/3/11 01:28:16 PM DHCP: IP Address : 178.199.241.140
4/3/11 01:28:16 PM DHCP: Ethernet HW Address : 00-21-43-53-bd-31
4/3/11 01:28:16 PM DHCP: Interface : ENWAN1
4/3/11 01:28:16 PM DHCP: === Client Acquired Net Parameters ===
4/3/11 12:28:52 PM DHCP: Lease Rebind (dhms) : 00:01:30:00
4/3/11 12:28:52 PM DHCP: Lease Renew (dhms) : 00:01:00:00
4/3/11 12:28:52 PM DHCP: Lease Period (dhms) : 00:08:00:00
4/3/11 12:28:52 PM DHCP: Domain Name : NULL (Default)
4/3/11 12:28:52 PM DHCP: Secondary DNS Addr : 195.186.004.162
4/3/11 12:28:52 PM DHCP: Primary DNS Address : 195.186.001.162
4/3/11 12:28:52 PM DHCP: IP Gateway Address : 178.199.240.001
4/3/11 12:28:52 PM DHCP: IP Subnet : 178.199.240.000
4/3/11 12:28:52 PM DHCP: IP Net Mask : 255.255.252.000
4/3/11 12:28:52 PM DHCP: IP Address : 178.199.241.140
4/3/11 12:28:52 PM DHCP: Ethernet HW Address : 00-21-43-53-bd-31
4/3/11 12:28:52 PM DHCP: Interface : ENWAN1
4/3/11 12:28:52 PM DHCP: === Client Acquired Net Parameters ===
4/3/11 11:29:28 AM DHCP: Lease Rebind (dhms) : 00:01:30:00
4/3/11 11:29:28 AM DHCP: Lease Renew (dhms) : 00:01:00:00
4/3/11 11:29:28 AM DHCP: Lease Period (dhms) : 00:08:00:00
4/3/11 11:29:28 AM DHCP: Domain Name : NULL (Default)
4/3/11 11:29:28 AM DHCP: Secondary DNS Addr : 195.186.004.162
4/3/11 11:29:28 AM DHCP: Primary DNS Address : 195.186.001.162
4/3/11 11:29:28 AM DHCP: IP Gateway Address : 178.199.240.001
4/3/11 11:29:28 AM DHCP: IP Subnet : 178.199.240.000
4/3/11 11:29:28 AM DHCP: IP Net Mask : 255.255.252.000
4/3/11 11:29:28 AM DHCP: IP Address : 178.199.241.140
4/3/11 11:29:28 AM DHCP: Ethernet HW Address : 00-21-43-53-bd-31 -
Back on 1.2.3-RELEASE is everyting ok. No DHCP requests every minute. So it is pfsense 2.0….
-
Out of curiosity, are you spoofing a mac address on that WAN?
-
No. What I had to do is to set up IP Passthrough on my VDSL router (Motorola Netopia 7357-84, http://www.netopia.com/swisscom/firmwareA.html). If I bridge the VDSL router, the internet stopped working every about 2 weeks. Then I had to reboot the pfsense. With this IP Passtrough I have a stable internet within sevaral month (on pfsense V1.2.3)…