Bug 2569 - route -iface breaks inet behaivour
Summary: route -iface breaks inet behaivour
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 2.1.6.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1997-01-24 07:10 UTC by myj
Modified: 1998-04-19 20:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description myj 1997-01-24 07:10:01 UTC
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

Fix: 

I wish I knew.
How-To-Repeat: 
create simillar environment
Comment 1 wollman 1997-01-24 16:06:00 UTC
<<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
Comment 2 Poul-Henning Kamp freebsd_committer freebsd_triage 1998-04-19 20:35:27 UTC
State Changed
From-To: open->closed

timed out