From owner-freebsd-net@FreeBSD.ORG Sat Feb 21 01:56:07 2009 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 9CE0F106564A for ; Sat, 21 Feb 2009 01:56:07 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 32D108FC15 for ; Sat, 21 Feb 2009 01:56:07 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 82052 invoked by uid 89); 21 Feb 2009 01:58:01 -0000 Received: from unknown (HELO ?192.168.1.114?) (steve@ibctech.ca@::ffff:208.70.104.100) by pearl.ibctech.ca with ESMTPA; 21 Feb 2009 01:58:01 -0000 Message-ID: <499F5F30.3010503@ibctech.ca> Date: Fri, 20 Feb 2009 20:56:00 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Net X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: VLAN access and sub-int 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: Sat, 21 Feb 2009 01:56:07 -0000 Hi all, I'm in a bit of a pinch. I need to set up a VLAN from a FreeBSD box to a Cisco catalyst switch, but I am not in a position to test this in a lab before I deploy it. Currently, I've got em5 to a catalyst switch. There are no vlans in place on this switch at this point (other than native 1). What I'd like to do, is configure an em5.107 sub-int, and configure the physically connected switch port as a trunk, carrying the native vlan (1) as well as vlan 107. I've already got the em5.107 interface created. I'm just worried about changing the switch port to trunk mode remotely. The switch is in an odd location in the network, and I need this vlan lit up as a temporary hack until I can physically get to the location to move some cabling. What I'm asking is if I change the switchport mode on the physically connected switch port to trunk, will the native em5 interface deal with the untagged traffic by default? FWIW, I do have access via SSH to a device that has a console cable via cuad0 directly connected to the switch, if the worst should happen. Steve