command line import and export

  • Javier Torres

    Javier Torres - 2011-03-24

    I was wondering if there was a way I could export then import the IP details via command line vs, having to use the gui?  I am trying to script some nightly items that would look for changes and then check them back in should there be any, but have not found a good way of doing this via command line and I did not want to have to interface with the mysql backend….
    I am using version 4.92a of IPPlan, if this is something that has been implemented in some way on a newer version I have no issues upgrading, just have not found it.


  • Richard Ellerbrock

    Sorry there is no command line import or export. You will need to write something to talk directly to the database to do this.

  • Bart

    Bart - 2013-01-16

    I am trying to achieve the same , however I do not know how the IP address is encoded in IPPLAN and how to transform it into IP form. I am doing this from mysql :

    select baseaddr from base;

    but I get :

    | 3232294706 |
    | 3232294707 |
    | 3232294720 |
    | 3232294728 |
    | 3232294736 |
    | 3232294744 |
    | 3232297400 |
    | 3232297912 |
    | 3232300540 |
    | 3232300796 |
    | 3232300800 |
    | 3245337600 |

    How to understand the output ?

  • Mark Lndk

    Mark Lndk - 2013-01-16

    TT=$(printf "%X" 3232294706); printf "%d.%d.%d.%d\n" 0x${TT:0:2} 0x${TT:2:2} 0x${TT:4:2} 0x${TT:6:2}

  • Mark Lndk

    Mark Lndk - 2013-01-16

    Previous post was using bash.
    With Mysql :
           select inet_ntoa(baseaddr) from base;


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks