• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Problems with DHCP-lease from strange ISP (Telia)

DHCP and DNS
3
10
6.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    johbra
    last edited by Nov 19, 2007, 10:21 PM

    I've been battling this problem for about a month now and i think I've found the solution; though i don't know how to do it in pfSense. My WAN interface is configured as a DHCP-client and what i want to do is: "supersede dhcp-server-identifier 255.255.255.255;".
      Is this possible?

    The server specified in "dhcp-server-identifier" i get in the DHCP-lease from the ISP isn't responding when pfSense is trying to do a "DHCPREQUEST". My thinking is that setting the "dhcp-server-identifier" to a brodcast adress will solve this issue  ;D

    1 Reply Last reply Reply Quote 0
    • J
      johbra
      last edited by Dec 4, 2007, 10:16 PM

      I solved the issue, almost anyways…
        I beleave there is a compability issue between pfsense and the Telias DHCP-servers. It's working 99% of the time if i modify the "$dhclientconf" variable found in "/etc/inc/interfaces.inc" according the whats below:

      $dhclientconf .= <<<eod<br>timeout 1200;
      retry 1;
      select-timeout 0;
      initial-interval 1;
      interface "{$wancfg['if']}" {
      {$dhclientconf_hostname}
      send dhcp-lease-time 60;
      script "/sbin/dhclient-script";
      }

      EOD;</eod<br>

      1 Reply Last reply Reply Quote 0
      • M
        MikaelS
        last edited by Dec 5, 2007, 8:39 PM

        I would try this but after a reboot my changes in "/etc/inc/interfaces.inc" dosent stick.

        PS i Use Bredbandsbolaget.

        1 Reply Last reply Reply Quote 0
        • M
          MikaelS
          last edited by Dec 10, 2007, 4:35 PM

          Bump. How do i do this?
          I would try this since i have similar problems with bredbandsbolaget.

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by Dec 10, 2007, 4:44 PM

            This fix is included in recent snapshots located at:

            http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/updates/

            1 Reply Last reply Reply Quote 0
            • M
              MikaelS
              last edited by Dec 11, 2007, 7:12 PM

              I have upgraded now.
              Will report back after a few days of testing.

              1 Reply Last reply Reply Quote 0
              • J
                johbra
                last edited by Dec 11, 2007, 7:57 PM

                To sullrich: What's a snapshot? Will a snapshot make it into the final release?
                  The thing with the patch above is that the firewall is REALLY persintent in waiting for an IP adress and does that for 20 minutes. I beleave this would make pfsense take more than 20 minutes to boot if the WAN port isn't connected or for some other reason can't get an ip. And that's not good right?

                1 Reply Last reply Reply Quote 0
                • S
                  sullrich
                  last edited by Dec 11, 2007, 8:07 PM

                  @johbra:

                  To sullrich: What's a snapshot? Will a snapshot make it into the final release?
                    The thing with the patch above is that the firewall is REALLY persintent in waiting for an IP adress and does that for 20 minutes. I beleave this would make pfsense take more than 20 minutes to boot if the WAN port isn't connected or for some other reason can't get an ip. And that's not good right?

                  http://snapshots.pfsense.com/FreeBSD6/RELENG_1_2/updates/

                  1 Reply Last reply Reply Quote 0
                  • M
                    MikaelS
                    last edited by Dec 11, 2007, 9:29 PM

                    Sorry to say but it made no diffrence  :'(

                    Dec 11 22:10:51 dhcpd: uid lease 192.168.0.199 for client 00:02:e3:12:7a:10 is duplicate on 192.168.0/24
                    Dec 11 22:04:05 dhclient[295]: bound to 85.228.247.245 – renewal in 1800 seconds.
                    Dec 11 22:04:04 dhclient[295]: DHCPACK from 85.228.240.1
                    Dec 11 22:04:04 dhclient[295]: DHCPREQUEST on ste0 to 255.255.255.255 port 67
                    Dec 11 22:02:56 dhclient[295]: DHCPREQUEST on ste0 to 172.21.248.97 port 67
                    Dec 11 22:02:03 last message repeated 3 times
                    Dec 11 22:00:00 dhclient[295]: DHCPREQUEST on ste0 to 172.21.248.97 port 67
                    Dec 11 21:59:23 dhclient[295]: DHCPREQUEST on ste0 to 172.21.248.97 port 67
                    Dec 11 21:58:47 dnsmasq[533]: reading /var/dhcpd/var/db/dhcpd.leases
                    Dec 11 21:57:52 last message repeated 2 times
                    Dec 11 21:56:37 last message repeated 10 times
                    Dec 11 21:54:27 last message repeated 4 times
                    Dec 11 21:53:49 dhclient[295]: DHCPREQUEST on ste0 to 172.21.248.97 port 67

                    1.2-RC3
                    built on Tue Dec 11 11:52:19 EST 2007

                    1 Reply Last reply Reply Quote 0
                    • M
                      MikaelS
                      last edited by Jan 27, 2008, 2:39 PM

                      Any news on this?

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.