Hi, 

I have a problem with pfSense's dhcp server since 0.85.x (I guess it wasn't an 
issue in 0.84.6).
I have two lan interfaces and  both serves as dhcp server, of course not 
overlapping. 
My problem is that on lan2 (opt2 - xl0) a dynamic ip address is always issued 
despite it 
shouldn't be because only fixed leases expected. This is the only address I 
have to
configure for the dhcp servers range. What's more strange for that mac address 
(00:12:79:ad:c6:fc)
is a fixed lease reserved on the other (fxp0) interface. Which as I see in the 
logs once offered,
but the other address picked up.
This never happened on the other interface.

 In syslog I have:
############################################################
Sep 28 14:35:04 last message repeated 2 times   
Sep 28 14:35:03 kernel: arp: 192.168.2.254 is on xl0 but got reply from 
00:12:79:ad:c6:fc on fxp0       
Sep 28 14:34:49 last message repeated 5 times   
Sep 28 14:34:36 dhcpd: send_packet: Invalid argument
############################################################
and in dhcp logs:
############################################################
Sep 28 14:35:03 dhcpd: DHCPNAK on 192.168.2.254 to 00:12:79:ad:c6:fc via fxp0   
Sep 28 14:35:03 dhcpd: DHCPREQUEST for 192.168.2.254 (192.168.2.4) from 
00:12:79:ad:c6:fc (TRC-dc5100) via fxp0: wrong network. 
Sep 28 14:35:03 dhcpd: DHCPACK on 192.168.2.254 to 00:12:79:ad:c6:fc 
(TRC-dc5100) via xl0       
Sep 28 14:35:03 dhcpd: DHCPREQUEST for 192.168.2.254 (192.168.2.4) from 
00:12:79:ad:c6:fc (TRC-dc5100) via xl0  
Sep 28 14:35:03 dhcpd: DHCPOFFER on 192.168.0.22 to 00:12:79:ad:c6:fc via fxp0  
Sep 28 14:35:03 dhcpd: DHCPDISCOVER from 00:12:79:ad:c6:fc via fxp0     
Sep 28 14:35:03 dhcpd: DHCPOFFER on 192.168.2.254 to 00:12:79:ad:c6:fc 
(TRC-dc5100) via xl0     
Sep 28 14:35:03 dhcpd: DHCPDISCOVER from 00:12:79:ad:c6:fc via xl0      
Sep 28 14:34:51 dhcpd: DHCPRELEASE of 192.168.2.254 from 00:12:79:ad:c6:fc via 
fxp0 (found)     
Sep 28 14:34:51 dhcpd: DHCPRELEASE of 192.168.2.254 from 00:12:79:ad:c6:fc 
(TRC-dc5100) via xl0 (found) 
Sep 28 14:34:49 dhcpd: send_packet: Invalid argument    
Sep 28 14:34:49 dhcpd: DHCPACK on 192.168.2.254 to 00:12:79:ad:c6:fc 
(TRC-dc5100) via fxp0      
Sep 28 14:34:49 dhcpd: DHCPREQUEST for 192.168.2.254 from 00:12:79:ad:c6:fc 
(TRC-dc5100) via fxp0       
Sep 28 14:34:49 dhcpd: send_packet: Invalid argument
######################################################################################
My two lan inrefaces are as below:
<interfaces>
        <lan>
                <if>fxp0</if>
                <ipaddr>192.168.0.3</ipaddr>
                <subnet>24</subnet>
                <media/>
                <mediaopt/>
                <bridge/>
                <bandwidth>100</bandwidth>
                <bandwidthtype>Mb</bandwidthtype>
        </lan>
        <opt2>
                <descr>LAN2</descr>
                <if>xl0</if>
                <bridge/>
                <enable/>
                <bandwidth>100</bandwidth>
                <bandwidthtype>Mb</bandwidthtype>
                <ipaddr>192.168.2.4</ipaddr>
                <subnet>24</subnet>
                <gateway/>
                <spoofmac/>
                <mtu/>
        </opt2>
</interfaces>

and dhcp servers :
<dhcpd>
        <lan>
                <range>
                        <from>192.168.0.250</from>
                        <to>192.168.0.250</to>
                </range>
                <defaultleasetime/>
                <maxleasetime/>
                <denyunknown/>
                <failover_peerip/>
                <gateway/>
                <staticmap>
                        <mac>00:14:c2:0b:95:49</mac>
                        <ipaddr>192.168.0.21</ipaddr>
                        <descr>lvc-felsorec</descr>
                </staticmap>
                <staticmap>
                        <mac>00:08:02:d8:1f:eb</mac>
                        <ipaddr>192.168.0.130</ipaddr>
                        <descr>I.I. nc6000</descr>
                </staticmap>
                <staticmap>
                        <mac>00:12:79:ad:c6:fc</mac>
                        <ipaddr>192.168.0.22</ipaddr>
                        <descr>dc5100 teszt</descr>
                </staticmap>
                <staticarp/>
                <enable/>
                <dnsserver>192.168.1.5</dnsserver>
                <dnsserver>192.168.1.1</dnsserver>
        </lan>
        <opt2>
                <range>
                        <from>192.168.2.254</from>
                        <to>192.168.2.254</to>
                </range>
                <defaultleasetime/>
                <maxleasetime/>
                <failover_peerip/>
                <gateway/>
                <staticmap>
                        <mac>00:08:02:d8:ae:23</mac>
                        <ipaddr>192.168.2.130</ipaddr>
                        <descr>Kris nc6000</descr>
                </staticmap>
                <staticarp/>
                <denyunknown/>
                <enable/>
                <dnsserver>192.168.3.3</dnsserver>
                <dnsserver>192.168.3.1</dnsserver>
        </opt2>
</dhcpd>


-- 
This email is made from 100% recycled electrons

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to