From owner-freebsd-isdn Tue Aug 24 9:21:54 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by hub.freebsd.org (Postfix) with ESMTP id E211515191 for ; Tue, 24 Aug 1999 09:21:13 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/6) with ESMTP id SAA00841; Tue, 24 Aug 1999 18:19:13 +0200 (MET DST) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id SAA18362; Tue, 24 Aug 1999 18:19:21 +0200 (MET DST) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.2/8.6.9) id SAA52426; Tue, 24 Aug 1999 18:19:28 +0200 (CEST) Date: Tue, 24 Aug 1999 18:19:28 +0200 From: Christoph Kukulies To: Christian Wolf Cc: Christoph Kukulies , Hellmuth Michaelis , ISDN Mailinglist Subject: Re: Routing (was: isic0 not found at 0x340) Message-ID: <19990824181928.A52401@gil.physik.rwth-aachen.de> References: <19990824152855.A51258@gil.physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: ; from Christian Wolf on Tue, Aug 24, 1999 at 05:19:47PM +0200 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Aug 24, 1999 at 05:19:47PM +0200, Christian Wolf wrote: > On Tue, 24 Aug 1999, Christoph Kukulies wrote: > > > On Tue, Aug 24, 1999 at 01:51:55PM +0200, Hellmuth Michaelis wrote: > > > If i remember correctly, a packet is only routed to a destination in case > > > the destination is in a different network. > > > > Hhmm. > > > > Normaly a packet is routed to an interface if the destination is in the > *same* network, because this is what the ifconfig command adds to the > routing table. I assume this is, what Helle wanted to say ;-). > On a point-to-point interface the netmask should not matter, because > ifconfig adds only a host-route. On an broadcast or point-to-multipoint > interface a network-route is added to the routing table. It is not clear to me, where you set the netmask in your example. (0xffffff00). Besides thsi I copied your configuration exactly and I still have 'i4b nogo'. It worked for a short moment this afternoon but inmidst reading email it got hung and I never could make it work since then. Helle, what do these WRN ERRORS unkown message received from /dev/isdn (0x6e) mean? And what does the timeout mean? (i4b-L2-i4b_T202_timeout: unit 0, N202 = 3) > > This is the setup on one of our routers which works well on FreeBSD > 3.1-RELEASE with i4b-00.83.00-beta-300799: > > /etc/rc.conf looks like this: > ------------------------------------- 8< ------------------------------------- > network_interfaces="ed0 ipr0 ipr1 ipr2 ipr3 lo0" > ifconfig_ed0="inet 193.141.96.42 netmask 255.255.255.224" > defaultrouter="193.141.96.47" > hostname="bsdgate.medis.de" > keymap="german.iso" > ifconfig_ipr0="inet 193.141.96.42 193.141.96.1 link1" > ifconfig_ipr1="inet 193.141.96.42 193.141.96.2 link1" > ifconfig_ipr2="inet 193.141.96.42 193.141.96.3 link1" > ifconfig_ipr3="inet 193.141.96.42 193.141.96.4 link1" > gateway_enable="YES" > sendmail_enable="NO" > isdn_enable="YES" > isdn_fsdev="NO" > isdn_flags="-dn -d0x1f9" # Flags for isdnd > isdn_trace="NO" # Enable the ISDN trace subsystem (or NO). > isdn_traceflags="-f /var/tmp/isdntrace0" # Flags for isdntrace > ------------------------------------- >8 ------------------------------------- > > this results in: > ------------------------------------- 8< ------------------------------------- > $ ifconfig -au > ed0: flags=8843 mtu 1500 > inet 193.141.96.42 netmask 0xffffffe0 broadcast 193.141.96.63 > ether 00:00:c0:87:f5:ae > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > ipr0: flags=2811 mtu 1500 > inet 193.141.96.42 --> 193.141.96.1 netmask 0xffffff00 > ipr1: flags=2811 mtu 1500 > inet 193.141.96.42 --> 193.141.96.2 netmask 0xffffff00 > ipr2: flags=2811 mtu 1500 > inet 193.141.96.42 --> 193.141.96.3 netmask 0xffffff00 > ipr3: flags=2811 mtu 1500 > inet 193.141.96.42 --> 193.141.96.4 netmask 0xffffff00 > $ netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 193.141.96.47 UGSc 0 191 ed0 > 127.0.0.1 127.0.0.1 UH 0 13 lo0 > 193.141.96.1 193.141.96.42 UH 1 41427 ipr0 > 193.141.96.2 193.141.96.42 UH 0 0 ipr1 > 193.141.96.3 193.141.96.42 UH 0 230 ipr2 > 193.141.96.4 193.141.96.42 UH 0 0 ipr3 > 193.141.96.32/27 link#1 UC 0 0 ed0 > 193.141.96.33 8:0:20:18:af:93 UHLW 2 8250 ed0 930 > 193.141.96.36 8:0:20:81:9a:e1 UHLW 4 33530 ed0 1181 > 193.141.96.47 link#1 UHLW 1 0 ed0 > > ------------------------------------- >8 ------------------------------------- > > Regards, > Chris > -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message