7.0 - ifconfig create is not working as expected?
eugen at kuzbass.ru
Sun Mar 30 05:59:11 PDT 2008
On Sun, Mar 30, 2008 at 01:14:36PM +0200, Remko Lodder wrote:
> >It worked. Now it does not work. Someone(tm) made the change.
> >We have the CVS. Isn't there such thing as responsibility for changes?
> >A dichotomy will show us who did the change :-)
> Given that the idea is that we dont expect to get to this anytime
> soon, we welcome the person who does the analysis for us so that we
> might be able to fix this quicker (if possible with all the changes
Let's take a look to ifconfig(8) manual page:
ifconfig [-L] [-k] [-m] [-n] interface [create] [address_family] [address
It states that "create" word may be used with address family,
adresses and other paramerets in line. Now there is design problem brought
into ifconfig code with sam's commit 2006/07/09. Current code
defers device cloning using callback facility because vlan creation
procedure needs to gather vlan tag and parent device parameners before.
However, it means that "create inet" or "create tunnel" clauses
now became incorrect. So this change broke things and should be corrected.
Basically, it broke all setups for sake of vlan processing.
It seems that vlans should be processed as special case leaving
all other cases in peace.
More information about the freebsd-net