From nobody@FreeBSD.org  Tue Jan 20 11:10:39 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9499C1065691
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Jan 2009 11:10:39 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8219E8FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Jan 2009 11:10:39 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0KBAd6P002456
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Jan 2009 11:10:39 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n0KBAdM5002453;
	Tue, 20 Jan 2009 11:10:39 GMT
	(envelope-from nobody)
Message-Id: <200901201110.n0KBAdM5002453@www.freebsd.org>
Date: Tue, 20 Jan 2009 11:10:39 GMT
From: Manjunath Tata <manjut@juniper.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ip addresses like 10.1.1.1 with subnet mask 255.0.0.0 makes the box unreachable
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         130776
>Category:       conf
>Synopsis:       ip addresses like 10.1.1.1 with subnet mask 255.0.0.0 makes the box unreachable
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 20 11:20:01 UTC 2009
>Closed-Date:    Mon Aug 23 21:03:48 UTC 2010
>Last-Modified:  Mon Aug 23 21:03:48 UTC 2010
>Originator:     Manjunath Tata
>Release:        4.11-RELEASE
>Organization:
Juniper Networks
>Environment:
bng-dlsw-bsd1# uname -a
FreeBSD bng-dlsw-bsd1.englab.juniper.net 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri Jan 21 17:21:22 GMT 2005     root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When an ip address in the 10 network i.e., say 10.1.1.1 with subnet mask 255.0.0.0 makes the box unreachable.
The same doesn't happen with 11,12,13 and so on networks.
But, when i try to configure an ip address like "ifconfig em1 10.0.56.141 netmask 255.0.0.0" works fine and the link(em1 here) is up with the address.


Note: This is only applicable or seen when configuring interfaces thru' the management port and not thru' the console.


>How-To-Repeat:
Just issue the command "ifconfig <if_name> 10.1.1.1 netmask 255.0.0.0".
You can see that the box is unreachable.


>Fix:


>Release-Note:
>Audit-Trail:

From: "Remko Lodder" <remko@elvandar.org>
To: "Manjunath Tata" <manjut@juniper.net>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: conf/130776: ip addresses like 10.1.1.1 with subnet mask 
     255.0.0.0 makes the box unreachable
Date: Tue, 20 Jan 2009 13:17:58 +0100 (CET)

 Dear Manjunath,
 
 On Tue, January 20, 2009 12:10 pm, Manjunath Tata wrote:
 >
 > bng-dlsw-bsd1# uname -a
 > FreeBSD bng-dlsw-bsd1.englab.juniper.net 4.11-RELEASE FreeBSD 4.11-RELEASE
 > #0: Fri Jan 21 17:21:22 GMT 2005
 
 Please note that 4.x is no longer supported, so if this is 4.x specific,
 it will not be resolved ...
 
 > root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 >
 >>Description:
 > When an ip address in the 10 network i.e., say 10.1.1.1 with subnet mask
 > 255.0.0.0 makes the box unreachable.
 > The same doesn't happen with 11,12,13 and so on networks.
 > But, when i try to configure an ip address like "ifconfig em1 10.0.56.141
 > netmask 255.0.0.0" works fine and the link(em1 here) is up with the
 > address.
 >
 
 Sure, so you have configured an interface (em0) with a 10.x network and
 you configure the netmask to match a /A (/8, /255.0.0.0) range, this is a
 very very big range, which could make sure that the gateway that you
 normally use to reach the device, becomes unreachable (different broadcast
 address and things like that).
 
 Can you tell us more specifics about the "reachability" you need to have?
 How is the router configured through which you want to reach the box? Is
 em1 attached to the same network? or did you switch cables to get this
 far?
 
 Please let me know,
 
 Best regards,
 Remko
 
 
 -- 
 /"\   Best regards,                      | remko@FreeBSD.org
 \ /   Remko Lodder                       | remko@EFnet
  X    http://www.evilcoder.org/          |
 / \   ASCII Ribbon Campaign              | Against HTML Mail and News
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sun Feb 1 03:14:18 UTC 2009 
State-Changed-Why:  
Note that the submitter was asked for feedback.  (are you sure that 
the default route for 10.x.x.x was set correctly?) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130776 
State-Changed-From-To: feedback->closed 
State-Changed-By: vwe 
State-Changed-When: Mon Aug 23 21:02:27 UTC 2010 
State-Changed-Why:  
no feedback for a while 
Dear submitter: we're closing your PR because we haven't got any feedback 
if your issue is still valid, please report and we'll be happy to open your PR again 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130776 
>Unformatted:
