From owner-freebsd-stable Thu Feb 22 23:55:58 2001 Delivered-To: freebsd-stable@freebsd.org Received: from altrade.nijmegen.inter.nl.net (altrade.nijmegen.inter.nl.net [193.67.237.6]) by hub.freebsd.org (Postfix) with ESMTP id 7DC4D37B65D; Thu, 22 Feb 2001 23:55:43 -0800 (PST) (envelope-from Peter.Blok@inter.NL.net) Received: from ntpc by altrade.nijmegen.inter.nl.net via 1Cust143.tnt34.rtm1.nl.uu.net [213.116.162.143] with SMTP id IAA21577 (8.8.8/1.3); Fri, 23 Feb 2001 08:55:38 +0100 (MET) Reply-To: From: "Peter Blok" To: "'Mike Tancsa'" , Cc: Subject: RE: 802.1q vlans and STABLE Date: Fri, 23 Feb 2001 08:53:51 +0100 Message-ID: <000001c09d6d$c3b3caf0$8a02a8c0@ntpc> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-reply-to: <4.2.2.20010222215259.03d78d60@marble.sentex.net> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am working with VLANs and a BayStack 450-T without stability problems, except when you configure NETGRAPH at the same time. The kernel crashes during boot-up. -----Original Message----- From: owner-freebsd-net@FreeBSD.ORG [mailto:owner-freebsd-net@FreeBSD.ORG]On Behalf Of Mike Tancsa Sent: Friday, February 23, 2001 04:13 To: stable@freebsd.org Cc: freebsd-net@freebsd.org Subject: 802.1q vlans and STABLE Hi, are vlans and the fxp driver ready for prime time ? I have a situation where I would like to deploy a simple network which looks like [network vlan #1]-----[cat5500]-----[network vlan #2] | | | [freebsd fxp0] The two remote networks would be trunked back to me using 802.1q encaps off a cat 5500 switch. I am using the patch at http://www.euitt.upm.es/~pjlobo/fbsdvlan.html to account for larger frame sizes. Whats not clear to me is that when configuring fxp0, do I just assign it IPs via the vlan interface, or should I also give fxp0 a normal IP. Will it break things if fxp0 has an IP associated with it ? Also, does aliasing of vlan interfaces work as expected ? if network #1 was 10.20.30.1/24 and 10.30.40.1/24 on vlan #123 and network #2 was 172.16.1.1/24 and 192.168.1.1/24 on vlan #456 do I just do ifconfig fxp0 up ifconfig vlan0 inet 10.20.30.1 netmask 255.255.255.0 vlan 123 vlandev fxp0 mtu 1500 ifconfig vlan0 inet 10.30.40.1 netmask 255.255.255.0 alias ifconfig vlan1 .... Is there a limit as to the # of vlan interfaces ? Also, do I have any performance hits if I have too many vlans ? If I recall correctly, in LINUX, there used to be a performance hit if you had too many interfaces. -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Network Administration, mike@sentex.net Sentex Communications www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message