Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2000 15:30:04 -0800 (PST)
From:      Thomas Moestl <tmoestl@gmx.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/23118: static link-level route bug
Message-ID:  <200012052330.eB5NU4f55326@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/23118; it has been noted by GNATS.

From: Thomas Moestl <tmoestl@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc: seraf@2600.com
Subject: Re: misc/23118: static link-level route bug
Date: Wed, 6 Dec 2000 00:24:03 +0100

 > >Number:         23118
 > >Category:       misc
 > >Synopsis:       static link-level route bug?
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:  
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Sun Nov 26 12:50:01 PST 2000
 > >Closed-Date:    
 > >Last-Modified:  
 > >Originator:     Dominick LaTrappe
 > >Release:        4.1-20001102-STABLE
 > >Organization:
 > >Description:
 > I add a static link-level route with route(8), and when I look it up with 
 > netstat(8), the first octet of the ARP address is missing.  Once this routing 
 > table entry is in place, the destination becomes unreachable, and the "use" 
 > flag on the entry never increments.
 > >How-To-Repeat:
 > # route add -host 10.20.30.40 -link 0:a:b:c:d:e -iface fxp0 -static
 This is wrong: -iface does _not_ take an argument (fxp0 is interpretated
 as netmask here!). Also, a link address has to be specified
 with a leading separator if you do not specify an interface at the start
 (see linkaddr(3); this is not documented in route(8)!).
 The correct call would be:
 	route add -host 10.20.30.40 -link :0:a:b:c:d:e -iface -static
 or, if you explicitely want to use fxp0
 	route add -host 10.20.30.40 -link fxp0:0:a:b:c:d:e -iface -static
 
 HTH,
 
 	- thomas
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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