[pve-devel] [PATCH] add routed network mode

Alexandre DERUMIER aderumier at odiso.com
Tue Aug 27 08:46:23 CEST 2013


>>The VMs are in the same network as the host in above use case, so we use the same setup.
>>The provider will tell you what gateway you n

Oh, ok, I understand. So proxmox is not routing packets. 
For me, this is not "routed" mode.

what you do is something like bridging, but spoof guest mac address with host mac address.



If a routed setup, the provider give you a subnet range, routed to the proxmox main ip.
and guests use proxmox ips as gateway.


So maybe are we talking about 2 differents this ?


(I need to check the forum, I had helped one use some time ago with routed network on hetzner, with differents sub-ranges)


----- 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 08:23:07 
Objet: RE: [PATCH] add routed network mode 

> >>host config: 
> >>auto eth0 
> >>iface eth0 inet statis 
> >>address 192.168.1.2 
> >>netmask 255.255.255.0 
> >>gateway 192.168.1.1 
> 
> >>guest config: 
> >>iface eth0 inet statis 
> >>address 192.168.1.3 
> >>netmask 255.255.255.0 
> >>gateway 192.168.1.1 
> 
> 
> Don't understand, guest and host have same gateway ? (where is defined 
> 192.168.1.1 ?) 

The VMs are in the same network as the host in above use case, so we use the same setup. 
The provider will tell you what gateway you need. 

> 
> 
> >>Because requiring an additional bridge generates a lot of unresolved 
> problems (migration?). 
> >>Isn't above setup simpler? - Normally, the user does not need to setup 
> anything. 
> 
> 
> I think it resolve migration, if your client is on the same external network 
> than proxmox host. 
> If client is behind a front router, I doesn't work because router direct forward 
> to proxmox host with hardcoded route. 

But this is nothing we can solve anyways. 

> >>And AFAIK it works perfectly for hosters like hetzner/OVH which apply 
> mac restrictions. 
> 
> Ok, great, I was not sure about this. 



More information about the pve-devel mailing list