From root@NS1.parex.lv  Sat Nov 11 11:24:38 1995
Received: from NS1.parex.lv ([194.8.9.125])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA24446
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 11 Nov 1995 11:24:35 -0800
Received: (from root@localhost) by NS1.parex.lv (8.6.11/8.6.9) id VAA00460; Sat, 11 Nov 1995 21:24:15 +0200
Message-Id: <199511111924.VAA00460@NS1.parex.lv>
Date: Sat, 11 Nov 1995 21:24:15 +0200
From: ank@parex.riga.lv
Reply-To: ank@parex.riga.lv
To: FreeBSD-gnats-submit@freebsd.org, ank@parex.riga.lv
Subject: Problem with routing
X-Send-Pr-Version: 3.2

>Number:         817
>Category:       bin
>Synopsis:       Wrong route to remote network
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    fenner
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 11 11:30:01 PST 1995
>Closed-Date:    Thu Sep 26 10:11:43 PDT 1996
>Last-Modified:  Thu Sep 26 10:14:25 PDT 1996
>Originator:     Alexander Kirpa
>Release:        FreeBSD 2.0.5-RELEASE
>Organization:
Parex Bank Corp.
>Environment:

	Computer HP Vectra VL2 4/66 8Mb RAM ~200MB HDD FDD netboard NE-2000
	Network configuration:
	Computer addr=194.8.9.125 netmask=255.255.255.192
		default route is 194.8.9.122
	Routers:
		cisco-2511 Ethernet addr=194.8.9.122 netmask=255.255.255.192
			   Async    addr=194.8.9.6 netmask=255.255.255.252
				Async is default route to world
				RIP
		hp-router  E1 addr=194.8.9.126 netmask=255.255.255.192
				route to internal networks:
					192.168.1.0
					192.168.3.0
					192.168.8.0
					192.168.22.0
					192.168.103.0
					192.168.238.0
					192.168.222.0
					192.168.118.0
				no static, RIP

>Description:

	if need route packet to networks 192.168.x.x-192.255.x.x
	packet send from hp vectra pc to hp routed :-( instead cisco router
	for example address 192.188.189.3, 192.188.189.4
	after send command: route -vn get 192.188.189.3
	I receive 
	destination (192.168.8.0) [network]
	netmask     (192.168.8.0) :-(((

>How-To-Repeat:

	Problem IMHO in routed. He wrong updates kernel routing table.
	Possible he confuse my subnetted network?
	if shutdown routed and work over ICMP redirect no problem

>Fix:
	
	run gated :-(
	I my situation gated don-t need :-((
	FreeBSD 1 work OK w/ routed and gated on this network 
	addr 194.8.9.123 mask 255.255.255.192

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->wollman 
Responsible-Changed-By: pst 
Responsible-Changed-When: Wed Feb 7 15:51:18 PST 1996 
Responsible-Changed-Why:  
Responsible-Changed-From-To: wollman->fenner 
Responsible-Changed-By: wollman 
Responsible-Changed-When: Thu Feb 8 08:15:49 PST 1996 
Responsible-Changed-Why:  
It's Bill's routed fix, again. 
State-Changed-From-To: open->feedback 
State-Changed-By: fenner 
State-Changed-When: Thu Feb 8 08:26:36 PST 1996 
State-Changed-Why:  
Please try the routed from -stable or -current; it should 
fix your problem. 

From: Bill Fenner <fenner>
To: ank@parex.riga.lv, FreeBSD-gnats-submit@freebsd.org
Cc:  Subject: bin/817: Wrong route to remote network
Date: Thu, 4 Apr 1996 08:31:27 -0800 (PST)

 Alexander,
 
   Would you mind giving the routed from -stable a try?  You can just grab
 ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-stable/src/usr.sbin/routed/inet.c
 and rebuild your routed.  I fixed a problem which almost definitely caused
 what you were seeing.
 
   If you tried this and replied to me already, sorry for having lost your
 reply & could you send it again?
 
 Thanks,
   Bill
State-Changed-From-To: feedback->closed 
State-Changed-By: fenner 
State-Changed-When: Thu Sep 26 10:11:43 PDT 1996 
State-Changed-Why:  
Closed after 7 months of no feedback. 
>Unformatted:
