vlan(4), bge(4) and bringing parent interface up
yar at comp.chem.msu.su
Tue Oct 4 04:32:09 PDT 2005
On Sat, Oct 01, 2005 at 08:48:42PM +0100, Gavin Atkinson wrote:
> It seems to me that assigning an IP address to a vlan device (parent
> device bge0) isn't enough to get the interface working - I need to
> manually bring the parent interface up.
Yes you need. The UP flag on an interface is administrative; that
is, it is you who is in control of the flag. Some interfaces try
to frob UP theirselves, but it is bogus and will be gone some day.
> Is this expected? I suspect it's a bug in either the vlan layer, or the
> bge interface code, but if it is expected it would be good to see this
> documented. I don't ever remember having to do anything special to get
> fxp cards working with vlans.
I always bring an fxp up before attaching vlans to it, so I've never
noticed fxp to touch its UP flag. If fxp does so, it is buggy and
in need of fixing.
More information about the freebsd-net