Used net_bridge: br0 in json file to connect with br0 bridge , with nat it is working fine, but want to create multiple guest vm through packer and with default nat all the guest vm getting same ip. But i want different ip for all the guest vm.
If there is way with nat network to provide different ip to guest vm’s then please let me know that as well, else please help me to fix this issue. There is not much information on internet about bridge networking issue
Also when build starts tap interfaces are getting created for bridge.
==> qemu.aux-node: Waiting for the guest address to become available in the br0 network bridge...
2023/09/15 06:39:11 packer-builder-qemu plugin: Found guest address 10.0.0.8
==> qemu.aux-node: Using SSH communicator to connect: 10.0.0.8
2023/09/15 06:39:11 packer-builder-qemu plugin: [INFO] Waiting for SSH, up to timeout: 20m0s
==> qemu.aux-node: Waiting for SSH to become available...
2023/09/15 06:39:11 packer-builder-qemu plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.0.0.8:22: connect: connection
refused
2023/09/15 06:39:16 packer-builder-qemu plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.0.0.8:22: connect: connection
refused
After sometime in place of connection refused getting no route to host
2023/09/15 07:17:11 packer-builder-qemu plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.0.0.8:22: connect: no route to
host
2023/09/15 07:17:14 packer-builder-qemu plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.0.0.8:22: connect: no route to
host
2023/09/15 07:17:17 packer-builder-qemu plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.0.0.8:22: connect: no route to
host