Article Title : Telebit NetBlazer ppp setup Creation Date : 01/26/94 Message ID : KGDNDQ Last Update : 02/23/94 Expiration Rules : 07/01/95 Location : NCD-Articles/Networking ================================================================= This document is a sample of the commands used to add a login and a slip or ppp interface to the Telebit NetBlazer. This example assumes you are not trying to add a permanent SLIP or PPP interface for a direct connected rs232 device. Also included is additional information required for a NCD ppp or slip connection to ensure the NCD routes are setup correctly, as will as an example of the command used to start xremote over the ppp or slip connection. Adding a SLIP or PPP interface to the NetBlazer: ====================================== The command ipdial is used to add the interface and the login account. The interface added and login account name used in the example is "startppp". When ipdial is entered at the NetBlazer prompt, the NetBlazer will prompt the user ( the user must have setup and change privilages i.e. root login on the NetBlazer) for the necessary information required to setup the SLIP or PPP interface and login account. I have also added the response I used to setup the "startppp" interface and login (each command is followed by a carriage return). Once the interface and login has been added, the user will need to add the route and a proxy for the new interface, as well as set the dynamic timeout for each interface. The dynamic timeout is used to terminate a connection when the traffic on the interface has stopped. The route should be added using the "auto-route"command, SO MAKE SURE THE USER ANSWERS THE IPDIAL QUESTION "Add routes for interface [y]?" with a NO! The auto-route command usage is as follows: "Usage: auto-route ". The proxy should be added using the "proxy" command. The proxy command usage is as follows: "Usage: proxy ether|token| ". The dynamic timeout is set using the "dynamic timeout" command. The dynamic timeout command usage is as follows: Usage: timeout ## set the interface time to keep a line around when idle ## After completing the auto-route, the proxy command and the dynaminc timeout entry, make sure you enter "save" to write the current information to the NetBlazer's floppy disk. The NetBlazer is now setup for SLIP or PPP. The next step will be to setup the NCD to use PPP or SLIP as will as run xremote or this type of connection. Connect the NCD's RS232 port to the NetBlazer or use a modem connection to the NetBlazer. When you get the NetBlazer prompt in the NCD's local serial client window enter the interface login name (the example login is "startppp"). The NCD's local serial client will close when using PPP only. The user may need to goto the CHANGE SETUP PARAMETERS client and add a route in the IP menu section on the NCD. This will only be required if your NCD is being used with attachments to both Ethernet and Serial PPP. The route should look like this: Destination gateway Pref type creation Birth time Des Type 128.9.209.0 128.9.209.254 0 static local n/a n/a network After the route is added to the IP menu ROUTING TABLE you will be able to telnet to any of the hosts on the 128.9.209.x network. Make sure you depress the APPLY button at the bottom of the CHANGE SETUP PARAMETERS menu after you make the route entry in the IP menu ROUTING TABLE. When using a NCD with a Serial PPP connection only, all the user will need to add is the correct IP and Peer IP address and the default gateway setting in the CHANGE SETUP PARAMETERS client under the PPP and SLIP menu. The PPP and SLIP interface Table should look like this: Port Number IP Address Peer IP Address Dflt Gateway Compress Headers 1 128.9.209.147 128.9.209.254 true true To start Xremote over PPP you will need to enter the following command: ========================================================= xinitremote -- -inet -display :0 & Example: ======= xinitremote -- -inet -display 128.9.209.147:0 & This should allow the user to make both telnet connection over PPP or SLIP and run Xremote over the PPP or SLIP connection for higher performance Xclient operation. Example of using IPDIAL to add a PPP interface and a login: =============================================== NetBlazer_prompt> ipdial Name of remote (other) system: startppp Allow dial-out from this interface [y]? n Allow dial-in to this interface [y]? y Begin adding interface 'startppp' ... Chat script [ics]: ics SLIP or PPP (s|p) [s]: p Maximum lines to connect to remote system [1]: 1 What is the Maximum Receive Unit (MRU) [1500]: 1500 Add dynamic interface=startppp, user=, chat=ics, using PPP without crypto handshaking, max-lines=1, MRU=1500 Okay (yes|no|quit) [y]? y Please add the information that the remote system 'startppp' will use to contact this NetBlazer Want to enter a password [y]? y Enter the password (no echo): Re-enter the password: Issue a crypto handshake [n]? n User: startppp privs: dest-group: Okay (yes|no|quit) [y]? y Add routes for interface [y]? n ... Done adding dial IP For proper communications, remote system should have: 1) Dynamic interface=NetBlazer, user=startppp, chat=ics, using PPP without crypto handshaking, max-lines=1, MTU<=1500 2) Dialout=NetBlazer 3) Route destination=138.43.209.254, interface=TS_NetBlazer, gateway=none, metric=1 Example of using the auto-route command: ================================= NetBlazer:Top> configure NetBlazer:Top>Configure> interface NetBlazer:Top>Configure>Interface> dynamic NetBlazer:Top>Configure>Interface>Dynamic> auto-route startppp add 128.9.209.147/32 NetBlazer:Top>Configure>Interface>Dynamic> save Example of using the proxy command: ============================== NetBlazer:Top> configure NetBlazer:Top>Configure> arp NetBlazer:Top>Configure>ARP> proxy 128.93.209.156 en0 NetBlazer:Top>Configure>ARP> save Example of using the dynamic timeout command: ============================== NetBlazer:Top> dynamic NetBlazer:Top>Configure>Interface>Dynamic> timeout startppp 0 NetBlazer:Top>Configure>Interface>Dynamic> save Sample copy of NCD's netblazer startup.cnf file: ===================================== version 1.5 configure setconsole asy00 configure debug remote off configure asy speed line00 9600 configure asy speed line01 9600 configure asy speed line10 38400 configure asy speed line11 38400 configure asy speed line12 38400 configure asy speed line13 9600 configure asy speed line14 9600 configure asy speed line15 9600 configure asy speed line16 57600 configure asy speed line17 9600 configure hostname NetBlazer sessions escape #29 configure ip address 138.43.209.254 configure group add dialout configure group modify dialout add dialout configure group add v32dialout configure group modify v32dialout add dialout configure group modify v32dialout add v32 configure group add request configure group modify request add request configure group add pepdialout configure group modify pepdialout add dialout configure group modify pepdialout add pep configure group add raw configure group modify raw add raw configure group add raw_dial configure group modify raw_dial add raw configure group modify raw_dial add dialout configure group add v25dialout configure group modify v25dialout add v25bis configure dialout add tbupdate 1-408-745-3700 dialout 10 0 0 configure servers start telnet configure servers start ftp configure servers start rip configure servers start finger configure ip address 127.0.0.1 loopback configure interface dynamic add tbupdate "tbupdate" "netblazer" #0 "ics" slip 1 1500 configure ip vj tbupdate auto configure interface dynamic add pppstart "" #0 #0 "ics" ppp 1 1500 configure interface dynamic timeout pppstart 0 configure interface dynamic auto-route pppstart add 138.43.209.147/32 configure ip vj pppstart auto configure interface dynamic add slipstart "" #0 #0 "ics" slip 1 1006 configure interface dynamic auto-route slipstart add 138.43.209.147/32 configure ip vj slipstart auto configure interface dynamic add slipdirect "" #0 #0 "ics" slip 1 1006 configure interface dynamic auto-route slipdirect add 138.43.209.146/32 configure ip vj slipdirect auto configure interface dynamic add pppdirect "" #0 #0 "ics" ppp 1 1500 configure interface dynamic auto-route pppdirect add 138.43.209.146/32 configure ip vj pppdirect auto configure line access line00 all configure line auto line00 on configure line delay line00 0 configure line dtrtime line00 1100 configure line dcdtime line00 2 configure line dsrtime line00 3 configure line idle line00 0 configure line flow line00 auto configure ip address 138.43.209.254 line00 configure line terminal line00 "" configure line access line01 all configure line auto line01 on configure line delay line01 0 configure line dtrtime line01 1100 configure line dcdtime line01 2 configure line dsrtime line01 3 configure line idle line01 0 configure line flow line01 auto configure ip address 138.43.209.254 line01 configure line terminal line01 "" configure line access line10 all configure line auto line10 on configure line delay line10 0 configure line dtrtime line10 1100 configure line dcdtime line10 2 configure line dsrtime line10 3 configure line idle line10 0 configure line flow line10 auto configure ip address 138.43.209.254 line10 configure line characteristics line10 dialout configure line modem line10 USR-V32bis configure line terminal line10 "" configure line access line11 all configure line auto line11 on configure line delay line11 0 configure line dtrtime line11 1100 configure line dcdtime line11 2 configure line dsrtime line11 3 configure line idle line11 0 configure line flow line11 cts/rts configure ip address 138.43.209.254 line11 configure line terminal line11 "" configure line access line12 all configure line auto line12 on configure line delay line12 0 configure line dtrtime line12 1100 configure line dcdtime line12 2 configure line dsrtime line12 3 configure line idle line12 0 configure line flow line12 auto configure ip address 138.43.209.254 line12 configure line characteristics line12 dialout configure line modem line12 t1600 configure line terminal line12 "" configure line access line13 all configure line auto line13 on configure line delay line13 0 configure line dtrtime line13 1100 configure line dcdtime line13 2 configure line dsrtime line13 3 configure line idle line13 0 configure line flow line13 auto configure ip address 138.43.209.254 line13 configure line terminal line13 "" configure line access line14 all configure line auto line14 on configure line delay line14 0 configure line dtrtime line14 1100 configure line dcdtime line14 2 configure line dsrtime line14 3 configure line idle line14 0 configure line flow line14 auto configure ip address 138.43.209.254 line14 configure line terminal line14 "" configure line access line15 all configure line auto line15 on configure line delay line15 0 configure line dtrtime line15 1100 configure line dcdtime line15 2 configure line dsrtime line15 3 configure line idle line15 0 configure line flow line15 auto configure ip address 138.43.209.254 line15 configure line terminal line15 "" configure line access line16 all configure line auto line16 on configure line delay line16 0 configure line dtrtime line16 1100 configure line dcdtime line16 2 configure line dsrtime line16 3 configure line idle line16 0 configure line flow line16 cts/rts configure ip address 138.43.209.254 line16 configure line terminal line16 "" configure line access line17 all configure line auto line17 on configure line delay line17 0 configure line dtrtime line17 1100 configure line dcdtime line17 2 configure line dsrtime line17 3 configure line idle line17 0 configure line flow line17 auto configure ip address 138.43.209.254 line17 configure line terminal line17 "" configure arp add 138.43.209.255 ether ff:ff:ff:ff:ff:ff configure arp proxy 138.43.209.146 en0 00:00:c0:8f:37:20 configure arp proxy 138.43.209.147 en0 00:00:c0:8f:37:20 configure arp proxy 138.43.209.156 en0 00:00:c0:8f:37:20 #add static routes: configure ip route addprivate 127.0.0.1/32 loopback configure ip route addprivate 143.191.20.1/32 tbupdate configure ip route add 138.43.209.0/24 en0 configure ip route addprivate default en0 138.43.209.2 2 configure ip ttl 255 configure ip rtimer 30 configure ip filter notify on configure ip rip merge off configure ip tcp irtt 5000 configure ip tcp mss 512 configure ip tcp window 2048 configure servers start snmp configure snmp sysDescr Epilogue Technology SNMP agent for Telebit NetBlazer configure snmp sysContact sysContact not set configure snmp get-community public configure snmp set-community private configure snmp trap-community SNMP_trap configure snmp trap authentication off configure snmp trap startup off configure syslogto off #Security command(s) configure security login disable configure security write enable user configure security write enable stat configure security write enable priv configure accounting off configure message hello nlmsgnl nlmsgnl "Telebit's NetBlazer Version %s" nlmsgnl configure alias add "matadero" telnet -b 138.43.209.23 configure alias add "paradise" telnet -b 138.43.209.9 configure alias add "update" ftp 143.191.20.1 configure user changeable off