ipv6 allocation script ???

Discussion in 'Programming/Scripts' started by ginner159, Jun 24, 2014.

  1. ginner159

    ginner159 New Member

    hi all,

    Ive been allocated a /48 block of ipv6 addresses (1208925819614629174706176 to be exact! :eek: :D ) and wondered if anyone knew of an allocation script i could use with ispconfig3? or could point me in the right direction to make one.

    I see it as being when a client joins my services a script is fired and assigns 4 ipv6 address for instance.

    the assigned addresses are stored with the clients name and/or client id and available for them to use in the control panel.

    ive also broken it down into /56 and /64
     
  2. ginner159

    ginner159 New Member

    over 250 views can no one help? or would this be better as a module?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    you can add the ip addresses in ispconfig with the remote api. the function is named:

    server_ip_add($session_id, $client_id, $params)
     
  4. ginner159

    ginner159 New Member

    Oh of course! That would be better. Guessing that if a client is is passed only they can use it?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    You can assign the IP addresses to a client in the same way as if you would add them in the ispconfig interface.
     
  6. Elizabeth_Keen

    Elizabeth_Keen New Member

  7. Adhore Hum

    Adhore Hum New Member

    Last edited: Mar 18, 2015

Share This Page