Date: Mon, 04 Dec 2000 10:33:23 +1100 From: Peter Jeremy <peter.jeremy@alcatel.com.au> To: Maikel Verheijen <maikel@worldonline.nl> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: vlanning causing kernel panics? Message-ID: <20001204103323.B92196@gsmx07.alcatel.com.au> In-Reply-To: <20001106163338.A30298@duckling.worldonline.nl>; from maikel@worldonline.nl on Mon, Nov 06, 2000 at 04:33:38PM %2B0100 References: <20001106163338.A30298@duckling.worldonline.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
[Catching up on old mail] On 2000-Nov-06 16:33:38 +0100, Maikel Verheijen <maikel@worldonline.nl> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001204103323.B92196>