>>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 ?). 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) client(10.0.0.2/24)----------->[eth0--vmbr0(10.0.0.1/24)proxmox-----vmbr1(192.168.0.1/24)]<-------------vmtap(192.168.0.2/24) client : defaut gw 10.0.0.1 guest vm : default gw 192.168.0.1 and just enable forwarding on proxmox host. ----- Mail original ----- De: "Dietmar Maurer" <[email protected]> À: "Alexandre DERUMIER" <[email protected]> Cc: [email protected] Envoyé: Lundi 26 Août 2013 19:02:08 Objet: RE: [PATCH] add routed network mode > > client : route add 192.168.1.1 gw 10.0.0.1 > > I guess this part is wrong - no gateway please. > simply route the network to the local interface - on both sides For example, let us assume your local network 192.168.1.0/24 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 Now you can start VMs in routed mode using any address within that network. _______________________________________________ pve-devel mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
