From owner-freebsd-questions Sun Sep 15 7: 8:25 2002 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 8DA0737B400; Sun, 15 Sep 2002 07:08:23 -0700 (PDT) Received: from breaker.tormoz.net (breaker.tormoz.net [217.20.165.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id C108743E42; Sun, 15 Sep 2002 07:08:21 -0700 (PDT) (envelope-from stesin@breaker.tormoz.net) Received: from localhost (localhost.hostmaster.net.ua [127.0.0.1]) by chour.hostmaster.net.ua (8.12.6/8.12.6) with ESMTP id g8FE8IMu000990; Sun, 15 Sep 2002 17:08:19 +0300 (EEST) (envelope-from stesin@tormoz.net) Date: Sun, 15 Sep 2002 17:08:18 +0300 (EEST) From: Andrew Stesin X-X-Sender: stesin@chour.hostmaster.net.ua Reply-To: Andrew Stesin To: stable@freebsd.org, Subject: Bug? VLANs, fxp, Catalyst and link0 story Message-ID: <20020915165141.V871-100000@chour.hostmaster.net.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi people, after long fiddling, now it works. FreeBSD 4.7-PRERELEASE, Cat 2940XL Working rc.conf fragment *now* looks this way: --- 8< --- network_interfaces="lo0 fxp0 fxp1 vlan0 vlan1 vlan2 vlan3 vlan4 vlan5" ifconfig_lo0="inet 127.0.0.1 netmask 255.0.0.0" # fxp0 - "internal" trunk ifconfig_fxp0="media 100baseTX mediaopt full-duplex link0 up" ifconfig_vlan0="inet 10.99.25.1 netmask 255.255.255.0 vlan 25 \ vlandev fxp0 mtu 1500 up arp" ifconfig_vlan1="inet 10.99.23.1 netmask 255.255.255.0 vlan 23 \ vlandev fxp0 mtu 1500 up arp" ifconfig_vlan2="inet 10.100.2.1 netmask 255.255.255.0 vlan 2 \ vlandev fxp0 mtu 1500 up arp" # fxp1 - "external" trunk ifconfig_fxp1="media 100baseTX mediaopt full-duplex link0 up" ifconfig_vlan3="inet 17.33.33.61 netmask 255.255.255.252 vlan 3 \ vlandev fxp1 mtu 1500 up arp" ifconfig_vlan4="inet 12.44.44.30 netmask 255.255.255.252 vlan 4 \ vlandev fxp1 mtu 1500 up arp" ifconfig_vlan5="inet 95.55.55.22 netmask 255.255.255.248 vlan 5 \ vlandev fxp1 mtu 1500 up arp" --- 8< --- The problem is: as soon as I say "link0" in ifconfigs for vlanXX interfaces, is just plain doesn't work. Catalyst doesn't see even a mac-addresses for vlanXX interfaces. Another problem is: as soon as I remove "link0" from ifconfigs for "carrier" interfaces fxp0 and fxp1 - again it doesn't work. Am I a single person who encounter the same problem? What I'm doing wrong? If this *is* a bug (not just stupidity of mine of bad documentation) - how can I help to correct it? WBR, Andrew P.S. There is no if_ef pseudo-device in the running kernel. There is a line pseudo-device vlan 8 in config. The box is Supermicro 1U server, 1 P-III CPU (of 2 possible), ServerWorks chipset, 2 onboard fxp interfaces. P.P.S. Also I can't "see" Catalyst "own" IP (seen at `sh in vlan1') after I do: ifconfig vlan6 inet 10.100.200.1 netmask 255.255.255.0 vlan 1 \ vlandev fxp0 mtu 1500 up arp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message