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

Alexandre DERUMIER aderumier at odiso.com
Tue Aug 27 08:17:58 CEST 2013


>>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 ?)


>>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. 


>>And AFAIK it works perfectly for hosters like hetzner/OVH which apply mac restrictions.

Ok, great, I was not sure about this.


----- 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:00:47 
Objet: RE: [PATCH] add routed network mode 

> >>So the /etc/network/interfaces on the proxmox node can be: 
> >> 
> >>auto eth0 
> >>iface eth0 inet statis 
> >>address 192.168.1.2 
> >>netmask 255.255.255.0 
> >>gateway 192.168.1.1 
> >> 
> >>Note: above is just an example 
> 
> 
> oh, you have also an ip on proxmox host in the vm network ? (can you post 
> your host config and guest config example ?). 

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 


> If yes, why not simple use a bridge and put tap interface on it. no arp proxy 
> should be need, and we should have true routing.(like with libvirt) 

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. 

And AFAIK it works perfectly for hosters like hetzner/OVH which apply mac restrictions. 



More information about the pve-devel mailing list