From owner-freebsd-isdn Tue Apr 13 9: 5:51 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from velsen.net (velsen.net [192.41.10.49]) by hub.freebsd.org (Postfix) with ESMTP id C07DF15738 for ; Tue, 13 Apr 1999 09:05:42 -0700 (PDT) (envelope-from luke@roberts.nl) Received: from roberts2 (office.intervisors.nl [194.109.13.117]) by velsen.net (8.8.5) id SAA04713; Tue, 13 Apr 1999 18:03:10 +0200 (CEST) Message-Id: <4.1.19990413180057.0095a810@pop.roberts.nl> X-Sender: luke@pop.roberts.nl X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Tue, 13 Apr 1999 18:02:16 +0200 To: freebsd-isdn@freebsd.org From: Luke Roberts Subject: problems setting up i4b (for FreeBSD Router) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I want to install a FreeBSD 2.2.7 box in such a way that it acts as an ISDN router to our internet provider. I want it to use NAT and maybe also include a firewall. The machine has a TELES 16.3 ISDN (ISA) card and also a standard NE2000 Network card. (The network card works). So far I have setup i4b 0.71.00 and when the machine boots the kernel I see the TELES 16.3 card with the correct i/o IRQ etc and not much later I see all the devices 14b, i4pisppp, i4bctl, i4bipr, 14btel, 14brbch, i4btrc I have made an isdn.rc file with the correct numbers to dial for our provider and also used a pretty standard script (from the i4b manual) for sppp for setting up the ppp connection to our provider. I thought that after I'd got this setup I'd give NAT and the Firewall a go to finish off the job. Unfortunatly I can't even get an outgoing connection going. All I get when I try to setup a connection is a load of warnings like: i4b-L3-i4b_decode_q931: cannot find call descriptor for cr 0x21, crflag = 0x1, msg = 0x7d, frame = 0x7d 0x8 0x3 0xe4 0x8 0x14 0x1 0x13 then I get more like: i4b-L3-T303_tikjeout: SETUP not answered, cr=33 i4b-L3-next_l3state: FSM illegal state, state = ST_U) - Null, event = EV_T303EXP - T303 timeout! and finaly: 14b-L1-timer4_expired: state = F3 Deactivated In /var/sys/messages I see the following: isp0: lcp open (initial) isp0: phase establish isp0: lcp close (starting) isp0: phase dead isp0: lcp close (initial) Has anybody got a clue what I did wrong? Next: Once I have the i4b setup correctly I would like to use the machine as a gate way and have the folowing questions. I hope somebody can find a little time to help me sort them out. Even a few hints and nudges in the right direction would realy help ;-) The machine's IP number is 192.168.0.100 1. Do I setup the machine's gateway pointing to itself (192.168.0.100) or do I have to specify my provider's gateway (194.159.73.222)? What do I do if I want to swap provider every now and then (because of connection problems? 2. In what order is IP traffic dealt with by the FreeBSD box? (ed0 -> NATd -> Firewall -> sPPP) 3. Does anybody have any hints on setting up the ISDN router If anybody takes the time to answer any of my questions, thanks a billion in advance! Luke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message