Cannot connect to the internet using static ipv4
-
We are setuping our server room and our ISP is providing internet to us by fiber connection and ISP gave us following information:
Network xxx.xxx.224.128 / 25
Gateway xxx.xxx.224.129
DNS xxx.xxx.194.2 and xxx.xxx.194.3Assigned network is static and not dynamic.
We don't have proper router so I installed PFSense to one of our rack servers and installed Intel 10Gb SFP card on it.
After PFSense installed I configured wan (lx1 what is up) to be xxx.xxx.224.130 / 25 and setted gateway to be xxx.xxx.224.129.
For LAN I configured 192.168.1.1/24 network and I planed to use 1 to 1 NAT for other addresses after LAN has been configured completly.
Now I have this problem that I cannot connect to internet or ping 8.8.8.8 even if WAN settings seems to be right. What I am missing or did I missconfigure something?
I have played arund and tested some suggestions that google gave me but no luck so far. Some point I was able to ping gateway but no further than that.
-
@videosambo said in Cannot connect to the internet using static ipv4:
We are setuping our server room and our ISP is providing internet to us by fiber connection and ISP gave us following information:
Network xxx.xxx.224.128 / 25
Gateway xxx.xxx.224.129
DNS xxx.xxx.194.2 and xxx.xxx.194.3Is that all you got?
If the /25 subnet is not routed to the primary WAN IP you need to add each unique IP of the subnet as type IP alias to the WAN interface.
I think it would be easier to get an additional IP and let the ISP route the subnet to it. -
@viragomann Do you think this is part of the problem why I cant connect to outside world?
-
@videosambo
Yes, when using the NAT 1:1. However, if you disable the 1:1 rule and if the outbound NAT is in automatic mode, you should get internet access though. -
I have done some researching why I cant get connection to outside world or to gateway and looks like the problem is in isp gateway because when I try to ping something, tcpdump shows only arp discovery packets and no response for them. Also I dont see much trafic between gateway and router so I think the problem is on ISP side this time. I'l update this thread when I get more information
-
The problem was on ISP side. All is good now