Skip site navigation (1)Skip section navigation (2)
Date:               Mon, 20 Mar 1995 16:55:54 EST5EDT
From:      "Andrew Webster" <awebster@dataradio.com>
To:        freebsd-questions@FreeBSD.org, gated-alpha@gated.cornell.edu
Subject:         Gated is crashing my system!
Message-ID:  <9503202148.AA26658@rf.dataradio.com>

next in thread | raw e-mail | index | archive | help
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 <source address> 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 <UpDown> sl1 index 13 <PointToPoint Multicast>
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: <PointToPoint
Multicast NoAge>
Mar 20 16:09:55 EVENT       change: <UpDown>  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 <Delete Retain>
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 <Ext Active Retain Gateway Static>
ADD      127.0.0.1        255.255.255.255 gw 127.0.0.1       Kernel   pref
-254/0 metric 0/0 lo0 <NotInstall NoAdvise Ext Hidden Gateway>
ADD      127.0.0.1        255.255.255.255  Kernel   pref 0/-272639880
metric 0/-272639876 <NoAdvise Active Gateway>
CHANGE   127.0.0.1        255.255.255.255  Kernel   pref 0/-272639880
metric 0/-272639876 <NoAdvise Delete Gateway>
RELEASE  127.0.0.1        255.255.255.255 gw 127.0.0.1       Kernel   pref
-254/0 metric 0/0 lo0 <NotInstall NoAdvise Ext Release Gateway>
KRT READ REMNANT 192.172.250     mask 255.255.255     router #1
  flags <UP CLONING>101: ignoring
KRT READ REMNANT 192.172.250.4   router #1 0.20.af.c.25.2a flags <UP HOST
LLINFO>405: ignoring
KRT READ REMNANT 198.168.73      mask 255.255.255     router #2
  flags <UP CLONING>101: ignoring
KRT READ REMNANT 198.168.73.2    router #2 8.0.5a.13.24.e4 flags <UP HOST
LLINFO>405: ignoring
KRT READ REMNANT 224             mask 240             router #1
  flags <UP CLONING STATIC>901: ignoring
Mar 20 16:15:33 rt_close: 5 routes proto KRT
Mar 20 16:15:33
Mar 20 16:15:33 if_ifachange:   192.172.250.8
Mar 20 16:15:33 if_ifachange:       index: 1  name: ed0  state: <Up
Broadcast Multicast Simplex NoAge>
Mar 20 16:15:33 if_ifachange:       change: <>  metric: 0  route: not
installed
Mar 20 16:15:33 if_ifachange:       preference: 0  down: 120  refcount: 1
mtu: 1436
Mar 20 16:15:33 if_ifachange:       broadaddr: 192.172.250.255
Mar 20 16:15:33 if_ifachange:       subnet: 192.172.250  subnetmask:
255.255.255
Mar 20 16:15:33
Mar 20 16:15:33 if_rtup: ADD route for interface ed0
192.172.250.8/255.255.255
ADD      192.172.250      255.255.255     gw 192.172.250.8   Direct   pref
0/0 metric 0/0 ed0 <Int Active Retain>
Mar 20 16:15:33 rt_close: 1 route proto IF
Mar 20 16:15:33
Mar 20 16:15:33 if_ifachange:   198.168.73.135
Mar 20 16:15:33 if_ifachange:       index: 2  name: ed1  state: <Up
Broadcast Multicast Simplex NoAge>
Mar 20 16:15:33 if_ifachange:       change: <>  metric: 0  route: not
installed
Mar 20 16:15:33 if_ifachange:       preference: 0  down: 120  refcount: 2
mtu: 1436
Mar 20 16:15:33 if_ifachange:       broadaddr: 198.168.73.255
Mar 20 16:15:33 if_ifachange:       subnet: 198.168.73  subnetmask:
255.255.255
Mar 20 16:15:33
Mar 20 16:15:33 if_rtup: ADD route for interface ed1
198.168.73.135/255.255.255
ADD      198.168.73       255.255.255     gw 198.168.73.135  Direct   pref
0/0 metric 0/0 ed1 <Int Active Retain>
Mar 20 16:15:33 rt_close: 1 route proto IF
Mar 20 16:15:33
Mar 20 16:15:33 if_ifachange:   127.0.0.1
Mar 20 16:15:33 if_ifachange:       index: 3  name: lo0  state: <Up
Loopback Multicast NoAge>
Mar 20 16:15:33 if_ifachange:       change: <>  metric: 0  route: not
installed
Mar 20 16:15:33 if_ifachange:       preference: 0  down: 120  refcount: 2
mtu: 65468
Mar 20 16:15:33 if_ifachange:       broadaddr: 127.0.0.1
Mar 20 16:15:33 if_ifachange:       subnetmask: 255.255.255.255
Mar 20 16:15:33
Mar 20 16:15:33 if_rtup: ADD route for interface lo0
127.0.0.1/255.255.255.255
ADD      127.0.0.1        255.255.255.255 gw 127.0.0.1       Direct   pref
0/0 metric 0/0 lo0 <NoAdvise Active Retain>
Mar 20 16:15:33 rt_close: 1 route proto IF
Mar 20 16:15:33
Mar 20 16:15:33
Mar 20 16:15:33 ***Routes are being installed in kernel
Mar 20 16:15:33
Mar 20 16:15:33
Mar 20 16:15:33 Commence routing updates
Mar 20 16:15:33
Mar 20 16:15:33 inet_routerid_notify: Router ID: 192.172.250.8
Mar 20 16:15:33
Mar 20 16:15:33 if_ifachange:   192.172.250.8
Mar 20 16:15:33 if_ifachange:       index: 1  name: ed0  state: <Up
Broadcast Multicast Simplex NoAge>
Mar 20 16:15:33 if_ifachange:       change: <>  metric: 0  route: installed
Mar 20 16:15:33 if_ifachange:       preference: 0  down: 120  refcount: 2
mtu: 1436
Mar 20 16:15:33 if_ifachange:       broadaddr: 192.172.250.255
Mar 20 16:15:33 if_ifachange:       subnet: 192.172.250  subnetmask:
255.255.255
Mar 20 16:15:33
ADD      0.0.0.0          0.0.0.0         gw 198.168.73.2    Static   pref
50/0 metric 0/0 ed1 <Int Retain Gateway>
ADD      127              255             gw 127.0.0.1       Static   pref
0/0 metric 0/0 lo0 <NoAdvise Int Active Reject>
ADD      199.84.157       255.255.255     gw 192.172.250.8   Static   pref
60/0 metric 0/0 ed0 <Int Active Gateway>
ADD      199.84.158       255.255.255     gw 192.172.250.8   Static   pref
60/0 metric 0/0 ed0 <Int Active Gateway>
ADD      199.84.159       255.255.255     gw 192.172.250.8   Static   pref
60/0 metric 0/0 ed0 <Int Active Gateway>
Mar 20 16:15:33 rt_close: 5 routes proto RT
Mar 20 16:15:33
Mar 20 16:15:33 KRT SENT type ADD(1)flags HOST(4) error 17: File exists
Mar 20 16:15:33 KRT SENT dest 224.0.0.9 gateway 127.0.0.1
Mar 20 16:15:33
Mar 20 16:15:33 rip_target_list: supplying updates to 2 gateways
Mar 20 16:15:33
Mar 20 16:15:33 if_ifachange:   198.168.73.135
Mar 20 16:15:33 if_ifachange:       index: 2  name: ed1  state: <Up
Broadcast Multicast Simplex NoAge>
Mar 20 16:15:33 if_ifachange:       change: <>  metric: 0  route: installed
Mar 20 16:15:33 if_ifachange:       preference: 0  down: 120  refcount: 7
mtu: 1436
Mar 20 16:15:33 if_ifachange:       broadaddr: 198.168.73.255
Mar 20 16:15:33 if_ifachange:       subnet: 198.168.73  subnetmask:
255.255.255
Mar 20 16:15:33
Mar 20 16:15:33 if_ifachange:   127.0.0.1
Mar 20 16:15:33 if_ifachange:       index: 3  name: lo0  state: <Up
Loopback Multicast NoAge>
Mar 20 16:15:33 if_ifachange:       change: <>  metric: 0  route: installed
Mar 20 16:15:33 if_ifachange:       preference: 0  down: 120  refcount: 4
mtu: 65468
Mar 20 16:15:33 if_ifachange:       broadaddr: 127.0.0.1
Mar 20 16:15:33 if_ifachange:       subnetmask: 255.255.255.255
Mar 20 16:15:33
Mar 20 16:15:33
Mar 20 16:15:33 rt_new_policy: new policy started with 8 entries
RELEASE  127.0.0.1        255.255.255.255  Kernel   pref 0/-272639880
metric 0/-272639876 <NoAdvise Delete Release Gateway>
Mar 20 16:15:33 KRT SENT type ADD(1)flags UP CLONING(101) error 17: File
exists
Mar 20 16:15:33 KRT SENT dest 192.172.250 gateway 192.172.250.8 netmask
255.255.255
Mar 20 16:15:33
Mar 20 16:15:33 KRT SENT type ADD(1)flags UP CLONING(101) error 17: File
exists
Mar 20 16:15:33 KRT SENT dest 198.168.73 gateway 198.168.73.135 netmask
255.255.255
Mar 20 16:15:33
Mar 20 16:15:33 rt_new_policy: new policy ended with 8 entries
Mar 20 16:15:33
Mar 20 16:15:33 rip_recv: ignoring RIP Response packet from
198.168.73.1+520 - not on trustedgateways list
Mar 20 16:15:33
Mar 20 16:15:33 rip_recv: ignoring RIP Response packet from
198.168.73.133+520 - not on trustedgateways list
Mar 20 16:15:33
Mar 20 16:15:38 rip_recv: ignoring RIP Response packet from
198.168.73.1+520 - not on trustedgateways list
Mar 20 16:15:38
Mar 20 16:15:39 rip_recv: ignoring RIP Response packet from
198.168.73.1+520 - not on trustedgateways list
Mar 20 16:15:39
Mar 20 16:15:51 rip_recv: ignoring RIP Response packet from
198.168.73.133+520 - not on trustedgateways list
Mar 20 16:15:51
Mar 20 16:16:07
Mar 20 16:16:07
Mar 20 16:16:07

< SYSTEM IS OPERATING NORMALLY AGAIN >

Someone help please!!

-----------------------------------------------------------------------
  Andrew Webster   Network Manager / Special Projects
  Dataradio Inc.   200-5500 Royalmount Ave.      TEL: +1 514 737 0020
  Town of Mount Royal, QC, CANADA  H4P 1H7       FAX: +1 514 737 7883
  http://www.dataradio.com              Email: awebster@dataradio.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9503202148.AA26658>