Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to reset interface for pfsense

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 683 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jimfreeze
      last edited by

      I woke up this morning and my router was not working.
      I checked the etc/hosts file, and instead of seeing

       cat /etc/hosts
      127.0.0.1	localhost localhost.home.arpa
      ::1	localhost localhost.home.arpa
      192.168.100.1	pfSense.home.arpa pfSense
      

      I saw this

       cat /etc/hosts
      127.0.0.1	localhost localhost.home.arpa
      ::1	localhost localhost.home.arpa
      192.168.10.1	pfSense.home.arpa pfSense
      

      The interface for the firewall had switched to LAN3.
      That's great, but LAN3 was not connected to anything.

      I don't see a way to reset the interface. Can someone give me some insight on this?

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @jimfreeze
        last edited by

        @jimfreeze If you have a backup or the backup config exists on disk you can restore.

        Interfaces can be assigned in the GUI or via the console menu.

        192.168.1.1 is the default IP. Was 192.168.10.1 a typo somewhere?

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        J 1 Reply Last reply Reply Quote 0
        • J
          jimfreeze @SteveITS
          last edited by

          @steveits Hi.

          Thank you for the reply.

          So, the IP I had set was 192.168.100.1

          I see that I can make assignments of a named interface to a physical port.

          What I don't see is how pfsense selects an interface for it's domain.

          It was using my bridged interface, and even survived reboots.
          However, today it had decided to use LAN3 interface address space for the domain found in /etc/hosts.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.