>>I use the gateway defined in the routing table for that network. 
mmm, sorry to be disturb you with my questions, but

I understand your setup, 


host config: 
auto eth0 
iface eth0 inet static 
address 192.168.1.2 
netmask 255.255.255.0 
gateway 192.168.1.1 

guest config: 
iface eth0 inet static
address 192.168.1.3
netmask 255.255.255.0 
gateway 192.168.1.1


client 10.0.0.2---->external 
router(192.168.1.1)--------------proxmox(192.168.1.2)-------------->(192.168.1.3)guest
                                                
<------------------------------------------------


But for this setup, what is the gateway of the guest ?

host config: 
auto eth0 
iface eth0 inet static 
address 192.168.1.2 
netmask 255.255.255.0 
gateway 192.168.1.1 

guest config: 
iface eth0 inet static 
address 172.16.0.1
netmask 255.255.255.0 
gateway ????????

client 10.0.0.2----------->external 
router(192.168.1.1)--------------proxmox(192.168.1.2)-------------->(172.16.0.1)guest
                       (with a route 172.16.0.1 gw 192.168.1.2)


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

De: "Dietmar Maurer" <[email protected]> 
À: "Alexandre DERUMIER" <[email protected]> 
Cc: [email protected] 
Envoyé: Mardi 27 Août 2013 14:22:28 
Objet: RE: [PATCH] add routed network mode 

> How to you do if guest ip is in different network/range than host ip ??? 

I use the gateway defined in the routing table for that network. 
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to