DHCP Server not working?



  • Hi,

    Have just done a fresh install, using http://snapshots.pfsense.org/FreeBSD_RELENG_8_3/amd64/pfSense_RELENG_2_1/livecd_installer/pfSense-LiveCD-2.1-RC0-amd64-20130612-1823.iso.gz

    LAN subnet is configured as 192.168.65.0/24, with the pfsense having 192.168.65.1
    WAN is PPPoE, and is connected - pfsense can ping the internet.

    DHCP server is configured with 192.168.65.100 - 192.168.65.199, all other settings are blank.

    Under System general setup, DHCP Servers are set to google, using WAN_PPPOE as gateway.

    Using windows 8 however, DHCP is not working as expected:

    C:\Users\james_000>ipconfig /renew
    Windows IP Configuration

    Ethernet adapter Ethernet:
      IPv4 Address. . . . . . . . . . . : 192.168.65.100
      Subnet Mask . . . . . . . . . . . : 255.255.255.0
      Default Gateway . . . . . . . . . : 0.0.0.0
                                          192.168.65.1

    C:\Users\james_000>route print

    Interface List
    12…1c 6f 65 f9 ea 70 ......Realtek PCIe GBE Family Controller
     1...........................Software Loopback Interface 1
    14...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
    15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2

    IPv4 Route Table

    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
             0.0.0.0          0.0.0.0         On-link    192.168.65.100     25
             0.0.0.0          0.0.0.0     192.168.65.1   192.168.65.100     10
           127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
           127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
     127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
         169.254.0.0      255.255.0.0         On-link    192.168.65.100     30
     169.254.255.255  255.255.255.255         On-link    192.168.65.100    266
        192.168.65.0    255.255.255.0         On-link    192.168.65.100    266
      192.168.65.100  255.255.255.255         On-link    192.168.65.100    266
      192.168.65.255  255.255.255.255         On-link    192.168.65.100    266
           224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
           224.0.0.0        240.0.0.0         On-link    192.168.65.100    266
     255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
     255.255.255.255  255.255.255.255         On-link    192.168.65.100    266

    Persistent Routes:
     None

    IPv6 Route Table

    Active Routes:
    If Metric Network Destination      Gateway
     1    306 ::1/128                  On-link
     1    306 ff00::/8                 On-link

    Persistent Routes:
     None

    C:\Users\james_000>ping 8.8.8.8

    Pinging 8.8.8.8 with 32 bytes of data:
    PING: transmit failed. General failure.
    PING: transmit failed. General failure.
    PING: transmit failed. General failure.

    Ping statistics for 8.8.8.8:
       Packets: Sent = 3, Received = 0, Lost = 3 (100% loss),
    Control-C

    No clue where windows 8 is getting the 0.0.0.0 gateway from.

    Also the dhcp server doesnt appear to be giving out DNS server ips.

    Once configured manually, the connection is fine and I can access the net as normal.



  • Ok, so after some further testing, this issue repeats itself on my windows 8 desktop.

    Windows XP, Windows server 2012, OpenSuse and my VOIP phone get an address properly.
    My pc however still gets 0.0.0.0 as a gateway address, and is unable to ping anything outside the lan.

    Im guessing this must be an issue with my desktop, which is windows 8 pro x64, and has virtualbox installed.

    I am just installing a vm with windows 8 to see if it is repeatable there.

    Glad to report however that dhcp does appear to be working properly on everything other than my desktop! :)