19. August 1996 Martin Lotze Administrator bei: InternetServiceProvider ComProNet Warburg Paderborner Tor 122; 34414 Warburg http://www.ComProNet.de/index.html Tel: (0 56 41) 74 04 30 Beispielkonfiguration fuer D64S mit i4l und Linux: ================================================== Ich habe mal eine kurze Anleitung zusammengestellt um eine D64S mit ISDN4Linux und einem BANZAI! (Concorde) Router zum 'laufen' zu bringen. Wenn man fuer die Platzhalter die 'richtigen' IP-Nummern einsetzt sollte es eigentlich laufen. Bei mir funktioniert diese Konfiguration seit ca. 2 Monaten (meistens :-)) stabil. Ich verwende als Gateway einen 486/40 8MB RAM und einer 100MB Festplatte mit einer 4B ICN Karte. Wer fragen zu den Config Files hat kann mir auch eine Mail schicken: matze@ComProNet.de. Die im folgenden beschriebenen Schritte f\"uhren (hoffentlich) zu einer erfolgreichen Konfiguration: 1. I4L besorgen und 'vorbereiten' 2. mein rc.isdn script ein bisschen anpassen 3. Concorde (BANZAI!) konfigurieren (wer meine Konfigurationsfiles nicht versteht soll bitte das Handbuch verwenden!!!) 4. fertig ===== BEGIN ===== #!/bin/sh # # Start des ISDN Systems # Low Level ISDN /sbin/insmod /lib/modules/1.2.13/misc/isdn.o # Card Module /sbin/insmod /lib/modules/1.2.13/misc/icn.o portbase=0x320 membase=0xd0000 id=line0 id2=line1 # Firmware (only ICN) /sbin/icnctrl load /etc/icn/loadpg.bin /etc/icn/pc_eu_ca.bin /etc/icn/pc_eu_ca.bin # Set debug level /sbin/isdnctrl verbose 3 # D64S nach OrtA /sbin/isdnctrl addif spv0 /sbin/isdnctrl eaz spv0 1 /sbin/isdnctrl huptimeout spv0 0 /sbin/isdnctrl l2_prot spv0 hdlc /sbin/isdnctrl l3_prot spv0 trans /sbin/isdnctrl encap spv0 rawip /sbin/icnctrl -d line0 leased on /sbin/ifconfig spv0 'local_ip1' pointopoint 'remote_ip1' /sbin/route add 'remote_ip1' spv0 /sbin/route add -net 'remote_net1' netmask 'remote_netmask1' spv0 # Zur Sicherheit sonst Kernelpanic sleep 3 # D64S nach OrtB /sbin/isdnctrl addif spv1 /sbin/isdnctrl eaz spv1 1 /sbin/isdnctrl huptimeout spv1 0 /sbin/isdnctrl l2_prot spv1 hdlc /sbin/isdnctrl l3_prot spv1 trans /sbin/isdnctrl encap spv1 rawip /sbin/icnctrl -d line1 leased on /sbin/ifconfig spv1 'local_ip2' pointopoint 'remote_ip2' /sbin/route add 'remote_ip2' spv1 /sbin/route add -net 'remote_net2' netmask 'remote_netmask2' spv1 # EOF ACHTUNG es folgen BANZAI CONFIG FILES / ACHTUNG es folgen BANZAI CONFIG FILES / ACHTUNG es folgen......... isdnpkt.cfg: # Comment lines are allowed, # as well as comments at the end of the line and blank lines # #irq Name Prot dir contr other_number match_incoming EAZ Serv S.add Retries Down idle_in idle_o use_dy Frag wsize laAin laBin laAout laBout B2-IN B2-OUT B3-IN B3-OUT # # Remote i4l Config 62 2i4l IP P 0 tap1 * 9 07 00 4 180 * * 0 2000 7 3 1 3 1 2 2 4 4 ipswitch.if: ########### IPSWITCH.IF ################### # BANZAI ISDNGATE # Remote i4l Configuration # #irq usearp routeinf routepr res inet(dez) broadcast(dez) netmask(hex) # # Ethernet1 60 1 1 1 0 local_ip local_broad local_netmask # ISDN 62 0 0 0 0 local_ip local_broad local_netmask ipswitch.rt: ########### IPSWITCH.RT ### # BANZAI! ISDNGATE # Remote i4l CONFIG #irq prop ltime metric gateway(dez) src-ip(dez) src-nm(hex) dst-ip(dez) dst-nm(hex) # Ethernet-Karte 60 1 0 0 0.0.0.0 0.0.0.0 00.00.00.00 local_net local_netmask # ISDN-Karte 62 0 0 0 0.0.0.0 0.0.0.0 00.00.00.00 00.00.00.00 00.00.00.00 ===== END ==== Viel Spass damit... bye matze