pfsense work and after few days , it doesn't work



  • hi
    I installed my PfSense on a DELL server for a corporate network. I created a test vlan, and it works I can connect to internet with my test machine . all work well
    after a day, I can not connect anymore (I did not change anything in my network). I created another Vlan to do the same thing, it works but after a few days it does not work

    with my Pfsense, I can ping 8.8.8.8 (google server) so he can go out to the internet. and he also ping my test machine. but my test machine ( computer )does not connect to the internet (I can't ping the router that goes out to the internet)

    the problem is that it worked before, and after it does not work without changing anything



  • Hi,

    A "time" issue, so look closer at the DHCP.
    Your devices obtain an IP (and gateway, and DNS ? - check these with ipconfig /all)
    DHCP leases are renewed as they should be ?
    This info is confirmed by the DHCP log on pfSense ?

    On pfSense, you kept DNS settings to default, or did you change something ?



  • yes the addresses are assigned by the DHCP, and the test machine gets its address (a VLAN address defined in the DHCP pool) and it also gets the correct mask and the gateway (I check this with the command Ipconfig on my machine ) when I plug in the cable, it gets an address (so the connection is good between my Pfsense and the test machine)

    on Pfsense.how can I see the DHCP Log?

    for the DNS, it is not activated on Pfsense, I use the DNS server of the company



  • So, what is the DNS for a PC device on your VLAN - what was the DNS given by pfSense ?
    (where is ipconfog /all ?)

    Also : can this DNS (IP) be reached ?

    Did you test with nslookup on a device (PC) ?

    pfSense DHCP log is on the log tab Status => System Logs => DHCP

    @bisssane said in pfsense work and after few days , it doesn't work:

    I use the DNS server of the company

    So, tell us more.
    Are devices assigned the IP of this DNS server ?
    Or : all devices ask "pfSense" (they receive the IP of pfSense) and the forwarder on pfeEnse sends all requests to "the DNS server of the company" ?



  • @bisssane
    I think we say that the problem is the DNS when we can not ping or connect with the domain name. when you do not have a DNS server or it is misconfiguring, we can use the IP address instead of the domain name and it must work.
    with my machine I can not ping the next router (with its ip address) and I can not also ping my default gateway



  • @gertjan
    it takes its addrsse with pfsense DHCP (so there is connectivity) but it can not ping it



  • Still waiting for :

    ipconfig /all
    

    Consider :

    @bisssane said in pfsense work and after few days , it doesn't work:

    for the DNS, it is not activated on Pfsense, I use the DNS server of the company

    This can work, but is probably not setup correctly.

    So, is this "DNS company server" on the same LAN as other devices ?
    Do devices on LAN(s) obtain the correct IP address from pfSense as "the DNS server" ? (the ipconfig /all test)
    If the DNS server is on a separate LAN, firewall rules permit traffic to reach the DNS server ?
    Etc etc etc.

    Detail your setup, and you'll have an answer right away.

    ( Btw : know that pfSense can handle DNS just fine and all that with zero config needed ^^)