Date: Tue, 24 Aug 1999 18:19:28 +0200 From: Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE> To: Christian Wolf <Christian.Wolf@medis.de> Cc: Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>, Hellmuth Michaelis <hm@hcs.de>, ISDN Mailinglist <freebsd-isdn@FreeBSD.ORG> Subject: Re: Routing (was: isic0 not found at 0x340) Message-ID: <19990824181928.A52401@gil.physik.rwth-aachen.de> In-Reply-To: <Pine.GSO.3.96.990824165526.15325A-100000@sun-chris.medis.de>; from Christian Wolf on Tue, Aug 24, 1999 at 05:19:47PM %2B0200 References: <19990824152855.A51258@gil.physik.rwth-aachen.de> <Pine.GSO.3.96.990824165526.15325A-100000@sun-chris.medis.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > > <scratching head> > > 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet 193.141.96.42 netmask 0xffffffe0 broadcast 193.141.96.63 > ether 00:00:c0:87:f5:ae > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > ipr0: flags=2811<UP,POINTOPOINT,SIMPLEX,LINK1> mtu 1500 > inet 193.141.96.42 --> 193.141.96.1 netmask 0xffffff00 > ipr1: flags=2811<UP,POINTOPOINT,SIMPLEX,LINK1> mtu 1500 > inet 193.141.96.42 --> 193.141.96.2 netmask 0xffffff00 > ipr2: flags=2811<UP,POINTOPOINT,SIMPLEX,LINK1> mtu 1500 > inet 193.141.96.42 --> 193.141.96.3 netmask 0xffffff00 > ipr3: flags=2811<UP,POINTOPOINT,SIMPLEX,LINK1> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990824181928.A52401>