Another approach would be to use logical networks and router software. Logical network 1 - has vm running ddwrt (or openwrt, m0n0wall, etc) with 2 NICs. one of the router VM NICs is on your network, and the other one gives out IP addresses on a range you specify (say 192.168.13.X). - VMs get IP addresses, DNS, and connectivity through router VM.
Logical network 2 - has vm running ddwrt (or openwrt, m0n0wall, etc) with 2 NICs. one of the router VM NICs is on your network, and the other one gives out IP addresses on a range you specify (say 192.168.15.X). - VMs get IP addresses, DNS, and connectivity through router VM. You can predefine which logical network your users virtual machine will be put on based on the template you give them access to. This all requires some additional configuration (delegation) if you want the virtual machines to be routable from beyond the router they are behind. Tim Hildred, RHCE Content Author II - Engineering Content Services, Red Hat, Inc. Brisbane, Australia Email: [email protected] Internal: 8588287 Mobile: +61 4 666 25242 IRC: thildred ----- Original Message ----- > From: "Andrej Bagon" <[email protected]> > To: "users" <[email protected]> > Sent: Friday, April 19, 2013 12:15:38 AM > Subject: [Users] users quota and limit ips > > Hi all, > > we are wondering how can we limit a user to use IPs we give him and not > others. > Best is understood from an example: > - we give a user a quota (with x CPU, y memory and z disk space) > - a user can create one VirtualMachine with all the resources, or more > VirtualMachines with smaller resources. > - we want to give a user a pool of IPs. He should not use other IPs. If > he uses other IP it should not be routable. > > Is there a solution for this problem? > > Thank you. > > Best Regards, > Andrej Bagon > Arnes > _______________________________________________ > Users mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

