em0 link transitions when aliasing an interface

From: Mike Tancsa <mike_at_sentex.net>
Date: Wed, 12 Jan 2005 16:36:44 -0500
Does anyone know of a way to avoid bouncing the em NIC when adding or 
removing aliases ?  In cases where the switch's port blocking kicks in, 
this can take the box off line for a problematic amount of time.

e.g.
ifconfig em0 19.168.13.9 netmask 255.255.255.252 alias

will down and up the interface.  I dont know of any other drivers that work 
this way.

On RELENG_4, it used to only have this problem behavior when the NIC was in 
autoneg.  But this is no longer the case in RELENG_5 as all media-opts 
(full / half / autoneg) work this way now.

Are there any tunables that would govern this behavior ?

Thanks for any insight,

         ---Mike


--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike_at_sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike
Received on Wed Jan 12 2005 - 20:36:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:26 UTC