From myj@nyct.net  Thu Jan 23 23:01:08 1997
Received: from bsd1.nyct.net (root@bsd1.nyct.net [204.141.86.3])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA11522
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Jan 1997 23:01:07 -0800 (PST)
Received: (from root@localhost) by bsd1.nyct.net (8.8.3/8.7.4) id CAA01434; Fri, 24 Jan 1997 02:01:04 -0500 (EST)
Message-Id: <199701240701.CAA01434@bsd1.nyct.net>
Date: Fri, 24 Jan 1997 02:01:04 -0500 (EST)
From: Paul Sandys <myj@nyct.net>
Reply-To: myj@nyct.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: route -iface breaks inet behaivour
X-Send-Pr-Version: 3.2

>Number:         2569
>Category:       kern
>Synopsis:       route -iface breaks inet behaivour
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 23 23:10:01 PST 1997
>Closed-Date:    Sun Apr 19 12:35:27 PDT 1998
>Last-Modified:  Sun Apr 19 12:36:14 PDT 1998
>Originator:     Paul Sandys
>Release:        FreeBSD 2.1.6.1-RELEASE i386
>Organization:
New York Connect
>Environment:

interface ed0 is on 204.141.86.0/24 and 207.198.184.0/22

>Description:
This is configuration of ed0 interface:

ifconfig ed0 204.141.86.3 netmask 0xffffff00
ifconfig ed0 204.141.86.xxx netmask 0xffffffff alias - lot of virtual addr.
route add -net 207.198.184.0 -netmask 0xfffffc00 204.141.86.3 -iface

After issuing route command, all outgoing connections (telnet rlogin etc.)
are originating from random IP address assigned to ed0, not from 
204.141.86.3

>How-To-Repeat:

create simillar environment

>Fix:
	
I wish I knew.

>Release-Note:
>Audit-Trail:

From: Garrett Wollman <wollman@lcs.mit.edu>
To: myj@nyct.net
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: kern/2569: route -iface breaks inet behaivour
Date: Fri, 24 Jan 1997 11:06:00 -0500

 <<On Fri, 24 Jan 1997 02:01:04 -0500 (EST), Paul Sandys <myj@nyct.net> said:
 
 > ifconfig ed0 204.141.86.3 netmask 0xffffff00
 > ifconfig ed0 204.141.86.xxx netmask 0xffffffff alias - lot of virtual addr.
 > route add -net 207.198.184.0 -netmask 0xfffffc00 204.141.86.3 -iface
 
 I believe what you actually want to say is:
 
 # route add -net 207.198.184.0 -netmask 0xfffffc00 -iface ed0
 
 I don't know that this will help, but it's a start.
 
 -GAWollman
 
 --
 Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
 wollman@lcs.mit.edu  | O Siem / The fires of freedom 
 Opinions not those of| Dance in the burning flame
 MIT, LCS, ANA, or NSA|                     - Susan Aglukark and Chad Irschick
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Sun Apr 19 12:35:27 PDT 1998 
State-Changed-Why:  
timed out 
>Unformatted:
