Dear Sir,
I have created several VMs on proxmox VE3.0 (2 for Windows, 3 for Linux). At the first time, I configured all virtual network as NAT mode.
It has been running without a problem for about two weeks. Then I noticed that this NAT definition is problematic. A Guest OS was given an dhcp address by KVM (e.g. 10.0.2.10) where the default gateway was 10.0.2.2 and DNS server was 10.0.2.3. A guest OS can access to 10.0.2.2 and 10.0.2.3, but it could not access to outisde NAT. I am not sure when this problem occured (because every VMs were working after initial setup).
However once happened, there is no way to recover -- even after rebooting KVM kernel, a Guest OS cannot go out of NAT.
Then I modified all virtual network cards of VM to the bridge definition. The problem was eliminated and everything works fine.
How can I diagnose this problem in more detail? I can reproduce this problem by using NAT mode, but don't know how to debug.
Any suggestions and advices are appreciated.
best regards
I have created several VMs on proxmox VE3.0 (2 for Windows, 3 for Linux). At the first time, I configured all virtual network as NAT mode.
It has been running without a problem for about two weeks. Then I noticed that this NAT definition is problematic. A Guest OS was given an dhcp address by KVM (e.g. 10.0.2.10) where the default gateway was 10.0.2.2 and DNS server was 10.0.2.3. A guest OS can access to 10.0.2.2 and 10.0.2.3, but it could not access to outisde NAT. I am not sure when this problem occured (because every VMs were working after initial setup).
However once happened, there is no way to recover -- even after rebooting KVM kernel, a Guest OS cannot go out of NAT.
Then I modified all virtual network cards of VM to the bridge definition. The problem was eliminated and everything works fine.
How can I diagnose this problem in more detail? I can reproduce this problem by using NAT mode, but don't know how to debug.
Any suggestions and advices are appreciated.
best regards