Well, this is this kind of setup:


client-------->router(10.3.94.1)--------->(10.3.94.31=eth0)proxmox 
host--------->192.168.1.2(guest)



router config : route add 192.168.1.2 gw 10.3.94.31
                default gw: upstream internet router


proxmox host : route add -net 192.168.1.2 netmask 255.255.255.255 dev tapxxxx 
               default gw 10.3.94.1


guest : default gw 192.168.1.2


so packet is routed through proxmox host.



This is exactly the same setup with ovh or hetzner, guest gateway is the 
proxmox host(or guest himself with /32mask),
because guest network is != external router.





----- Mail original ----- 

De: "Dietmar Maurer" <[email protected]> 
À: "Alexandre DERUMIER" <[email protected]> 
Cc: [email protected] 
Envoyé: Mercredi 28 Août 2013 09:18:09 
Objet: RE: [pve-devel] [PATCH 2/2] improve arp setup 

> that route is added at the end of pve-routed 
> 
> route add -net 192.168.1.2 netmask 255.255.255.255 dev tapxxxx 

This is a route to the internal tap device! 

If you do not have an external route, the VM is not accessible from external 
sites? 
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to