НОВОЕ: OS/2 GURU - Вопросы и ответы

Reviews / articles about OS/2

Operating systems:
ArcaOS, eComStation, IBM OS/2 Warp
eComStation myths 

Latest  
 
 

Unsorted

 

 

Upgrade ArcaOS to NeoWPS level

  • Install original PNG icons drawed by designer, specialized at OS/2 adornation.
  • Install eSchemes 2018 to change colors and buttons on desktop.

Serenity Virtual Net Driver


TITLE: Serenity Virtual Net Driver

DATE: 2004-05-01 21:06:48

AUTHOR: eCo Software
Please use online translator
go to http://translate.google.com
and request the translation of http://en.ecomstation./projects/reviews/index.php?id=107
to your language

As you know, Early Support Programm (ESP) for the Serenity Virtual Station (SVISTA) is running. Users are testing the machine, collect new suggestions related to its improvement and enchancement.

This article describes how to configure network support for Host with eComStation operating system installed.

To connect Guests to network it's necessary install Serenity Virtual Net Driver on Host. This is a usual eComStation driver for Ethernet network card. So, it should be configured using standard system tools (MPTS, tcpcfg2.cmd). The driver establishes a subnet with your Host and all its Guests:

     <----+----> to other real computers or Internet gate 
          #
      +-------+        +--------+              +--------+
      |  Host |        | Guest1 |              | GuestN |
      +---+---+        +---+----+              +---+----+
          $                $                       $
          +----------------+------- .......  ------+


 

Follow this roadmap:

  • Equip host & guest with network drivers;
  • Check network card settings inside Guest and SViSta Settings notebook;
  • Adjust routing information;

1. Host: SVSNET.sys installation

Call MPTS to install and configure network drivers.
MPTS -> Configure -> Add card -> Add protocol for card -> Save

You have installed driver for virtual SVSNET card. Bind TCP/IP protocol to it. Assign IP address for this card using TCP/IP configuration utility (tcpcfg2.cmd). Enable IP forwarding (ipgate on command) to admit passing packets outside the virtual network.

Further configuration of network requires knowledge (IBM Red books) or advices from specialist in network science. Here is a simple example (all computers are equipped with eComStation; all Guests are equipped with eComStation too).

2. Guest: NE2000 driver installation

Install drivers for NE2000 network card inside every Guest. Check I/O port and IRQ (should be equal inside Guest and in SViSta Settings notebook).

3.1 Routing -- Small network (homeinet with NAT on Gateway)


                     Net 192.168.1.0 netmask 255.255.255.0
                      
                      +---------+      +---------+
                      |  NG 1   |      |  NG 2   +---> Gateway + NAT
                      +----+----+      +----+----+
                           # .2             # .1
   Real NetWork      +-----+----------------+    
                     # .3
                 +---+----+       +--------+              +--------+
                 |My Host |       | Guest1 |              | GuestN |
                 +---+----+       +---+----+              +---+----+
                     $ .1             $ .2                    $ .254
   Virtual NetWork   +----------------+------- .......  ------+  
                      
                      Net 192.168.2.0 netmask 255.255.255.0

You are running Guests inside "My Host" (lan0: 192.168.1.3, lan1: 192.168.2.1)
How to admit your Guest* systems to Internet?

  • Add this line to \mptn\setup.cmd on 192.168.1.1 (NG 2 computer) (or call TCP/IP configuration utility)
        route add 192.168.2.0 192.168.1.3
    

    Remarks:

    • this line allows NG 2 see all Guests.
    • if you want allow NG 1 see all Guests or Guests should see NG 1 then add the same routing line to NG 1 setup.cmd

  • Configure every Guest machine:
        route add default 192.168.2.1
    

    and mention the DNS server in %etc%\resolv2 files (ping the server for checking)

        domain
        nameserver aaa.bbb.ccc.ddd
    

3.2 Routing -- Small network (without NAT)

You are running Guests inside "My Host" (lan0: 192.168.1.3, lan1: 192.168.2.1)
Where to install NAT? How to configure Guests?

  
                     Net 192.168.1.0 netmask 255.255.255.0
                     
                      +---------+      +---------+
                      |  NG 1   |      |  NG 2   +----> Gateway
                      +----+----+      +----+----+
                           # .2             # .1
   Real NetWork      +-----+----------------+    
                     # .3
                 +---+----+       +--------+              +--------+
                 |My Host |       | Guest1 |              | GuestN |
                 +---+----+       +---+----+              +---+----+
                     $ .1             $ .2                    $ .254
   Virtual NetWork   +----------------+------- .......  ------+  
   
                     Net 192.168.2.0 netmask 255.255.255.0

In this case we recommend install NAT on 192.168.1.3 (use Sfire to establish NAT). Add this line to Guest's setup.cmd:

    route add default 192.168.2.1

and add the DNS server to %etc%\resolv2 file.

Remark: Guests will be not visible to NG 1 & NG 2.

4. User's support

Support is provided through the Internet:


 


Test the program:

[You can promote your application here, contacts]

Komentarze:

eComStation 2.0 can (automatically) switch between WiFi and Ethernet without headache. eCS 2.0 what's new?

 


 

(C) OS2.GURU 2001-2021