>>Do we agree so far? Yes, I see things like this too
It's also possible that user use vmbr0 (with eth0 plugged) in nat mode or routed mode. (maybe this need some dhcp iptables filtering too) for nat masquerade, I'll read the libvirt code tomorrow. I'll keep you in touch. ----- Mail original ----- De: "Dietmar Maurer" <diet...@proxmox.com> À: "Alexandre DERUMIER" <aderum...@odiso.com>, "pve.proxmox.com" <pve-devel@pve.proxmox.com> Envoyé: Samedi 24 Août 2013 17:38:25 Objet: RE: [pve-devel] internal dhcp server, where to put dhcp configuration ? We talk a lot about 'bridge mode' routed mode' and 'nat mode'. It would be great to have an example /etc/network/interface showing all those different modes. Just to make sure that we talk about the same thing: # bridge mode - IP configuration ids optional here iface vmbr0 inet static address 192.168.1.2 netmask 255.255.255.0 gateway 192.168.1.1 bridge_ports eth1 bridge_stp off bridge_fd 0 # routed mode - IP configuration is mandatory iface vmbr1 inet static address 192.168.2.1 netmask 255.255.255.0 bridge_stp off bridge_fd 0 # nat mode - IP configuration is mandatory iface vmbr2 inet static address 10.0.0.1 netmask 255.255.255.0 MASQUERADE(eth0) # not sure how to implement that bridge_stp off bridge_fd 0 Do we agree so far? _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel