Php failing to add default route
-
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
-
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.
-
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?
-
-
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
-
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
-
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
-
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
-
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