Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-2849

Need to keep the default gateway setting after migration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 2.10.0
    • 2.9.0
    • Guest
    • MTV Sprint 2
    • +

      Description of problem:

      We ever had a customer requirement to keep the default gateway setting even if the gateway is not in the subnet, more details in MTV-2018.

      Cold migrate win2019 VM from vCenter 7 to OCP cluster, the default geteway setting is no longer exist after migration. (The ip/subnet/gateway settings are following the settings in customer case)

      Version-Release number of selected component (if applicable):

      MTV 2.9.0(forklift-fbc-prod-v419:on-pr-155cb285a7b3e3798731cf93956a32dd60202e11) with CNV 4.19.1

      How reproducible:

      100%

      Steps to reproduce:

      1) Create VM: mtv-func.win2019_79 on vCenter7 with gateway settings as below: The default gateway is not in the subnet

      2) Create cold migration plan to migrate VM to ocp cluster with preserve static ips: on, map the source networks to nad bridge networks, check one of the interface default gateway setting is no long exist.

      3) Check the v2v conversion pod log with correct gateway settings, more details in file: mtv-win2019-vm-2522-rxlb9-virt-v2v.logforklift-controller pod log: forklift-controller-74c4b7dcbb-zt9dv-main.log

      4) Check the network scripts in target VM, the command line with defaultgateway setting as below:

      5) Check the log in VM for network configure.bat

      Actual results:

      Step2: The VM default gateway setting is no longer exist in target VM

      Expected results:

      Step2: The VM default gateway setting is exist in target VM

        1. image-2025-07-02-17-31-28-532.png
          186 kB
          Chenli Hu
        2. image-2025-07-02-17-35-00-177.png
          65 kB
          Chenli Hu
        3. image-2025-07-02-17-48-26-496.png
          158 kB
          Chenli Hu
        4. image-2025-07-02-17-49-24-710.png
          43 kB
          Chenli Hu
        5. mtv-win2019-vm-2522-rxlb9-virt-v2v.log
          7.06 MB
          Chenli Hu
        6. forklift-controller-74c4b7dcbb-zt9dv-main.log
          10.06 MB
          Chenli Hu
        7. image-2025-07-03-13-50-33-476.png
          139 kB
          Chenli Hu
        8. image-2025-07-03-13-52-20-608.png
          103 kB
          Chenli Hu
        9. image-2025-07-03-13-53-18-633.png
          110 kB
          Chenli Hu
        10. image-2025-07-03-13-13-15-824.png
          196 kB
          Elad Hazan
        11. image-2025-07-03-13-16-04-212.png
          146 kB
          Elad Hazan
        12. dulication is deleted.png
          1.07 MB
          Ameen Barakat
        13. ipconfig.png
          961 kB
          Ameen Barakat
        14. route.png
          1.04 MB
          Ameen Barakat
        15. virt-v2v.logs
          6.72 MB
          Ameen Barakat
        16. image-2025-08-20-21-20-16-147.png
          85 kB
          Chenli Hu
        17. image-2025-08-20-21-20-40-816.png
          67 kB
          Chenli Hu
        18. image-2025-08-20-21-23-21-651.png
          146 kB
          Chenli Hu
        19. image-2025-08-20-21-24-38-624.png
          117 kB
          Chenli Hu
        20. image-2025-08-20-21-25-36-709.png
          115 kB
          Chenli Hu
        21. image-2025-08-28-22-03-01-166.png
          209 kB
          Ameen Barakat
        22. default-gatway-1.png
          248 kB
          Ameen Barakat
        23. default-gateway-2.png
          209 kB
          Ameen Barakat

              rh-ee-ehazan Elad Hazan
              chhu@redhat.com Chenli Hu
              Ameen Barakat Ameen Barakat
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: