From owner-freebsd-stable Thu Sep 13 2:10:51 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ns.triplan.com (ns.triplan.com [62.159.114.67]) by hub.freebsd.org (Postfix) with ESMTP id A3AAB37B405 for ; Thu, 13 Sep 2001 02:10:47 -0700 (PDT) Received: from mail1.triplan.com (mail1.triplan.com [62.159.114.66]) by ns.triplan.com (8.9.3/8.9.3) with ESMTP id LAA22215; Thu, 13 Sep 2001 11:10:46 +0200 Received: by mail1.triplan.com (Postfix on SuSE eMail Server 2.0, from userid 30) id CD94A10318; Thu, 13 Sep 2001 10:08:12 +0200 (CEST) To: Jeroen Heijungs Subject: Re: Vlan configuration Message-ID: <1000368492.3ba0696ca5947@mail1.triplan.com> Date: Thu, 13 Sep 2001 10:08:12 +0200 (CEST) From: Karl.Dietz@triplan.com Cc: freebsd-stable@FreeBSD.ORG References: <200109121405.QAA10919@mail.hmth.nl> In-Reply-To: <200109121405.QAA10919@mail.hmth.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.3 X-Originating-IP: 62.159.114.67 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Zitiere Jeroen Heijungs : G'day Jeroen, > ifconfig fxp1 inet 172.22.1.1 mask 255.255.0.0 > ifconfig vlan0 vlan 2 vlandev fxp1 > ifconfig vlan0 inet 172.22.2.1 mask 255.255.0.0 your netmasks tell me that all traffic to 172.22.0.0/16 will go out via fxp1. Please try ifconfig fxp1 inet 172.22.1.1 mask 255.255.255.0 ifconfig vlan0 vlan 2 vlandev fxp1 ifconfig vlan0 inet 172.22.2.1 mask 255.255.255.0 notice the different netmasks Regards, Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message