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

    Change network interface name

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 1.6k 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.
    • L
      Luiz Felipe Lopes Araujo
      last edited by

      Good Morning,
      I can not change the name of the network interface by /etc/rc.conf, it does not work. But if I use the ifconfig command in the shell I can change. But when I restart PFSense, I lose the changes.
      Can someone help me ?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        All the system config is generated at boot from the pfSense config file. Any changes you make outside that will be lost.
        That is the expected behaviour. Use the webgui to make interface changes.

        Steve

        1 Reply Last reply Reply Quote 0
        • L
          Luiz Felipe Lopes Araujo
          last edited by

          In this case, can I change the names of network interfaces by WebGui? Example: re0 for re2?
          Can you give me an orientation?

          Best regards

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            No. They are enumerated by the operating system. Why do you care what the physical name is?

            If you have, for example, LAN on re0 and want it on re2, you can make that change in Interfaces > Assignments as long as re2 is not assigned to anything else.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

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