PFSense doesn't work
-
My PFSense install does not seem to work. My current setup is
Modem -> WAN(PFsense) -> WRT54G(using LAN PFSense)The PFSense Box is a PII 800Mhz system with 384Mb RAM and a addon NIC used as the LAN interface.
I Know that i'm suppose disable DHCP on my router and plug PFSense into the LAN side of the router but it still doesn't.
Please help me!
if you need more information please let me know i will every thing i can to get the information
-
There isn't enough information provided.
Please elaborate on "does not seem to work". What are you expecting to happen that doesn't happen? pfSense WAN interface doesn't get an IP address from DHCP? Can't login on the console? Can't access the pfSense GUI? etc etc
-
Well i seem to get DHCP address assigned to my Computers but they cannot seem to get a connection to the internet.
in other words my network computers cannot seem to see my modem which is be hide the PFSense box.
-
Most likely guess (given lack of information, please provide more) is that both pfSense and your modem are using 192.168.1.* as their LAN subnet. This cannot work.
Is your pfSense box receiving an address on it's WAN interface from your modem?
What are the addresses and subnet masks for each interface?
Steve
-
In addition to Steve's questions:
1. How are you attempting to "see" the modem and what is reported when you attempt to "see" the modem?
2. Have you verified the network computers are getting a DHCP address from pfSense (is the DHCP address in the correct range?) and have the correct DNS and default gateway? -
stephenw10 you are right both my modem and pfsense are using 192.168.1.* IP's the modem being 192.168.1.1 and the PFSense 192.168.1.2 my router(WRT54G) is 192.168.1.3 the subnet is 255.255.255.0. the DHCP is assigned correctly and is shown in the PFSense web page. The PFSense is not receiving an IP from the modem. The IP range for the DHCP on the PFSense box is from 192.168.1.10 - 192.168.1.50 and the sub is 255.255.255.0.
wallabybob I'm attempting to access the Modems home page using 192.168.1.1 but i get a page not found error. The Modems IP can also not be pinged. The DHCP is assigned correctly in the status of the interface the IP I get is 192.168.1.18 the default gateway is 192.168.1.3(The PFSense Box).
Thanks for being so patient with me this my first post on any forum.
-
stephenw10 you are right both my modem and pfsense are using 192.168.1.* IP's the modem being 192.168.1.1 and the PFSense 192.168.1.2 my router(WRT54G) is 192.168.1.3 the subnet is 255.255.255.0.
You have an invalid configuration. The pfSense WAN interface and LAN interface need to be in distinct IP subnets. I don't know what other gear you have nor how the pfSense WAN interface gets its IP address (static? DHCP? PPP?) so its not obvious which one is likely to be easier to change.
The PFSense is not receiving an IP from the modem.
Should pfSense WAN interface be receiving an IP from the modem?
wallabybob I'm attempting to access the Modems home page using 192.168.1.1 but i get a page not found error.
Because you have an invalid configuration.
The DHCP is assigned correctly in the status of the interface the IP I get is 192.168.1.18 the default gateway is 192.168.1.3(The PFSense Box).
Looks like pfSense DHCP is working OK, but the overall configuration is wrong.
Thanks for being so patient with me this my first post on any forum.
No problem.
Please post the output of pfSense shell command```
/etc/rc.bannerYou have said @Ankur726: > my router(WRT54G) is 192.168.1.3 and @Ankur726: > default gateway is 192.168.1.3(The PFSense Box). Two interfaces (pfSense LAN interface and WRT54G) having the same IP address is also invalid. Again, I don't have enough information to suggest which should be changed, but you want both the WRT54G AND the pfSense LAN interface to be on the same IP subnet but with distinct IP addreses.
-
Okay so i'm going to try to fix this tomorrow i just want to confirm if i understand what to do.
fyi the modem does not hand out IP's it does not have the ability to.
The Modem's internal ip will be 192.168.1.1 on subnet 255.255.255.240
The PFsense internal ip will be 192.168.1.2 on the subnet 255.255.255.240 for the LAN Interface
the WAN will get the external ip from the modem when it dials
The WRT54G's internal ip will be 192.168.1.3 on the subnet 255.255.255.240The PFSense will use PPPoE to connect through the modem because the modem also lacks the ability to dial.
I Also want PFSense to hand out DHCP Address.
I'm hoping this is correct if not please let me know what i should change. Thanks
-
There are a number of things wrong with your suggested configuration.
1. The pfSense LAN and WAN interfaces are on the same subnet. I suggest you read Wikipedia articles on CIDR and/or IP subnetting. Change the pfSense LAN interface to be (say) 192.168.23.1/24 (/24 means means netmask of 255.255.255.0). That means you need to have the WRT54G on the 192.168.23.0/24 subnet. Perhaps it can get its IP address by DHCP. If not, set it to (say) 192.168.23.10/24 with default gateway and DNS the IP address of the pfSense LAN interface.(I have suggested 192.168.23.0/24 because it is well away from the subnet values commonly used by the modems I have encountered.)
2. Enable DHCP server on LAN interface and pick a suitable range of IP addresses for DHCP to hand out, say 192.168.2.33 to 192.168.2.62
3. I am not clear about the modem details. If it is a cable modem you probably want the pfSense WAN interface type to be DHCP (get IP address by DHCP). If it is a xDSL modem/router you probably want the pfSense WAN interface type to be DHCP. If it is a xDSL modem (NOT modem/router - most xDSL modems seem to come configurd as modem/routers) then you probably want to set the pfSense WAN interface type as PPPoE and you will have to enter the PPPoE authentication parameters. If it is something else again you will have to provide more details (make, model, type of service etc).
-
Thanks you so much i will post back here if i have any problems tomorrow.
-
Okay so i tried setting it up again yesterday but I still cannot get a connection to the internet.
I get an IP on the WAN interface of the PFsense box and it does hand out IP's using DHCP but when it does the DHCP client does not recieve the gateway of the WAN interface but rather the IP of the PFSense box -
The DHCP server on pfSense should be handing out IP addresses to your LAN clients, with the pfSense LAN address as the gateway - that is correct. The clients on your LAN will send their packets to pfSense, which will route them wherever they need to go.
The DHCP client on pfSense will ask for an IP address on WAN. An upstream DHCP server on your WAN (your ISP somewhere) gives a WAN IP and WAN gateway for pfSense to use, so it knows how to route out to the internet on WAN.
What you describe sounds like the way it is supposed to work.
What exactly does not work for you now?
What is your pfSense LAN IP and subnet?
What IP address does a LAN client receive?
What WAN IP does pfSense receive from upstream?
Can you ping google DNS (8.8.8.8) from pfSense?
Can you ping the pfSense LAN IP from a LAN client?
Can you ping 8.8.8.8 from a LAN client?… -
I cannot ping anything on the internet not even from the pfsense box but the WAN interface does get an external IP from my isp which changes every time i connect it uses PPPoE. The IP is shown on the dashboard and there is a green box next to it.
The problem then that the traffic from my network does not make it through the pfsense boxes LAN interface to the WAN Interface and i think i'm missing something in the settings but not sure what.
Also if it helps the PFsense box cannot connect to the update website to check for an update even though the WAN is up and is the default gateway for the machine.
-
It would help me to help you if you also answered my other questions.
-
I'm Sorry.
The DHCP range is 192.168.23.10 - 192.168.23.50 The LAN IP is 192.168.23.1/24 The IP from the WAN could be anything for instance this morning it was 69.196.178.192. The client receives the IP 192.168.23.50. And my PFsense box cannot ping anything outside my network neither can any of the clients I tested with multiple clients. My Clients can Ping the LAN Interface of the PFsense box and i can also view the settings page of the pfsense box
-
The additional information provided points to an issue on the WAN side.
Please post the contents of the PPP log (pfSense GUI: Status -> System Logs, PPP tab). and the output of pfsense shell command:```
ifconfig; /etc/rc.banner