zurück vorwärts Inhalt Stichwörter

PPP-Host hinter Xenia/2


PPP-Host hinter Xenia/2

Anhand der BINKLEY Konfiguration hat Ralph Bieler 2:2450/510 diese Konfiguration für
XENIA aufgebaut.

Ein Auszug aus XENBBS.CFG um das PPP zu erkennen und den PPP-HOST zu starten

; =============================================================================
; XENBBS.CFG  Applications (BBS, UUCP)        Xenia Version 1.98 - January 1995
; =============================================================================

EXTAPP ALWAYS }# SPAWN XENPPP PPP-Intranet

; =============================================================================

Beispiel XENPPP.CMD

@ECHO OFF
REM --- Called from Xenia Mailer EXTAPP
CALL RUNPPP.CMD %1 %2 %3 %4 %5 %6 %7
REM --- drop out

Beispiel RUNPPP.CMD

@echo off

echo.>>m:\xenia\ipc\ppp.flg

if %1 == 1 goto PPPLINE1 if %1 == 2 goto PPPLINE2 if %1 == 3 goto PPPLINE3 if %1 == 4 goto PPPLINE4 if %1 == 5 goto PPPLINE5 if %1 == 6 goto PPPLINE6

:PPPLINE1 REM PPP ON LINE 1 COM2 (RECHNER 2) Teilnetz 192.168.3.x ppp.exe com2 %6 mru 1500 rtscts modem 192.168.3.1:192.168.3.11 netmask 255.255.255.0 priority 1 restart silent exit name gate1 GOTO ENDE

:PPPLINE2 REM PPP ON LINE 2 COM3 (RECHNER 2) Teilnetz 192.168.3.x ppp.exe com3 %6 mru 1500 rtscts modem 192.168.3.2:192.168.3.12 netmask 255.255.255.0 priority 1 restart silent exit name gate2 GOTO ENDE

:PPPLINE3 REM PPP ON LINE 3 COM5 (RECHNER 1) Teilnetz 2.x ppp.exe com5 %6 mru 1500 rtscts modem 192.168.2.1:192.168.2.11 netmask 255.255.255.0 priority 1 restart silent exit name gate3 GOTO ENDE

:PPPLINE4 REM PPP ON LINE 4 COM6 (RECHNER 1) Teilnetz 2.x ppp.exe com6 %6 mru 1500 rtscts modem 192.168.2.2:192.168.2.12 netmask 255.255.255.0 priority 1 restart silent exit name gate4 GOTO ENDE

:PPPLINE5 REM PPP ON LINE 5 COM5 (RECHNER 2) Teilnetz 3.x ppp.exe com5 %6 mru 1500 rtscts modem 192.168.3.3:192.168.3.13 netmask 255.255.255.0 priority 1 restart silent exit name gate5 GOTO ENDE

:PPPLINE6 REM PPP ON LINE 6 COM6 (RECHNER 2) Teilnetz 3.x ppp.exe com6 %6 mru 1500 rtscts modem 192.168.3.4:192.168.3.14 netmask 255.255.255.0 priority 1 restart silent exit name gate6 GOTO ENDE

:ENDE

Die SETUP.CMD für der Rechner 1 (GATE1)

route -fh
arp -f
ifconfig lan0 192.168.1.1 up netmask 255.255.255.0
REM ifconfig lan1
REM ifconfig lan2
REM ifconfig lan3
REM ifconfig lan4
REM ifconfig lan5
REM ifconfig lan6
REM ifconfig lan7
REM ifconfig sl0
route add net 192.168.3 192.168.1.2 1
ipgate on

Die SETUP.CMD für der Rechner 1 (GATE2)
route -fh
arp -f
ifconfig lan0 192.168.1.2 netmask 255.255.255.0
REM ifconfig lan1
REM ifconfig lan2
REM ifconfig lan3
REM ifconfig lan4
REM ifconfig lan5
REM ifconfig lan6
REM ifconfig lan7
REM ifconfig sl0
route add default 192.168.1.1 0
ipgate on

vorwärts Inhalt Stichwörter