2 vm's each with own default gateway

smartkiosk

New Member
Sep 9, 2009
3
0
1
Hi,

I have my proxmox server running really well for a while now and has vms that use the same default gateway as the proxmox server. They all work well and one is hosting a website too.

I now havea second ADSL connection with a different isp and have now installed another vm on the proxmox server, but want this vm to use the other adsl and therefor defaault route.

In the second machine I have set the default router to the new isp modem, but it will not use this route.

If I change the proxmox server default router to the new adsl, then the new vm works, but then the original vm does not work as it then cant route to its default route.

Basically it seems that vms can only use the default route of the proxmox server?

but I have 2 adsl lines with 2 static IP's and I would like on vm to be hosted on the one static and the other vm to be hosted on the second static.

How do I get this to work (step by step please)

I have read some of the other threads, and they all seems to just end with eh person saying, hey I got it to work, but not explaining how

Thanks in advance for any help as it is driving me mad
 
I now havea second ADSL connection with a different isp and have now installed another vm on the proxmox server, but want this vm to use the other adsl and therefor defaault route.

In the second machine I have set the default router to the new isp modem, but it will not use this route.

I assume its a KVM VM using bridged network. If so, above should be no problem, because the VM has direct access to the network. Try to use tcpdump to see where packets gets lost.