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

    Php failing to add default route

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    8 Posts 3 Posters 2.4k Views
    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.
    • B Offline
      berrick
      last edited by

      Hi hope some one can offer some help as I have run out of ideas…

      I have a jailbroke BT HH v2 which I have configured as a bridge, everything disabled with the wan port of the firewall in its dmz.

      I have configured the wan interface in pfsense to get IP address from DHCP. When I look at the interface status I can see this interface has got an IP address from my ISP (verified as correct) and DNS addresses. The default gateway is even listed but i cant ping out through pfsense or from the commandline of the box running pfsense.

      Default gateways show as online (I have disabled gateway monitoring to stop arpresolve: messages about gateway)

      when I look in the system logs I can see php doing its thing trying to add the default gateway but the last entry from php states '.sbin/route change -route default 217.32.143.36' returned an exit code '1' due to it being unreachable. I guess because it isn't on the same subnet as the DHCP IP address handed out by the ISP.

      Any help appreciated

      1 Reply Last reply Reply Quote 0
      • W Offline
        wallabybob
        last edited by

        @berrick:

        I guess because it isn't on the same subnet as the DHCP IP address handed out by the ISP.

        That would be a problem. I guess upstream is expecting downstream to use PPP rather than DHCP. PPP being point-to-point won't have a problem with the IP addresses in different subnets.

        What is the subnet mask in the DHCP acquired address?

        I'd guess BT is British Telecom and a jailbroke BT HH v2 is some sort of tweaked modem. Beyond that i have no idea if it normally talks PPPox upstream or uses DHCP to get its configuration.

        1 Reply Last reply Reply Quote 0
        • B Offline
          berrick
          last edited by

          Thanks for the relpy.

          • BT uses PPPoA

          • I cant confirm the subnet mask currently but assume most likely it is /29 or /30

          • BT locked these Home Hubs to stop access to the commandline. Only tweaked to allow access to the Cli

          • BT dynamically asign IP config details over PPPoA for HH adsl connection

          Does this help you to help me?

          1 Reply Last reply Reply Quote 0
          • stephenw10S Offline
            stephenw10 Netgate Administrator
            last edited by

            A lot of people 'jailbrake' the home hub in order to use it with another ISP. However from your comments it looks as though you are still with BT? If so what is doing the PPP, HH or pfSense?

            Steve

            1 Reply Last reply Reply Quote 0
            • B Offline
              berrick
              last edited by

              Aye, I'm still with BT not much option around here.

              Any ways I have cheated and got the default gateway installed in the routing table though I had to add it manually.

              Will see if it is working correctly when I start adding port forward rules in NAT

              1 Reply Last reply Reply Quote 0
              • B Offline
                berrick
                last edited by

                Nope still cant get pfsense to work.

                I was able to get to the internet for a couple of hours through the firewall but no NAT rules worked!!

                I rebooted and manually re entered the the route as before but it didn't allow traffic through so I thought. The non time expiring ping I had to the internet continually failing to reply. After checking everything I could think of decided that it should work. When I opened a browser I was able to browse the internet…... ??? but the ping still said no.

                At this point I gave up.... has anyone gotten this to work in the UK with BT in a similar way to that I trying to get it to work. I could really do with some pointers

                1 Reply Last reply Reply Quote 0
                • stephenw10S Offline
                  stephenw10 Netgate Administrator
                  last edited by

                  I have, I think, every HH except the first one. However I haven't jailbroken any of them, but I could for a test. The only one I'm using currently is a HH3 and I'm only using it as an 802.11n access point.

                  However I used to use the HH2 in a double NAT configuration with pfSense 1.2.3 (because it could only handle one pppoe session). I switched to a Draytek Vigor 120 when pfSense 2.0 was released.

                  If I were trying to set this up I would either just have a doulbe NAT config or try to set the HH as a pppoa/pppoe bridge. I didn't think it could do that though.  :-\

                  That's why I'm confused about how you have it configured. What device is sending the username and password?

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    berrick
                    last edited by

                    FINALLY!!

                    After coming close to loosing it and taking a chain saw to my router I decided it was rtfm time. I don't find the cli on the HH very easy to get to grips with but managed to get all traffic sent to one IP address. As well as this the BT HH wasn't playing fair as the web gui wasn't doing as I told it too with the benefit of loking at the cli so I performed a factory default on it.

                    Now the router is configured the way I was trying to get it configured via the web gui, cept it all works even port forwarding.

                    Lets hope it stays that way

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