[pve-devel] [PATCH] add routed network mode
Alexandre DERUMIER
aderumier at odiso.com
Tue Aug 27 14:36:18 CEST 2013
>>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" <dietmar at proxmox.com>
À: "Alexandre DERUMIER" <aderumier at odiso.com>
Cc: pve-devel at pve.proxmox.com
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.
More information about the pve-devel
mailing list