From owner-freebsd-stable Sun Dec 3 15:33:42 2000 From owner-freebsd-stable@FreeBSD.ORG Sun Dec 3 15:33:40 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from netau1.alcanet.com.au (ntp.alcanet.com.au [203.62.196.27]) by hub.freebsd.org (Postfix) with ESMTP id 3C7D637B400 for ; Sun, 3 Dec 2000 15:33:39 -0800 (PST) Received: from mfg1.cim.alcatel.com.au (mfg1.cim.alcatel.com.au [139.188.23.1]) by netau1.alcanet.com.au (8.9.3 (PHNE_18979)/8.9.3) with ESMTP id KAA10702; Mon, 4 Dec 2000 10:33:33 +1100 (EDT) Received: from gsmx07.alcatel.com.au by cim.alcatel.com.au (PMDF V5.2-32 #37640) with ESMTP id <01JXAXI6HTTC902VX8@cim.alcatel.com.au>; Mon, 4 Dec 2000 10:33:30 +1100 Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.11.0/8.11.0) id eB3NXOl92549; Mon, 04 Dec 2000 10:33:24 +1100 (EST envelope-from jeremyp) Content-return: prohibited Date: Mon, 04 Dec 2000 10:33:23 +1100 From: Peter Jeremy Subject: Re: vlanning causing kernel panics? In-reply-to: <20001106163338.A30298@duckling.worldonline.nl>; from maikel@worldonline.nl on Mon, Nov 06, 2000 at 04:33:38PM +0100 To: Maikel Verheijen Cc: freebsd-stable@FreeBSD.ORG Mail-followup-to: Maikel Verheijen , freebsd-stable@FreeBSD.ORG Message-id: <20001204103323.B92196@gsmx07.alcatel.com.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i References: <20001106163338.A30298@duckling.worldonline.nl> Sender: jeremyp@gsmx07.alcatel.com.au Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Catching up on old mail] On 2000-Nov-06 16:33:38 +0100, Maikel Verheijen wrote: >While trying to use vlan's under FreeBSD, my machine keeps on kernel panicing >when I try to ifconfig the vlan interface. > >What I did in short: > >- Made a kernel with: >pseudo-device vlan 20 # Get 20 vlan interfaces 1) There was a bug which limited the total number of network interfaces to 16 (an array dimensioned to 16 elements). I'm not sure if/when the fix was MFC'd. (I can't find the relevant commit off-hand). >- Rebooted (of course :) > >- did a: >/sbin/ifconfig vlan0 vlan 120 vlandev xl1 >/sbin/ifconfig vlan0 inet 10.10.10.10 netmask 255.255.255.0 These two lines can be combined. 2) You need to do an "ifconfig xl1 up" first. You don't need to specify an IP address/netmask/etc, but can/should specify physical characteristics (10/100, half/full duplex etc). Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message