From owner-freebsd-net@FreeBSD.ORG Wed Jun 9 20:35:48 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E1DD1065675 for ; Wed, 9 Jun 2010 20:35:48 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 026FE8FC1D for ; Wed, 9 Jun 2010 20:35:46 +0000 (UTC) Received: by gyh20 with SMTP id 20so5558162gyh.13 for ; Wed, 09 Jun 2010 13:35:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=PZih6oljlOQiOIhYks7vJHUAdRSDEv2zvSZkJEhYuvk=; b=HgfcbcuwSgiv9f0vXDndt3PZ1imUxppJ/i/XmnqUtm6/KcpGBZv7P78bTctCfNmgi7 S7vA8X4Mvxt7SyLiBKClo6/IuZkhxKvyfo9MOP15sn0ehCngOAFUTd8cH6GKCye9BSut 8xqIoHmMH/7l5TJPicaS02UDgoSItDQv/fFQE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uVCDEs4fBlOIbXFSrSXfLe4t+paBfV1KGvh8i/rK3LohAjMvO/owrHiueIRdApDCZ7 nHRzYToQC36hvlR9riEjyGmZKPzDY2V2JDg3/hfm7BVWO+ynIu7Xo0w6Q08gpIm6Xp9m cYvVWb8zUjkDwMMI6PyFGf+smpvgFNmG20Lx0= MIME-Version: 1.0 Received: by 10.150.237.1 with SMTP id k1mr336167ybh.309.1276115745962; Wed, 09 Jun 2010 13:35:45 -0700 (PDT) Received: by 10.231.11.76 with HTTP; Wed, 9 Jun 2010 13:35:45 -0700 (PDT) Date: Wed, 9 Jun 2010 13:35:45 -0700 Message-ID: From: Kurt Buff To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: VLANs, routing, multicast and HP switches, oh my... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2010 20:35:48 -0000 All, I have in place a router that I built with FreeBSD (currently it's an i386 build - 7.0-STABLE FreeBSD 7.0-STABLE #1: Mon Jul 28 18:59:13 PDT 2008) on a whitebox with 3 dual-port NICs. the relevant data from /etc/rc.conf: defaultrouter="192.168.27.1" gateway_enable="YES" hostname="zrouter.example.com" ifconfig_fxp0="inet 192.168.27.2 netmask 255.255.255.0" ifconfig_fxp1="inet 10.0.0.1 netmask 255.255.255.0" ifconfig_fxp2="inet 10.0.1.1 netmask 255.255.255.0" ifconfig_fxp3="inet 10.0.2.1 netmask 255.255.255.0" ifconfig_fxp4="inet 10.0.3.1 netmask 255.255.255.0" ifconfig_fxp5="inet 10.0.4.1 netmask 255.255.255.0" static_routes="nistnet" route_nistnet="-net 10.0.5.0/24 10.0.4.60" It serves as a gateway between our production network (192.168.27.0/24) and a set of engineering test/dev subnets - no firewalling at the moment, just a simple router. The interfaces for the test/dev subnets have until now been plugged into dumb switches - no VLANs, and as you can see, just some simple static routing. Now, however, the subnet on fxp4 is going to have an HP 2610 switch attached to it, and they want to hang multiple subnets from that interface. The engineers are also asking for multicast routing between the subnets attached to this interface. So, it looks to me as if I need to set up this box with a VLAN configuration and some more routing intelligence than it has at the moment. I'm looking at, among other pages, this one http://www.cyberciti.biz/faq/howto-configure-freebsd-vlans-with-ifconfig-command/, though I don't see much addressing these two subjects in the handbook. Questions: 1) Do I still need to build a custom kernel for VLANs and multicast routing? 2) Where can I find a decent tutorial on multicast routing? 3) Any other things that I might need to know regarding this that I am obviously overlooking? Thanks muchly for any help. Kurt