From owner-freebsd-stable Thu Feb 22 19:15:48 2001 Delivered-To: freebsd-stable@freebsd.org Received: from cage.simianscience.com (cage.simianscience.com [64.7.134.1]) by hub.freebsd.org (Postfix) with ESMTP id 25AB837B401; Thu, 22 Feb 2001 19:15:39 -0800 (PST) (envelope-from mike@sentex.net) Received: from chimp (fcage [192.168.0.2]) by cage.simianscience.com (8.11.2/8.11.2) with ESMTP id f1N3DLg08996; Thu, 22 Feb 2001 22:13:22 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <4.2.2.20010222215259.03d78d60@marble.sentex.net> X-Sender: mdtancsa@marble.sentex.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Thu, 22 Feb 2001 22:13:20 -0500 To: stable@freebsd.org From: Mike Tancsa Subject: 802.1q vlans and STABLE Cc: freebsd-net@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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-stable" in the body of the message