From owner-freebsd-questions Mon Mar 20 13:57:57 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA07668 for questions-outgoing; Mon, 20 Mar 1995 13:57:57 -0800 Received: from rf.dataradio.com (G496.InterLink.NET [198.168.61.62]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id NAA07660 for ; Mon, 20 Mar 1995 13:57:32 -0800 Received: from dri.UUCP by rf.dataradio.com (4.1/1.35) id AA26658; Mon, 20 Mar 95 16:48:42 EST Message-Id: <9503202148.AA26658@rf.dataradio.com> Received: by dri (UUXFER v1.3c); Mon 20 Mar 1995 16:56:28 EST From: "Andrew Webster" To: freebsd-questions@FreeBSD.org, gated-alpha@gated.cornell.edu Date: Mon, 20 Mar 1995 16:55:54 EST5EDT Subject: Gated is crashing my system! Reply-To: captain@pubnix.net X-Confirm-Reading-To: captain@pubnix.net X-Pmrqc: 1 Priority: normal X-Mailer: Pegasus Mail v3.22 Sender: questions-owner@FreeBSD.org Precedence: bulk Hi, I'm having some problems with gated R3_5Alpha9 on a FreeBSD 2.0 system. The system has 5 dialin lines that either allow shell or slip access. After operating correctly for some time (1-2 hours), the system crashes after gated tries to remove a route from the kernel when one of the slip lines shuts down. The commands issued to shutdown the slip line are: ifconfig slx down ifconfig slx delete A ifconfig slx 0.0.0.0 down was also tried, but the same errors persist. Stuck & very confused, I would appreciate any light anyone can shed on this subject. I am currently not subscribed to gated-alpha, so please reply by email. Here is the contents of my gated.conf file: traceoptions "/var/log/gated" general ; options syslog upto notice ; interfaces { interface all passive ; } ; rip yes { nobroadcast ; sourcegateways 198.168.73.2 198.168.73.1 ; trustedgateways 192.172.250.4 ; } ; static { default gateway 198.168.73.2 preference 50 retain ; 199.84.157.0 mask 255.255.255.0 gateway 192.172.250.8 ; 199.84.158.0 mask 255.255.255.0 gateway 192.172.250.8 ; 199.84.159.0 mask 255.255.255.0 gateway 192.172.250.8 ; } ; export proto rip gateway 198.168.73.1 198.168.73.2 { proto direct ; proto static { all metric 1 ; } ; } ; The system is configured as follows: __________ _______ ______ | FREEBSD |198.168.73.135 .21|ISDN | .2| | | 2.0 |----------------------------|BRIDGES|-----|ROUTER| |__________| |_______| |______| 192.172.250.8| |||||| 199.84.157.x | [MODEMS] | | | The 198.168.73.135 is an ethernet interface through two ISDN bridges to a T1 router (198.168.73.2) to the ANS Net. The 192.172.250.8 is an ethernet interface to our internal backbone network. The 199.84.157.x are slip interfaces to dial-up slip connections. When the system crashes, the following is in the gated log file: Mar 20 16:09:22 rip_recv: ignoring RIP Response packet from 198.168.73.133+520 - not on trustedgateways list Mar 20 16:09:22 Mar 20 16:09:33 rip_recv: ignoring RIP Response packet from 198.168.73.133+520 - not on trustedgateways list Mar 20 16:09:33 Mar 20 16:09:40 rip_recv: ignoring RIP Response packet from 198.168.73.1+520 - not on trustedgateways list Mar 20 16:09:40 Mar 20 16:09:52 rip_recv: ignoring RIP Response packet from 198.168.73.133+520 - not on trustedgateways list Mar 20 16:09:52 Mar 20 16:09:55 EVENT sl1 index 13 Mar 20 16:09:55 Mar 20 16:09:55 EVENT 199.84.157.40 Mar 20 16:09:55 EVENT index: 13 name: sl1 state: Mar 20 16:09:55 EVENT change: metric: 0 route: installed Mar 20 16:09:55 EVENT preference: 0 down: 120 refcount: 3 mtu: 488 Mar 20 16:09:55 EVENT lcladdr: 199.84.157.2 Mar 20 16:09:55 EVENT subnetmask: 255.255.255.255 Mar 20 16:09:55 Mar 20 16:09:55 if_rtdelete: DELETE route for interface sl1 199.84.157.40/255.255.255.255 CHANGE 199.84.157.40 255.255.255.255 gw 199.84.157.2 Direct pref 0/0 metric 0/0 sl1 Mar 20 16:09:55 rt_close: 1 route proto IF Mar 20 16:09:55 < SYSTEM REBOOTS > Mar 20 16:15:31 trace_on: Tracing to "/var/log/gated" started Mar 20 16:15:31 Mar 20 16:15:31 Tracing flags enabled: general Mar 20 16:15:31 Mar 20 16:15:33 inet_routerid_notify: Router ID: 192.172.250.8 Mar 20 16:15:33 Mar 20 16:15:33 Mar 20 16:15:33 krt_rtread: Initial routes read from kernel (via getkerninfo/sysctl): ADD 0.0.0.0 0.0.0.0 gw 198.168.73.2 Kernel pref 40/0 metric 0/0 ed1 ADD 127.0.0.1 255.255.255.255 gw 127.0.0.1 Kernel pref -254/0 metric 0/0 lo0