From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 19:08:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2C37106564A for ; Mon, 5 Jul 2010 19:08:25 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 45F9E8FC08 for ; Mon, 5 Jul 2010 19:08:25 +0000 (UTC) Received: (qmail 67660 invoked by uid 89); 5 Jul 2010 19:09:48 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 5 Jul 2010 19:09:48 -0000 Message-ID: <4C322DAF.7010200@ipv6canada.com> Date: Mon, 05 Jul 2010 15:08:31 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: Nathan Vidican References: <20100705165746.GB10990@Grumpy.DynDNS.org> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: David Kelly , freebsd-questions@freebsd.org, Modulok Subject: Re: VLANs is this right? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 19:08:25 -0000 On 2010.07.05 14:36, Nathan Vidican wrote: > On Mon, Jul 5, 2010 at 1:30 PM, Modulok wrote: > >> It was a simplified diagram of what I thought I needed. ( Which may or >> may not be what I actually need! ) >> >> Basically, I want a port on the switch that I can plug un-trusted >> devices into. Systems wich are known to be just crawling with >> malicious software. I need to provide them with an Internet >> connection, but otherwise want them separated from everybody else. >> Think DMZ isolation, but they're not providing any 'external' >> services. I was wondering if this could be done with tagging and >> address aliases, instead of buying a third network card for the BSD >> machine. >> >> If that makes any sense. > They key is that the switch must connect to the FreeBSD machine using TRUNK > not access mode. I am not that familiar with the HP procurve series but I'd > imagine it's not that dissimilar from others I've worked with: Unlike Cisco where you apply the tagging within interface config, HP requires you to apply tagging to an interface within the vlan config instead: vlan 10 untagged 29-44 tagged 47 ip address 208.70.104.2 255.255.255.248 exit vlan 11 untagged 1-6 tagged 47 ip address 208.70.107.2 255.255.255.248 exit 'tagged 47' is equivalent to Cisco's `trunk'. It `trunks' vlan 10 and 11 out via gi 47. The FBSD related config snips previously posted are what is needed on that end of things. Steve