kern/105925: Regression in ifconfig(8) + vlan(4)
Yar Tikhiy
yar at comp.chem.msu.su
Mon Nov 27 16:07:02 PST 2006
>Number: 105925
>Category: kern
>Synopsis: Regression in ifconfig(8) + vlan(4)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 27 22:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Yar Tikhiy
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
none
>Environment:
System: FreeBSD dg.local 7.0-CURRENT FreeBSD 7.0-CURRENT #17: Sun Nov 26
20:19:14 MSK 2006 yar at dg.local:/usr/obj/usr/src/sys/GENERIC i386
>Description:
After the introduction of SIOCSIFCREATE2 and respective changes
to ifconfig(8), some valid ifconfig command lines started to fail.
>How-To-Repeat:
Checked out ifconfig dated just before the change: 2006.07.09.00.00.00.
Compiled it all right.
Using it:
dg# ./ifconfig vlan77 create vlan 77 vlandev xl0 up
dg# ./ifconfig vlan77
vlan77: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:50:04:9d:be:f1
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
vlan: 77 parent interface: xl0
dg# ./ifconfig vlan77 destroy
dg# ./ifconfig vlan77 create vlan 77 vlandev xl0 mtu 1006 up
dg# ./ifconfig vlan77
vlan77: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1006
ether 00:50:04:9d:be:f1
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
vlan: 77 parent interface: xl0
dg# ./ifconfig vlan77 destroy
All OK...
Now using the stock ifconfig:
dg# ifconfig vlan77 create vlan 77 vlandev xl0 up
ifconfig: ioctl (SIOCGIFFLAGS): no such interface
dg# ifconfig vlan77 create vlan 77 vlandev xl0 mtu 1006 up
ifconfig: ioctl (set mtu): Device not configured
ifconfig: ioctl (SIOCGIFFLAGS): no such interface
dg# ifconfig vlan77
ifconfig: interface vlan77 does not exist
Total failure, the interface wasn't created at all.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list