From owner-freebsd-stable Wed Sep 12 7: 9:50 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp9.xs4all.nl (smtp9.xs4all.nl [194.109.127.135]) by hub.freebsd.org (Postfix) with ESMTP id 31C7D37B409 for ; Wed, 12 Sep 2001 07:09:46 -0700 (PDT) Received: from asterix.xs4all.nl (asterix.xs4all.nl [194.109.6.11]) by smtp9.xs4all.nl (8.9.3/8.9.3) with ESMTP id QAA18636 for ; Wed, 12 Sep 2001 16:09:45 +0200 (CEST) Received: from hm55.xs4all.nl (uucp@localhost) by asterix.xs4all.nl (8.9.1/8.9.1) with UUCP id QAA02896 for freebsd-stable@FreeBSD.ORG; Wed, 12 Sep 2001 16:09:45 +0200 (CEST) Received: from mt267 ([172.20.3.26]) by mail.hmth.nl (8.8.7/8.8.7) with SMTP id QAA10919 for ; Wed, 12 Sep 2001 16:05:56 +0200 Message-Id: <200109121405.QAA10919@mail.hmth.nl> X-Sender: jeroenh@mail.hmth.nl X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Wed, 12 Sep 2001 16:05:56 +0200 To: freebsd-stable@FreeBSD.ORG From: Jeroen Heijungs Subject: Vlan configuration Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 Hello list, I am trying to set up a VLAN, but I don't get it working. I fear I am overlooking something very obvious, but well I am overlooking it. Maybe someone can help. setup: - 3Com switch 3300 defined as follows: port1 VLAN2 untagged port2 VLAN1 untagged and VLAN2 tagged - VLAN2 is a lighting network which mainly consists of a device that broadcasts many packets - the VLAN1 untagged port is for managing the switch from that port2 - server on port2: FreeBSD 4.4 RC#1 with fxp1 defined as follows: 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 - I want to be able to manage the switch from port2, and participate in the VLAN2 network port1 result: - on device fxp1 I can see all packets coming from VLAN2 (with the additional 802.1Q data) - on device fxp1 I can also see all packets for VLAN1 (of course without 802.1Q data) - on device vlan0 I can see all packets coming from VLAN2 (without the additional 802.1Q data) - I can manage the switch as desired, so I can send packets on the fxp1 interface so far so good BUT the VLAN2 traffic seems to be one-way, from the network to the server, and not back I cannot see the server (172.22.1.1 AND 172.22.2.1) from the network behind port1, I cannot ping or whatever, it seems that the VLAN can handle Incoming packets, but not Outgoing packets. What have I done wrong here? tia Jeroen Heijungs Het Muziektheater Amsterdam, The Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message