> -is it somehow possible to specify ip (or network pool) that would be
> assigned to virtual router ?

>>I don't think so.

I have finally managed to specify it via direct mysql hack:

update user_ip_address set account_id=2 where
public_ip_address='10.1.18.70';
update user_ip_address set domain_id=1 where public_ip_address='10.1.18.70';
update user_ip_address set allocated='2013-03-26 14:33:33' where
public_ip_address='10.15.18.70';
update user_ip_address set network_id='204' where
public_ip_address='10.1.18.70';
update user_ip_address set state='Allocated' where
public_ip_address='10.1.18.70';

Then I was able to enable static nat for this ip / create firewall rules.

I have following question: is this hack sufficient ? Shouldn't I change
something else in other tables so that database would remain consistent and
wouldn't cause erorrs in management server ?





On Sat, Mar 16, 2013 at 6:54 AM, Kirk Kosinski <[email protected]>wrote:

> Hi, Valery.
>
> > I have following questions:
> > -why it is impossible to add more than 1 untagged network to public
> > (Infrastructure>Zones>zone0>eth0>Public)
>
> The design is that there is one subnet per VLAN.  You can add additional
> IP ranges to your existing untagged network if they are in the same subnet.
>
> > -is it somehow possible to specify ip (or network pool) that would be
> > assigned to virtual router ?
>
> I don't think so.
>
> > -is there any way to see current IP usage (some kind of IP management) ?
> I
> > wish to see list of ips and corresponding router vms/account names these
> ip
> > are bound to. I.e. i receive abuse on some ip address. How do I find
> > account this ip does belong ?
>
> You can get some info from the API.
>
>
> http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/root_admin/listPublicIpAddresses.html
>
> http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/root_admin/listRouters.html
>
> > -is there way to manage reverse dns entries from cloudstack ? (I am about
> > to start writing script that would capture events from cloudstack
> > management log on associateIpAddress/disassociateIpAddress; get username;
> > get domain name; update rdns). User should also have ability to set
> custom
> > PTR entry. Maybe somebody already faced this problem ? How did you deal
> > with it ?
>
> The CloudStack-managed DNS server isn't really configurable.  If you
> need to use some advanced DNS features, you might want to disable the
> CloudStack DNS and use your own instead.
>
> Best regards,
> Kirk
>
>


-- 
Regards,
Valery

http://protocol.by/slayer

Reply via email to