home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Software / Shareware / Comunicatii / nat32 / TWOIP.TXT < prev    next >
Text File  |  1999-02-27  |  3KB  |  77 lines

  1. NAT32: Connecting Private LANS to the Internet                    
  2. ----------------------------------------------
  3.  
  4. (C) 1999 A.C.T. Software
  5.  
  6. ***** ALL RIGHTS RESERVED *****
  7.  
  8. ----------------------------- TECHNICAL NOTE --------------------------------
  9.  
  10. ******  This information applies to the Windows 95/98 platform only.  *******
  11.  
  12. How to add a second IP address via the registry
  13. -----------------------------------------------
  14.  
  15. The Microsoft Windows 95/98 Control Panel Network applet does not allow a 
  16. second TCP/IP stack to be added to an Ethernet Adapter once the Dial-Up 
  17. Networking Adapter has been installed.
  18.  
  19. The easiest way to solve this problem is to uninstall DUN, add the required
  20. TCP/IP stack and then reinstall DUN.
  21.  
  22. This Technical Note describes an alternative method which allows a second IP
  23. address and Mask to be added to any Adapter via the Registry.  
  24.  
  25. 1. Run the program regedit.exe
  26.  
  27. 2. Open the Key HKLM\System\CurrentControlSet\Services\Class\NetTrans\
  28.  
  29. 3. You will see several Subkeys like:
  30.  
  31.         0000
  32.         0001
  33.         0002
  34.         
  35. 4. Select each Key in turn until you find the Key with an IPAddress Value
  36.    which matches the IP Address of the Adapter to which you wish to add
  37.    the second IP address.
  38.    
  39. 5. Double-Click that Value and an "Edit String" dialog box will be presented.
  40.    Add the second IP address, separating it from the first IP address with
  41.    a comma. No embedded spaces are allowed. Click OK.
  42.    
  43. 6. Now double-click the IPMask value, and add a second IPMask, using a comma 
  44.    as the separator. Click OK.
  45.    
  46. 7. Close RegEdit and reboot Windows.
  47.  
  48. Points to note
  49. --------------
  50.  
  51. NETBIOS cannot use the second IP address, so be sure the first IP Address is
  52. always the address you want NETBIOS to use.
  53.  
  54. NAT32 details
  55. -------------
  56.  
  57. After NAT32 has been configured, subsequent runs fail when a second IP 
  58. address has been added in this fashion. 
  59.  
  60. To correct this problem, simply use Notepad (or any other text editor) to 
  61. generate the file netcfg.tmp in your NAT32 directory. The content of this 
  62. file is not important, just the fact that it exists is sufficient to correct
  63. the problem.
  64.  
  65. Note that one side-effect is that NAT32 will *not* detect DHCP address
  66. changes on subsequent restarts.
  67.  
  68. If NAT32 is to be used in SERVER mode, be sure you check the ipmap command
  69. in the server file. Per default, it maps on IFN 2, but depending on the 
  70. order in which you specified the IP addresses in the Registry, you may need
  71. to map IFN 3.
  72.              
  73. This Technical Note applies only to NAT32 Build 1045 or higher.
  74.  
  75. -----------------------------------------------------------------------------
  76.  
  77.