With the help of several NIC in Win 7 - different subnet

Can someone tell me the best way or the right way to configure two 2 Gigabit NIC in Windows 7 Ultimate?

Map NETWORK 1 is currently used to access the INET and my FreeNAS server via a 192.168.0.x subnet. I would like to set up a 2nd NETWORK card to maintain a "static route" between this box (Win 7) and box of FreeNAS (OPT 1 is configured as a secondary NIC on the side of FreeNAS already).

The static route will use the subnet 192.168.x.x with FreeNAS is 192.168.1.100 on the secondary card. The Win 7 box, I'm going to say... 192.168.1.3 for the static route NIC w / the same thing for GW and DNS.

Is it possible that way, as mentioned above, or what I need to dig a little deeper. The static route will allow me to exploit the full potential (at least I hope) between 2 machines with regard to flow by a X-Over cable. This way I can put both sides higher than regular LAN depending on the parameters.

I don't need to work, but rather a bit more than the flow of 20 MB/s when xfering large files recording studio. Yes... I know that FTP is not the best for xfering... I'm looking into SSH w/patch, SMB/CIFS or NFS

Tim

Your plan should work fine.  Specify a subnet mask of 255.255.255.0 on both network adapters to 192.168.0.x and 192.168.1.x different subnets.

You do not need to specify GW and DNS on the secondary NETWORK, and you don't need to create a static route.

To access the box of FreeNAS on secondary NETWORK map, use his IP (192.168.1.100), and not its NetBIOS name.
Owner, Boulder computer Maven
Most Microsoft Valuable Professional

Tags: Windows

Similar Questions

  • With the help of several types of video files into one film will prevent the publication?

    I am using Movie Maker on Vista.  I have mpeg, avi and wmv files.  The Movie Maker plays very well in project mode, but will not be published.  Multiple file extensions would be the source of trouble?

    If so, is there a quick fix?

    Hi d1bon,
     
    1. what exactly happens when you try to publish a project?
    2. do you get an error message?
     
    With the help of several file extensions should not be a concern.

    Disable video filters and check the result.
    1. click on tools and then click Options.
    2. click on the Compatibility tab.
    3. to turn off a filter, clear the check box next to the name of the video filter.

    You also uninstall the Codecs and check the result: Uninstall

    Please provide us with more details on the issue, so that we can better help you.
     
    Check publish a movie in Windows Movie Maker
    Check, solving problems with publishing a movie to your computer 
     
    Kind regards
    Syed
    Answers from Microsoft supports the engineer.

  • With the help of several conditional tags with multiple outputs of WebHelp

    I have a project that I created for a web application. Within the web application, there are 3 types of customers (business Accts, Accts National and level 1 clients).

    I added each help topic associated with the help topics that I created.

    Then, I created 3 outputs of webhelp and 3 Table of contents for each type of client.

    My goal is to publish the project, where each type of client has their own output generated. Do it this way, which is listed in the help topics of table of contents for each type of customer that is not correctly displayed.

    Example: National accounts TOC

    What is generated:

    I have tagged in the table of contents to the conditional tag appropriate help topics. Help, please. Any advice? I can also be reached at [email protected]

    None of your screenshots came through - the icon of camera in the web interface allows you to attach images

  • With the help of several outings on NI USB-6229

    Hello

    I have a question about the use of several output (input) on NI USB-6229. I request of programming where I use a few digital, digital inputs, outputs some analog outputs and inputs. Initialization of all the ports that I have in a Subvi, which lies in a loop for I control settings on the other for loop by using notifications. Problem is that this outpust is really slow (or reading entries), I want to say in my main loop I setting button, but it takes at least 1 s to change my outings (even with reading entries)? So I am wonderig what I am doing wrong. Can plesae you tell me what is the best way how to control several different ports?

    OK, so my whole program structure is like this:

    In primary Vi, I have a loop that subvis in other control loops. One of the Subvi is Subvi whichchange parameters at initialization Subvi. The structure on the photo. Please help me because I really don't know where is the problem. I use two converters AD / DA more and some machines that I am targeted by using the RS232 but it NEITHER original is the slowest.

    PS. If I turn on only parameter Subvi loop everythinf is much faster.

    OK problem with loops slow fixed http://forums.ni.com/t5/LabVIEW/Slow-parallell-loops-with-DAQ/m-p/1698988#M601731.

  • With the help of several values with CFSET

    Currently using CF7 to develop for the server.

    Several (many) use < cfif > statements on page to hide/display based on the user name credentials.

    My curernt for this code is:

    < cfif (MM_Session.Username EQ "Name1" or MM_Session.Username EQ "Name2") or MM_Session.Username EQ "name3" > show me something < / cfif >

    The problem is that to add/change/delete a name, I have do this 15 times.  Can I still use find/replace, but I thought I could put something in place in the Application file for better management. What I came up with is the following:

    In the Application, I inserted:

    < cfset theadmin = "Name1, name2, Name3" >

    On the other page:

    < cfif (MM_Session.Username EQ #theadmin #) > show me something < / cfif >

    Of course, he did not.  I know there must be a table, but I don't know how to do this with cfset and what I found in the research and documentation does not worked either.  I was hoping to create a list of user names in the application so that I can quickly add/modify/delete users once.

    Any ideas or help would be great!  Thanks in advance!

    OgreOne wrote:

    Currently using CF7 to develop for the server.

    Several (many) use statements on page to hide/display based on the user name credentials.

    My curernt for this code is:

    Show me something

    The problem is that to add/change/delete a name, I have do this 15 times.  Can I still use find/replace, but I thought I could put something in place in the Application file for better management. What I came up with is the following:

    In the Application, I inserted:

    On the other page:

    Show me something

    Of course, he did not.  I know there must be a table, but I don't know how to do this with cfset and what I found in the research and documentation does not worked either.  I was hoping to create a list of user names in the application so that I can quickly add/modify/delete users once.

    Any ideas or help would be great!  Thanks in advance!

    First, it is important that your Application.cfm file implements the cfaplication tag. At least something like this will do:

    Then, put this in the Application.cfm file:

    It makes the adminList variable available to each page in your application. You can now proceed with the following checks on any page:

    Show me something

  • With the help of several PLSK400?

    I'm looking to place my file multimedia/Xeon server in my garage (much cooler than where it is now).  Currently, I have the PLSK400 and I love it it works fine for a Media Streaming my MacMini to my theatrical home page 3 floors away and the use of the AppleTV.  I need for the server file / multimedia is an another Kit PLSK400 (as the only PLEK400 is out of stock), and I'm asking is if I can use 4 of the kit with the outgoing PLSK400 installer I have, or I have to use the PLSK400 second set kit to provide the network in the garage?

    Basically it is possible to have TWO kits of PLSK400 in use at the same time on power lines same?

    Thank you

    Yes, you can have several of your network, Nexxsys power lines.

  • With the help of several classes and create an object of a class and calling its method in a different class.

    Creating a new class, I need to move my main method class SaveDate DynamicTest class. Below I've listed the code of both classes. The goal is to be able to run my class DynamicTest program. I need help to understand the process of moving my main method of a different class and creating an object of a class and calling its method.

    public class {SaveData

    private public static final map < String, Object > myCachedTreeMap = new TreeMap < String, Object > ();

    public static final List < String > getLines (final String resourceParam, final Charset charset) throws IOException {}

    System.out.println ("please:" + resourceParam);

    If {(myCachedTreeMap.containsKey (resourceParam))

    Use the file cached, to avoid a further reading.

    System.out.println ("found in memory:" + resourceParam);

    }

    else {}

    Load the file from the disk

    System.out.println ("found in memory:" + resourceParam);

    }

    Returns a null value.

    }

    Public Shared Sub main (String [] args) throws IOException {}

    String target_dir = "C:\\myfiles\\config\\en";

    Line = "C:\\myfiles\\config\\en\\output.txt";

    File dir = new File (target_dir);

    File files [] = dir.listFiles ();

    If (file == null: files.length < 1) {}

    System.out.println ("file list is empty...");

    return;

    }

    Open the Printwriter

    PrintWriter OutputStream = new PrintWriter (output);

    try {}

    for (textFile file: files) {}

    If (textFile.isFile () & & textFile.getName () .endsWith (".txt")) {}

    readFromDisk (textFile);

    }

    }

    }

    {Finally

    outputStream.close ();

    }

    String fileNameFromCache = "en_synonyms.txt";

    Sheet1 = myCachedTreeMap.get (fileNameFromCache) object;

    System.out.println (fileNameFromCache + ": \n" + "Sheet1");

    }

    @SuppressWarnings ("resource")

    private static Sub readFromDisk(File textFile) throws FileNotFoundException, IOException {}

    BufferedReader InputStream;

    inputStream = null;

    String content = "";

    try {}

    inputStream = new BufferedReader (new FileReader (textFile));

    content = readFile (textFile);

    System.out.println ("bytes read =" + content.length ());

    Save the content

    FileContentsObject Sheet1 = new FileContentsObject (System.currentTimeMillis (),

    textFile.lastModified (), content,

    textFile.getName (),

    getLines (null, null));

    Add to the map

    myCachedTreeMap.put (textFile.getName (), Sheet1);

    }

    {Finally

    If (inputStream! = null) {}

    inputStream.close ();

    }

    }

    }

    private static String readFile(File f) throws FileNotFoundException, IOException, UnsupportedEncodingException {}

    Text of StringBuilder = new StringBuilder (1024);

    read int, N = 1024 * 1024;

    char [] buffer = new char [N];

    BufferedReader br = null;

    try {}

    BR = new BufferedReader)

    (new) InputStreamReader

    (new FileInputStream (f), 'UTF8'));

    While (true) {}

    read = br.read (buffer, 0, N);

    If (read > 0)

    Text.Append (new String (buffer, 0, read));

    if(Read < N) {}

    break;

    }

    }

    }

    {Finally

    If (br! = null)

    Br. Close();

    }

    Return text.toString ();

    }

    private static final class FileContentsObject {}

    private long cachedTime; currentTime

    private long lastModifiedTimestamp;

    private string content

    List < String > lines;

    private String fileName;

    public FileContentsObject (long cachedTime, long lastModifiedTimestamp,

    Content string, String fileName, List < String > lines) {}

    this.cachedTime = cachedTime;

    this.lastModifiedTimestamp = lastModifiedTimestamp;

    This.contents = content;

    this.fileName = filename;

    This.Lines = lines;

    SimpleDateFormat sdf = new SimpleDateFormat ("MM/dd/yy hh: mm :"); ")

    System.out.println ("time & Date:" + sdf.format (cachedTime));

    System.out.println ("' last modification timestamp:" ")

    + sdf.format (lastModifiedTimestamp));

    }

    /**

    *

    * @return the lines of the file

    */

    List < String > getLines() {}

    Return this.lines;

    }

    public String toString() {}

    "return"Sheet1 {}"+" fileName =' ' + filename + '------"+", content = "" "

    + content + "\"+ ", lastModifiedTimestamp ="

    + lastModifiedTimestamp + ', CurrentTime & Date ='

    {+ cachedTime + '}';

    }

    }

    }

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    public class DynamicTest {}

    Public Shared Sub main (String [] args) {}

    Game characters charset = Charset.forName("UTF-8");

    try {}

    List < String > = CacheData.getLines lines ("en_synonyms", character set);

    If (rows! = null) {}

    System.out.println ("number of rows:" + lines.size ());

    for {(String ligne: lines)}

    System.out.println ("DynamicTest:" + line);

    }

    }

    } catch (IOException e) {}

    e.printStackTrace ();

    }

    try {}

    List < String > = CacheData.getLines lines ("en_stopwords", character set);

    If (rows! = null) {}

    System.out.println ("number of rows:" + lines.size ());

    for {(String ligne: lines)}

    System.out.println ("DynamicTest:" + line);

    }

    }

    } catch (IOException e) {}

    e.printStackTrace ();

    }

    }

    }

    I have read and watched videos about the creation of an object of a class and calling its method in a different class. I'm still confused on how to do it properly. By using the code below if someone can explain how to properly call the method of objects from my hand.

    Huh? You have NOT posted any 'hand' or any 'method of objects '.

    If you need help with the code, you need to view the code.

    The Java tutorials has dozens of trails "Classes and objects": what they are, how to create and how to use them.

    https://docs.Oracle.com/javase/tutorial/Java/javaOO/classes.html

    1. create an instance of a class

    2. call to one or more of the public methods of this class

    If the class has public static methods, you don't need to create an instance first.

    I suggest that you work your way through these tutorials. They include the WORKING example code.

  • Reg: With the help of several tables of facts in the RPD!

    Hi all

    Can I get help with the following scenario?

    We use OBIEE 11 g.
    We have a report that uses 1 single fact table to retrieve data and it must be hell a lot of time to display the data in the report.

    My question is is there a way to show the performance of the report if divide us the data in table 1 to 2 fact tables and the report uses them 2 made tables.
    Are there other ways of finalization of the report for better performance.

    Thanks for the help in advance!

    Ajay.

    Hi Ajay,

    Follow these steps for tuning;
    1. try to adjust the SQL query generated first by the report, and then make the necessary changes. (Put index on the column that is required so that your query is scanning the index instead of the whole table)

    2. you can try to create the agg fact table and use agg navigation to improve performance. (This is to reduce the data set on which sql is triggered)

    3. you can try to create partitions on the table of FACTS in the comic book, and so held the partitions are queried according to the filters.

    4. in the last if all the foregoing does not resolve your query, you can try to divide the FACT table in two or more depending on your decision and then use fragmentation content in the MDB of the RPD layer if it will strike appropriate tables depending on whether you declare.

    Mark Correct/utile so this can help.

    Good luck
    Kashi

  • With the help of several sliders/controllers?

    Hey guys. Sorry that my first question is going to be such a simple, but I'm pulling my hair out after two days trying to understand and modify the skeleton model.

    Obviously I like to learn, and I learned a lot from watching her and modify examples and read 'the' AE SDK tutorial on MacTech and the documentation. But I'm at a standstill here; How to use several sliders and pass their values to the Render function?

    Or put it differently; uses two separate functions for two sliders iterate() way to go, or should I do all my calculations with the two sliders in the same service?

    Right now I am running two functions iterate() in a row, with different refcons and functions but only the last one gets stuck. I guess that's because they all use two & params [SKELETON_INPUT]--> u.ld as src and output as, well, output - the second function, by overwriting the first.

    I read in the literature, page 96, you can use something like that;

    lines_per_iterateL = in_data-> extent_hint.top - in_data-> extent_hint.bottom;

    total_linesL = 3 * lines_per_iterateL;

    lines_so_farL = 0;

    Suites.iterate8suite () > iterate)

    lines_so_farL,

    total_linesL,

    input_worldP,

    & output > extent_hint;

    Conref,

    WhizBangPreProcessFun,

    output_worldP);

    lines_so_farL += lines_per_iterateL; ERR (PF_PROGRESS (lines_so_farL, total_linesL));

    But tbh I get just enough there.

    Notice to lovers?

    Edit: Well, I now get the values of two sliders - perhaps I did before too - but I can use them only if I have them summarize under the Conref even used in the function iterate(). Looks like I need a function iterate() for each cursor?

    Hi janzakSwe!

    Welcome to the forum!

    :-)

    I'll try to make sense in the madness...

    function iterate() did something very simple:

    It give you two pixels of correlation of two buffers.

    everything belongs to you.

    you don't have to deal with in the pixel of input as pixel of input and output output. If you really want, you can use them in the opposite direction. (but why would you do that?)

    you're more likely to read the value of the output pixel and include it in your calculation before overwriting. This was the case when you said that the second iterate function has replaced the first. Obviously, because you have written new data for the output pixels while ignoring old data already in them.

    now how do you pass data from your two sliders in the iterate function?

    using the Conref.

    the Conref is nothing other than a void pointer, which points to a structure or a class.

    He is not Holy or sacred. Change it. Add data to it, to hold as many distinct values as you want. write a poem in there. It is just a structure.

    now, you need only one or two iterations?

    I have no idea. It's really a question of whether algorithmically you should complete a single pass for the following on the basis.

    If possible, try to group as many treat you to a call for a single iteration, instead of several.

    you'd have a lot less overhead (the iteration function eats some cpu on its own).

    I hope that I made things clearer for you.

  • With the help of several models of breaking

    Hello

    We use BEEP 10.1.3.4, I have 2 questions regarding the breakup:

    1. is it possible to use several models of bursting - to give a quick explanation of our requirement, I need to burst a report with the destination file, but I want to have 2 different models based on a criterion in the application - that is to say if the category is X, then use A burst, the use of other model model B. Is this possible?

    2. I have planned another report to place every day, but I want the report to run only if there is no data output, it should not work if the output result set is empty - is there a way to remove the regular run when there is no data?

    I tried searching forums for the 2 question above, but could not find the right answers... Any comments will be highly appreciated.


    Concerning

    option 1:
    Use model PDF, burst them, you will get two different pdf output, use pdf merge into single output

    option 2:
    move to the rtf model to make the PDF model to the only two model RTF.
    It burst and get a single PDF output.

  • Problem with the help of several sensors piezo with DAQ

    Hey there,

    For a drum program, I have 2 buzzers piezo related to data acquisition in the code, I put it in place so that a different sound sample would be assigned to each sensor. However in the beginning, when I run the code, I hit a sensor (a1), he plays as ok. When I hit (a0), this kind of chance. Sometimes he plays the sample assigned to a0 or a1 or cheek then the other.

    Then messing around with the DAQ assistant, I changed the scope of the input signal and found that the entrance to the a1 plays the affected a0 sound instead. My mind is boggled.

    Code attached.

    Thanks in advance,

    Emile


  • With the help of several key values to find the data

    Hello, it's me again.

    I had a question out about data from database and display them on a page of the ADF on Jdev 11.1.1.3.

    And Mr. Daniel Atwood answered my question with this blog to follow, that wrote.
    http://www.avioconsulting.com/blog/datwood/2012/06/19/using-BPM-process-variable-ADF-form-retrieve-database-information-0.

    But I have another question on top that.

    The Mr.Atwood example is when using a value of key 'one', what happens if I have two key values, how to set?

    Here are some details:

    I have a table like this

    ID Type_code name
    0001 05 a-blabla
    0002 b 25-blabla
    0002 26 b-blabla
    0003-08 c-blabla
    0003 25 c-blabla
    0003 c 79-blabla

    What I want to do is after the entry of the ID (0003) and type_code (25), he will show me the result on three components of text entry in the ADF with the value 0003, 25 page and c-blabla.

    Currently, I use only ID to query the data, but I would use two key values to find specific data.

    Thank you very much for taking the time to think about it,

    Sincerely,

    Alto

    If you had multiple values to use for the request, one approach would be to create a display object. Whether you are creating the view object, in step 6, you will add two bind variables. Call a "pTypeCode" and call the other "pId". Click on the back button so that you're still in step 5, and modify the WHERE clause as follows:

    (ID = :pId) and (Type_code = :pTypeCode)
    

    After you have done this, double-click the Module of the Application and add your new view object. In the tab control of data, click the Refresh button. Expand your new view object tab of data control-> expand "French"-> note that you now have a new method called "ExecuteWithParams".

    Open your workflow diagram-> delete your existing "SetCurrentRowKeyValues" method-> made slide on your new "ExecuteWithParams" operation on the diagram. When you do so, you should see two settings you need to complete the dialog box. Just as you did before with the SetCurrentRowKeyValue method, set the values for the pTypeCode and the nest.

    Add the case of control flow of the new method to your existing view-> make the new method, the default value.

    On your form, remove the fields that have been placed here who uses the old object from view. On the tab of data control, drag the fields you want to be placed on the inside of your new view object form.

    Dan

  • With the help of several xml files to complete the 1 form.

    Hi all

    Thank you for reading this.

    My scenario is that I have a form which is the inspection report for a product.

    Once the technician has completed its inspection they fill out the form and send it (which saves the form as xml data in a specific folder on our network.

    Now 1 customer may have up to 10 items to be inspected on a single order. What I have to do is to create a customer report showing them the necessary work on their items.

    Basically, I need to be able to import up to 10 xml files of inspection report in 1 report form.

    I was looking for this with the authorities, but I'm wrong.

    I can get 1 data file imported by using xfa.host.importdata("filename")

    but this method seems to reset the form after the first call to the second instance of the form in the form of report receives all the data. (if this makes no sense at all)

    How can I configure my report form so I can fill different instances of the subform from different xml files?

    that is my xml files names are formatted with call number and line number, e.g. 42E11134 - 5.xml would call no. 42E11134 line 5.

    the folder on the network would have to be 42E11134-10 42E11134-1 (not superior because we cap the maximum points on the same order)

    I need to figurentsur instance subform 1, 42E11134-5 42E11134-1 data displayed on the subform instance 5 etc etc and also recognition of the number of necessary instances (but this could be selected by the user).

    If the authorities do not work I am happy to have 10 separate subforms with different names, but must exist within a single form.

    You can only import a single XML file. You have an xml file that has multiple instances of data, but it must be a single xml file.

    So you should find a way to combine all these into a single xml files then do the import.

    Paul

  • with the help of a vcenter server to manage different clusters.

    Hi all... I have a question about our current configuration.

    I have an Enterprise acceleration kit (6CPU), which is controlled by a vcenter server.

    I recently bought a vsphere essentials kit to host our "replica/backup server.

    I installed a secondary appliance of vsphere server on this kit essentials to host these servers.

    My question is can I use the server a vsphere, add these two licenses and all manage from the single interface?

    I guess adding a new cluster or datacenter would be the way to go, but not too sure if this is the best way to approach it.

    Thank you

    Nathan

    Of http://www.vmware.com/files/pdf/vsphere_pricing.pdf

    "vSphere Essentials and Essentials Plus Kits are stand-alone solutions and cannot be decoupled or combined with other editions of vSphere."

    Unless I am mistaken, it is even technically applied, i.e. you cannot add "Essentials" authorized hosts (with the exception of the retail and executive offices Kits) of a vCenter Server Standard edition.

    André

  • With the help of several styles of paragraph in a table cell

    Hello

    I'm stuck using several styles of paragraph within a cell. I guess the solution is that I need to start a new paragraph, but so far I have not found a way to do it. When I directly in InDesign, it works fine, but I can not start a new paragraph when you use the script.

    Here's a solution I've tried:

    with {(table)

    .properties de.insertionPoints.item-(1) lines [0] .cells [0] = {}

    content: '1 ' Format string,

    appliedParagraphStyle: styleFormat1

    };

    .properties de.insertionPoints.item-(1) lines [0] .cells [0] = {}

    content: "\rString in size 2',

    appliedParagraphStyle: styleFormat2

    };

    }

    But until now I did not get a new paragraph. When you look at the IDMLs, you can see that InDesign adds a new paragraph inside the cell, while my code remains in the same paragraph.

    Here the IDML result when I do in InDesign:

    "< cell auto ="ue0ie4i0"Name =" "0:0" RowSpan = "1" ColumnSpan = "1" AppliedCellStyle = "CellStyle / $ID / [no]" AppliedCellStylePriority = "0" >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format1" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 1 < / content >

    < Br / >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format2" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 2 < / content >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < / cell >

    And here is that when I use the script:

    "< cell auto ="ue0ie4i0"Name =" "0:0" RowSpan = "1" ColumnSpan = "1" AppliedCellStyle = "CellStyle / $ID / [no]" AppliedCellStylePriority = "0" >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format2" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 1 < / content >

    < Br / >

    < content > string to Format 2 < / content >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < / cell >

    It is therefore quite clear my script is not adding a new paragraph. Any ideas how to get a new paragraph so I can use more than one paragraph style?

    I don't have test nore debug your code, but I suggest you another method to apply the content and style of two paragraphs. Do not use a with statement.

    What is your version of InDesign?

    Example:

    // Add new document:
    var doc = app.documents.add();
    // Add two paragraph styles:
    var paraStyle1 = doc.paragraphStyles.add({name : "ParaStyle-1" , pointSize : 20});
    var paraStyle2 = doc.paragraphStyles.add({name : "ParaStyle-2" , pointSize : 15});
    
    // Add a new text frame (default is on page 1):
    var newTextFrame = doc.textFrames.add();
    newTextFrame.geometricBounds = [0,0,"150mm","150mm"];
    
    // Add a table to this text frame:
    var table = newTextFrame.tables.add
    (
        {
            bodyRowCount : 4 ,
            columnCount : 3 ,
            width : "150mm"
        }
    
    );
    
    // Assign the contents as array:
    // The fisrt and only entry in this array will give the first cell its contents:
    table.contents =
    [
        "Paragraph 1"+"\r"+"Paragraph 2"
    ]
    
    // Assign the formatting of the two paragraphs:
    table.cells[0].paragraphs[0].appliedParagraphStyle = paraStyle1;
    table.cells[0].paragraphs[1].appliedParagraphStyle = paraStyle2;
    

    Strategic outcome with InDesign CS6 Mac OS x 10.6.8 v8.1.0:

    Hope, that helps.
    Uwe

Maybe you are looking for