[pve-devel] [PATCH 2/2] improve arp setup

Alexandre DERUMIER aderumier at odiso.com
Wed Aug 28 09:48:45 CEST 2013


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" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
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? 



More information about the pve-devel mailing list