Migrating from SG-1100 to SG-3100, NICs wont work properly after restore



  • I see alot of vlan info like mvneta0.4090 in the SG-1100 config file, but nothing like that in the SG-3100 default config file.

    So when i upload the SG-1100 config file into the SG-3100, then use console access to reset the NICs, i can only get the WAN to auto config, the LAN never works.

    Tried restoring with "Preserve switch configuration" checked, still wont work.

    I would hate to have to config the SG-3100 manually from scratch, hoping I am making a simple mistake

    Open to suggestions.


  • Netgate Administrator

    Going from the SG-1100 to the SG-3100 should be relatively straight forward. Much easier than going the other way because the SG-3100 does not require and vlan or switch config.

    You should be able to assign the 3 interfaces directly:

    WAN (wan) -> mvneta2
    LAN (lan) -> mvneta1
    OPT1 (opt1) -> mvneta0

    It should then allow you access as expected unless your SG-1100 config was using external VLANs.
    If you are having problems with that please open a ticket with us (https://go.netgate.com) and we can help with the config conversion there.

    Steve



  • under diagnostics > backup pay special attention to backup area. you can select what to backup/ restore

    i did this and it simplified my restore to my SG 3100 from sg 2440. certains things did not restore correctly and i had to do it again manually but it may have been error on my part..


  • Netgate Administrator

    It is almost always better to restore the complete config file. There are somethings that only happen if you include the system section for example. If you do try that be very sure configs come from the same pfSense version.

    Steve



  • @stephenw10 OK, when i assign the 3 network interfaces as you described, i get this error, no dhcp address, and even when i assign an appropriate IP address on my computer to connect to the lan interface web gui, still doesnt work.

    Hoping i am missing something simple:

    The interfaces will be assigned as follows:

    WAN -> mvneta2
    LAN -> mvneta1
    OPT1 -> mvneta0

    Do you want to proceed [y|n]? y

    Writing configuration...done.
    One moment while the settings are reloading... done!
    route: writing to routing socket: Network is unreachable
    route: route has not been found
    route: writing to routing socket: Network is unreachable
    route: writing to routing socket: Network is unreachable
    route: writing to routing socket: Network is unreachable
    route: writing to routing socket: Network is unreachable


  • Netgate Administrator

    Can you connect to the OPT interface? It could be the switch config from the 1100 being applied to the 3100 switch which would break that. If you can roll back and attempt it again try setting 'Preserve switch configuration' when you import the file.
    Otherwise I would open a ticket with us and we can get this fixed up for you.

    Steve



  • Support got it all sorted out super quick once i created a support ticket.

    details:
    So the main difference is the default vlanmode, it's DOT1Q on SG-1100 and on SG-3100 it's PORT. For that reason, there is an interface naming mismatch. mvneta0.4090, mvneta0.4091, mvneta0.4092 VS mvneta2, mvneta1, mvneta0

    Just gotta dig through the config backup file and audit these names and you should be good to go, otherwise just open a support ticket and they will do it for you. :)

    Thanks everyone for your help on this.



  • @beedsley I believe the manual editing part is changing this:
    <switches>
    <switch>
    <device>/dev/etherswitch0</device>
    <vlanmode>DOT1Q</vlanmode>
    <vlangroups>
    <vlangroup>
    <vgroup>0</vgroup>
    <vlanid>1</vlanid>
    <members>0</members>
    </vlangroup>
    <vlangroup>
    <vgroup>1</vgroup>
    <vlanid>4090</vlanid>
    <descr><![CDATA[WAN]]></descr>
    <members>0t 3</members>
    </vlangroup>
    <vlangroup>
    <vgroup>2</vgroup>
    <vlanid>4091</vlanid>
    <descr><![CDATA[LAN]]></descr>
    <members>0t 2</members>
    </vlangroup>
    <vlangroup>
    <vgroup>3</vgroup>
    <vlanid>4092</vlanid>
    <descr><![CDATA[OPT]]></descr>
    <members>0t 1</members>
    </vlangroup>
    </vlangroups>
    <swports>
    <swport>
    <port>0</port>
    <state><![CDATA[forwarding]]></state>
    </swport>
    <swport>
    <port>1</port>
    <pvid>4092</pvid>
    <state><![CDATA[forwarding]]></state>
    </swport>
    <swport>
    <port>2</port>
    <pvid>4091</pvid>
    <state><![CDATA[forwarding]]></state>
    </swport>
    <swport>
    <port>3</port>
    <pvid>4090</pvid>
    <state><![CDATA[forwarding]]></state>
    </swport>
    </swports>
    </switch>
    </switches>

    To This:
    <switches>
    <switch>
    <device>/dev/etherswitch0</device>
    <vlanmode>PORT</vlanmode>
    <swports>
    <swport>
    <port>1</port>
    <state><![CDATA[forwarding]]></state>
    </swport>
    <swport>
    <port>2</port>
    <state><![CDATA[forwarding]]></state>
    </swport>
    <swport>
    <port>3</port>
    <state><![CDATA[forwarding]]></state>
    </swport>
    <swport>
    <port>4</port>
    <state><![CDATA[forwarding]]></state>
    </swport>
    <swport>
    <port>5</port>
    <state><![CDATA[forwarding]]></state>
    </swport>
    </swports>
    </switch>
    </switches>


  • Netgate Administrator

    Good to hear, thanks for following up. 👍


Log in to reply