home *** CD-ROM | disk | FTP | other *** search
/ PC Press: Internet / PC_PRESS.ISO / software / dos / misc / inar-100.exe / SAMPLES / ETH2ETH next >
Encoding:
Text File  |  1995-05-21  |  1.7 KB  |  104 lines

  1. # Configuration for a gateway that connects four LANs to each other
  2.  
  3. # All Internet and ISDN numbers in this sample file are purely fictional,
  4. # but logically correct.
  5.  
  6. #---------------------------------------------------
  7. # Globals
  8. #---------------------------------------------------
  9.  
  10. global
  11.     syslog
  12.         host 193.200.150.10
  13.         priority info
  14.         logsource
  15.             system
  16.             routing
  17.         endlogsource
  18.     endsyslog
  19.  
  20.     prefix @echo off
  21.     suffix cls\n\
  22.         echo InterNet Access Router
  23. endglobal
  24.  
  25. #---------------------------------------------------
  26. # Interfaces
  27. #---------------------------------------------------
  28.  
  29. interface
  30.     name LAN-1
  31.     type ethernet
  32.     address 193.200.150.1
  33.     netmask 255.255.255.0
  34.     metric 1
  35.  
  36.     attributes
  37.         send_rip
  38.         listen_rip
  39.         send_default_route
  40.         listen_default_route
  41.     endattributes
  42.  
  43.     driver
  44.         command ne2000 0x%x 0x3 0x300
  45.     enddriver
  46. endinterface
  47.  
  48. interface
  49.     name LAN-2
  50.     type ethernet
  51.     address 193.200.151.1
  52.     netmask 255.255.255.0
  53.     metric 1
  54.  
  55.     attributes
  56.         send_rip
  57.         listen_rip
  58.         send_default_route
  59.         listen_default_route
  60.     endattributes
  61.  
  62.     driver
  63.         command ne2000 0x%x 0x4 0x320
  64.     enddriver
  65. endinterface
  66.  
  67. interface
  68.     name LAN-3
  69.     type ethernet
  70.     address 193.200.152.1
  71.     netmask 255.255.255.0
  72.     metric 1
  73.  
  74.     attributes
  75.         send_rip
  76.         listen_rip
  77.         send_default_route
  78.         listen_default_route
  79.     endattributes
  80.  
  81.     driver
  82.         command ne2000 0x%x 0x5 0x340
  83.     enddriver
  84. endinterface
  85.  
  86. interface
  87.     name LAN-4
  88.     type ethernet
  89.     address 193.200.153.1
  90.     netmask 255.255.255.0
  91.     metric 1
  92.  
  93.     attributes
  94.         send_rip
  95.         listen_rip
  96.         send_default_route
  97.         listen_default_route
  98.     endattributes
  99.  
  100.     driver
  101.         command ne2000 0x%x 0x2 0x360
  102.     enddriver
  103. endinterface
  104.