Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2001 18:50:31 +0100 (CET)
From:      maikel@myst.dyn.dohd.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/24741: Reboot when using vlans on a xl card without an ip on NIC
Message-ID:  <200101301750.f0UHoVY25152@matrix.myst.dohd.org>

next in thread | raw e-mail | index | archive | help

>Number:         24741
>Category:       kern
>Synopsis:       Reboot when using vlans on a xl card without an ip on NIC
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 30 10:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Maikel Verheijen
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Unorganized :)
>Environment:

A regular FreeBSD 4.2-stable machine, with 2 3com xl cards on a cisco
catalyst with a trunc port.

>Description:

My machine reboots if I configure an IP number on a vlan, which vlandevice
is not configured with an ip number.
Eg:

# ifconfig xl0
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:01:02:11:ad:e4 
        media: autoselect (100baseTX <full-duplex>) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
# ifconfig vlan0 vlan 120 vlandev xl0 
# ifconfig vlan0 10.10.10.2 netmask 255.255.255.0
<instant reboot>

If I run the ifconfig command on the vlan interface with ip numbers, it
will reboot the machine. It doesn't care if I combine the vlan defenition
and the ip address config, it will crash the machine as well.


>How-To-Repeat:

See above.

>Fix:

If you put an IP number on the vlandevice, it will work.



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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