From owner-freebsd-questions@FreeBSD.ORG Thu Jul 27 13:07:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B1B116A4DE for ; Thu, 27 Jul 2006 13:07:17 +0000 (UTC) (envelope-from willay@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7825843D4C for ; Thu, 27 Jul 2006 13:07:16 +0000 (GMT) (envelope-from willay@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so258663uge for ; Thu, 27 Jul 2006 06:07:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Ged8zHBT8JBgfnf7HFTc8ySvPz2E1bBqgN+7Cc1spxZKfSAvWO8qiQQQmWgsg4Bt4baMty7CPvpP4iUXjtvQNvS8A7e5qddbWkPD8OQaf1XFvKi9oggcQ+HrCC7OCSjr3uUA4Vd/dadHMRiar6FmN3xY7v+0VzKkzkj8ED5HExo= Received: by 10.66.220.17 with SMTP id s17mr7175886ugg; Thu, 27 Jul 2006 06:07:14 -0700 (PDT) Received: by 10.67.28.1 with HTTP; Thu, 27 Jul 2006 06:07:14 -0700 (PDT) Message-ID: Date: Thu, 27 Jul 2006 14:07:14 +0100 From: William To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: vr0 interface and VLAN tagging 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: Thu, 27 Jul 2006 13:07:17 -0000 Hi list, I'm trying to get a FreeBSD 5.3-RELEASE (running GENERIC kernel) to do vlan tagging. I want to have several 'vlan interfaces' that can talk to their local subnet and also use a default route. On the switch side of things I'm using a Cisco 3550 runing layer3 code, I've had this working before with a em driver (on another box) but my setup was a little different then so I'm pretty sure the switch isnt at fault? My rc.conf looks like: cloned_interfaces="vlan100 vlan200 vlan233" ifconfig_vr0="up" ifconfig_vlan100="inet 192.168.100.1 netmask 255.255.255.0 vlan 100 vlandev vr0" ifconfig_vlan200="inet 192.168.200.1 netmask 255.255.255.0 vlan 200 vlandev vr0" ifconfig_vlan233="inet 10.233.233.1 netmask 255.255.255.0 vlan 233 vlandev vr0" ifconfig_vr0="inet 10.254.254.252 netmask 255.255.255.0 media 100baseTX mediaopt ull-duplex" defaultrouter="10.254.254.254" and my switch config looks like this: interface FastEthernet0/12 switchport access vlan 254 switchport trunk encapsulation dot1q switchport trunk allowed vlan 100,200,233 switchport mode trunk logging event trunk-status duplex full speed 100 end I'm getting to the point that the vlan interfaces (100,200,233) can talk to machines on their subnet but I cannot seem to ping anything on the 10.254.254.0/24 subnet (ip address applied to vr0 interface) or anythnig via the default route. If anyone can assist me I'd appreciate it, please contact me off list as I am not subscribed to -questions. Cheers, Will