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

    SG-1100

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    43 Posts 9 Posters 12.1k 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.
    • RicoR
      Rico LAYER 8 Rebel Alliance
      last edited by Rico

      @jimp wouldn‘t this be a great hangout topic? ☺
      Moving from homemade XY to Netgate integraded Switch Hardware or vice versa.
      config.xml VS GUI
      Since more and more Netgate devices with Switch pop up I think this question will come more often now?
      I‘d enjoy it. 😊

      -Rico

      1 Reply Last reply Reply Quote 0
      • GilG
        Gil Rebel Alliance @jimp
        last edited by

        @jimp Is it worth considering writing a script to edit the config file? I can see a lot of users migrating configs

        11 cheers for binary

        M 1 Reply Last reply Reply Quote 0
        • M
          Maxburn @Gil
          last edited by

          @gil said in SG-1100:

          @jimp Is it worth considering writing a script to edit the config file? I can see a lot of users migrating configs

          If it is more than a find replace for interface names I might be interested. I've done the find/replace before and the hard part was knowing what the new ones were.

          For some strange reason the video out on my box I generally run pfSense in (when it's not in a VM) is cut off at the bottom and I can't see the command line to do the adapter select/replace when restoring a foreign config. Tried overscan adjustments etc and didn't work, please don't @ me here, don't want to clutter this thread up.

          But anyway, yes I'm interested in this process.

          1 Reply Last reply Reply Quote 0
          • GilG
            Gil Rebel Alliance
            last edited by

            If it is more than a find replace for interface names I might be interested. I've done the find/replace before and the hard part was knowing what the new ones were.

            I was kind of thinking that the script would pull the interface settings from the "new device" default config file; and port them across to the desired config file.
            ie: an input config and an output config
            My question is: Is it only the 'interfaces" portion of the xml that requires changing? Or is it more comlpex than that if you have bridges etc.. ?

            11 cheers for binary

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

              @gil said in SG-1100:

              the script would pull the interface settings from the "new device" default config file; and port them across to the desired config file

              Typically the interface is tied only to where it is assigned, e.g. LAN, and then LAN is referenced elsewhere.

              Also it has been a while but I am pretty sure that when restoring one is prompted to assign interfaces, if they differ from interfaces in the backup.

              Often what I do on a new device is pull up the default config, look at the interface names to see what they are, look at the hardware settings like power/crypto, and then restore and edit the hardware settings back again.

              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!

              GilG 1 Reply Last reply Reply Quote 0
              • A
                akuma1x
                last edited by

                Will there maybe be a wall-mount bracket available for the SG-1100?

                Jeff

                1 Reply Last reply Reply Quote 0
                • GilG
                  Gil Rebel Alliance @SteveITS
                  last edited by

                  when restoring one is prompted to assign interfaces, if they differ from interfaces in the backup.

                  This usually works ok, but it went pair shaped for me. I think it is to do with the vlans on the SG-1100 ?

                  11 cheers for binary

                  GilG 1 Reply Last reply Reply Quote 0
                  • GilG
                    Gil Rebel Alliance @Gil
                    last edited by

                    @gil Thought I'd retry editing the xml config from the APU2 and then uploading it to my SG-1100.
                    I cut & pasted the 'interfaces" portion of the APU2 xml - using the default 'interfaces' from the SG-1100 xml.
                    Then uploaded it to the SG-1100
                    The SG-1100 then required manual re-configuration via the console as it couldn't assign ports and had no vlans. - hence no lan connectivity.
                    Do I need to copy other portions of the xml - such as the Vlan section? & any other sections?

                    11 cheers for binary

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      The switch on the 1100 makes it tricky (same as the 7100 and 3100) but you can help it a bit.

                      1. Make a backup from the 1100 and your old device
                      2. Copy the switch config and VLAN config from the 1100 config to your old device config backup
                      3. Optionally edit the interface names in the old device config to what you want them to be now
                      4. Restore the config

                      There is an option to keep the switch config when restoring, which helps, but you still need to add the VLANs back before you can remap the interfaces. You should be able to do this in the GUI after the restore. For example, restore and choose to keep the switch config, then at the assign interfaces screen, switch over to the VLANs tab and add in VLANs to match the stock 1100 VLAN config, then go back to assignments and pick the correct ports. Just make sure not to click apply on anything until you are completely done, since that will trigger a reboot.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      GilG 1 Reply Last reply Reply Quote 2
                      • GilG
                        Gil Rebel Alliance @jimp
                        last edited by

                        @jimp Okay, that works. - But I now get an error in an Openvpn client connection.

                        Jan 27 16:40:29 openvpn 42429 ERROR: FreeBSD route add command failed: external program exited with error status: 1
                        Jan 27 16:40:29 openvpn 42429 /sbin/route add -net 192.168.1.0 10.11.99.1 255.255.255.0

                        All interfaces are correctly assigned and all firewall rules are also as they were.

                        11 cheers for binary

                        1 Reply Last reply Reply Quote 0
                        • GilG
                          Gil Rebel Alliance
                          last edited by

                          I should add that the OpenVPN connection is successful and the Tunnel IP address is assigned corectly from the remote server.

                          11 cheers for binary

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