IPNET

    Configuration

     Author : Marc LEGOUX
     Date :  31 Oct 2004
     
    Copyright © SMARTWARE 2004, All rights reserved




    Table of Contents


     1. IPNET (Ethernet) Configuration
      1.1. Configuration in MLOS.INI
        1.1.1. ETHERNET : Initial configuration
        1.2. Configuration in HARDWARE.INI
          1.2.1. ETHERNET : Initial configuration




         1. IPNET (Ethernet) Configuration

          Compatibility:
          MLOS32 : An IPNET object must be started for each ethernet physical port to provide sockets on those ports.
          MLOSWIN : Sockets are supported by the host operating system. Default parameters are used when an IPNET object is not started.

          The IPNET (also called Ethernet) object enables to connect a machine through an ethernet network using sockets. The underlying UDP or TCP protocols can be choosen (IP naming must be used).
          This network can be used directly through C functions with the MLOS syst_Socket interface (See systsock.h), or with the classical BSD interface (See sockbsd.h).
          It can also be used for transparent calls between SYSOBJ objects thanks to the MLPIP and MLPTCP protocols.


        1.1. Configuration in MLOS.INI

          This configuration is available to users and can be modified.


        1.1.1. ETHERNET : Initial configuration

          The IPNET (ethernet) object is started according to the following software configuration:

          [ETHERNET]
          	Verbose = 1
          	LocalNode = 1
          
          	IpBase = 192.168.00.80
          	IpMask = 255.255.255.00
          	IpGate = 00.00.00.00
          	Ip = 192.168.00.81
          
          	StackSocketMax = 16
          	StackBufferMax = 256
          	StackARPMax = 100
          	StackSize = 0x1000
          
          Parameters :
            Verbose
            Ored flags that define the verbose level.
          • = 1 : Standard (Error messages)
          • = 0 : Mute
          • Default : 1

          • LocalNode
            Sysobj local node of the station (1..0xFE).
          • Default : 1

          • IpBase
            IP Base address.
          • Default : 192.168.00.80

          • IpMask
            IP Mask address.
          • Default : 255.255.255.00

          • IpGate
            IP Gate address.
          • Default : 00.00.00.00

          • Ip
            Local IP address. One of the following syntaxes is accepted:
          • = D.D.D.D : Standard IP syntax with four decimal bytes (D).
          • HostId[<n>] : The local IP address is the current IP address assigned to one of the installed network adapters (MLOSWIN only). The adapter is selected by n that can take a value between 1 and 9. Ex: HostId6 selects the adapter 6. If n is absent, a random adapter is selected.
          • Default : IpBase + LocalNode

          • StackSocketMax
            Maximum number of available sockets in the IP stack (MLOS32 Only).
          • Default : 16
          • Maximum : 128

          • StackBufferMax
            Maximum number of available buffers in the IP stack (MLOS32 Only).
          • Default : 0x100
          • Maximum : 0x1000

          • StackARPMax
            Maximum number of available entries in ARP table of the IP stack (MLOS32 Only).
          • Default : 100
          • Maximum : 500

          • StackSize
            Maximum size of the IP stack (MLOS32 Only).
          • Default : 0x1000
          • Maximum : 0x10000
          Remarks :

            The IPNET object is started ONLY if the [ETHERNET] section is declared in the .INI file. Otherwise the higher level interfaces that need IPNET (like IP sockets) can not be started.

            If a parameter is not present in the .INI, it can be initialized by the .INI configuration of a higher network level like MLPIP that could change the LocalNode for instance. If a parameter is not set by any configuration level it takes the default value.

        1.2. Configuration in HARDWARE.INI

          This configuration is reserved to SMARTWARE.
          It must not be modified by a user.


        1.2.1. ETHERNET : Initial configuration

          The IPNET (ethernet) object is started according to the following hardware configuration:

          [ETHERNET]
          	MacAddr = Hardware defined or 00309B000000
          	Sn = xxxxxxxxxxxxx
          
          Parameters :
            MacAddr
            Ethernet Mac address (12 hexa digits).
          • Default : Hardware defined or 00309B000000 + LocalNode

          • SN
            Board serial number (13 ascii chars).


         SMARTWARE

        Smart Technology for Smart Industry


          COPYRIGHT

          All rights of translation, adaptation and reproduction by any mean reserved for all the countries.

          Any reproduction or any complete or partial representation of the pages published in this work, made without the written permission of SMARTWARE is illicit and constitutes an imitation, whatever mean is used. Only reproductions strictly reserved for the private use of the purchaser and not intended to be used collectively are authorized. So are the short quotations justified by the scientific or informative nature of the work which they are extracted from.(art L.122-4 L. 122-5 and L. 335-2 of the French Code ruling on intellectual property).


          © SmartWare, Antony, France, 1999,2004

          WARNING

          Information in this document is subject to change without notice and does not represent a commitment on the part of SMARTWARE.

          REGISTRED TRADEMARKS

          FACET, PowerFACET, US-CORE, SmartTalk are registered trademarks of SMARTWARE.
          MS-DOS, WIN32, WINDOWS 95/NT, WORD are registered trademarks of Microsoft Corporation.

          ADDRESS

            SMARTWARE

            49, Avenue Aristide Briand
            92160 ANTONY
            France

            Tel 33 1.46.74.00.44
            Fax 33 1.46.74.00.14

            E-mail support@smartware.fr