Can't Get Static IP's Working
-
disclaimer: I am new to pfSense and networking in general.
I recently received 8 static ips ("5 usable") from my ISP. I set everything up, told pfSense to obtain an DHCP address from the WAN and poof I had internet. Yay.
However, when I went to configure the WAN interface and told it to use a static IP, my internet connection went away. When I switch back to DHCP, the connection comes back. I am obviously doing something wrong, but I don't know what. Here's the info I received from my ISP:
Address Range: x.x.x.2 - x.x.x.9 Network ID: x.x.x.2 Default Gateway: x.x.x.3 Subnet: 255.255.255.248 Usable IPs: x.x.x.4 - x.x.x.8
I've entered in the x.x.x.3 address as the gateway, and tried just about every other ip as my static IP. I've entered in /32 and well as /29. When I leave DHCP on, the WAN obtains the IP x.x.x.5.
I'm trying to set this up so that most the users on my LAN will use the .4 address, while the remaining 4 IPs will be mapped to various servers.
Can anyone tell me what I'm doing wrong?
-
That information does not make sense, if you have a /29 network x.x.x.0 - x.x.x.7 then it should look more like this:
Address range: x.x.x.0 - x.x.x.7
Network address: x.x.x.0
Subnet: 255.255.255.248 ( /29)
Broadcast address: x.x.x.7
Usable addresses: x.x.x.1 - x.x.x.6, one of these used by the gateway address leaving 5 addresses usable.How does your WAN setup look when it has an address assigned with DHCP?
-
Actually, the ips are 192-199, if that seems more logical. Sorry if that was confusing.
When it configures through DHCP, it grabs the 195 address and and the gateway is set at 193.
-
With DHCP you get one or more addresses for DNS forwarders, you're probably just missing them in your static address setup. System->General Setup->DNS servers if I remember right.
-
After some more research, I've discovered that my ISP requires that I obtain the static IP's through DHCP for some odd reason. I was not aware of this when I signed up for the service. I am not entirely sure what the implications of this are quite yet.
If I want to use all five of my IP's without connecting 5 different machines to the incoming line, should I set up 5 virtual IP's, or should I see which has been assigned to the router and then only create the other 4 as virtual.
-
I believe some people have gotten this to work by adding 5 vlan interfaces and setting them all for DHCP. I'd do a forum/docs search going down that route and see if you can turn up better results. I seem to recall it coming up within the past two weeks.