Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2007 10:07:03 -0700
From:      Bakul Shah <bakul@bitblocks.com>
To:        Gleb Smirnoff <glebius@FreeBSD.org>
Cc:        net@FreeBSD.org
Subject:   Re: walking (and cleaning) the routing table on mask change? 
Message-ID:  <20070522170703.5EC555B3E@mail.bitblocks.com>
In-Reply-To: Your message of "Tue, 22 May 2007 18:22:12 %2B0400." <20070522142212.GZ89017@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>   what do you think about cleaning the routing table on mask change?

I think it would be far easier and more correct to not allow
just the mask change (which is never really needed).

$ ifconfig tap0 10.1.1.0/24
$ netstat -nr | grep tap0
10.1.1.0/24        link#6             UC          0        0   tap0
$ ifconfig tap0 10.1.1.0/26
$ netstat -nr | grep tap0
10.1.1.0/26        link#6             UC          0        0   tap0



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