Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Interface name switch in config

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 821 Views 2 Watching
    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.
    • A
      aram535
      last edited by

      I'm moving from a SG-1100 to a Qotom mini. I backup my full config from the netgate and trying to do the search and replace the interface names.
      Using grep to see where the interface name is used I got:

      <if>mvneta0.4090</if>
      <if>mvneta0.4091</if>
      <if>mvneta0.4092</if>
      <if>mvneta0.20</if>
      <if>mvneta0.66</if>
      <if>mvneta0</if>
      <vlanif>mvneta0.4090</vlanif>
      <if>mvneta0</if>
      <vlanif>mvneta0.4091</vlanif>
      <if>mvneta0</if>
      <vlanif>mvneta0.4092</vlanif>
      <if>mvneta0</if>
      <vlanif>mvneta0.20</vlanif>
      <if>mvneta0</if>
      <vlanif>mvneta0.66</vlanif>
      

      mvneta0.4090 -> WAN -> igb0
      mvneta0.4091 -> LAN -> igb1
      mvneta0.4092 -> LAN (Guest) -> igb2

      Here is the vlans section ... obviously the vlanif must match the interfaces -> if section but ...

      	<vlans>
      		<vlan>
      			<if>mvneta0</if>
      			<tag>4090</tag>
      			<descr><![CDATA[WAN]]></descr>
      			<vlanif>mvneta0.4090</vlanif>
      		</vlan>
      		<vlan>
      			<if>mvneta0</if>
      			<tag>4091</tag>
      			<descr><![CDATA[LAN]]></descr>
      			<vlanif>mvneta0.4091</vlanif>
      		</vlan>
      		<vlan>
      			<if>mvneta0</if>
      			<tag>4092</tag>
      			<descr><![CDATA[OPT]]></descr>
      			<vlanif>mvneta0.4092</vlanif>
      		</vlan>
      		<vlan>
      			<if>mvneta0</if>
      			<tag>20</tag>
      			<pcp></pcp>
      			<descr><![CDATA[Guest VLAN]]></descr>
      			<vlanif>mvneta0.20</vlanif>
      		</vlan>
      		<vlan>
      			<if>mvneta0</if>
      			<tag>66</tag>
      			<pcp></pcp>
      			<descr><![CDATA[IoT devices]]></descr>
      			<vlanif>mvneta0.66</vlanif>
      		</vlan>
      	</vlans>
      

      Now the question becomes why are on VLANs off of the WAN interface and not the LAN interface? Shouldn't these be:

      	<vlans>
      		<vlan>
      			<if>igb0</if>
      			<tag>4090</tag>
      			<descr><![CDATA[WAN]]></descr>
      			<vlanif>igb0</vlanif>
      		</vlan>
      		<vlan>
      			<if>igb1</if>
      			<tag>4091</tag>
      			<descr><![CDATA[LAN]]></descr>
      			<vlanif>igb1</vlanif>
      		</vlan>
      		<vlan>
      			<if>igb2</if>
      			<tag>4092</tag>
      			<descr><![CDATA[OPT]]></descr>
      			<vlanif>igb2</vlanif>
      		</vlan>
      		<vlan>
      			<if>igb1</if>
      			<tag>20</tag>
      			<pcp></pcp>
      			<descr><![CDATA[Guest VLAN]]></descr>
      			<vlanif>igb1.20</vlanif>
      		</vlan>
      		<vlan>
      			<if>igb1</if>
      			<tag>66</tag>
      			<pcp></pcp>
      			<descr><![CDATA[IoT devices]]></descr>
      			<vlanif>igb1.66</vlanif>
      		</vlan>
      

      Thanks.

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

        The 1100 only has one NIC, mvneta0, and all interfaces are VLANs on that including WAN and LAN.
        Your new hardware probably has at least two NICs so you can add the VLANs to either. If it has 4 NICs you may only need VLANs 20 and 66. The other interfaces can be moved to real NICs.

        Steve

        1 Reply Last reply
        Reply Quote 1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy