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

              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: