Date: Sun, 15 Sep 2002 17:08:18 +0300 (EEST) From: Andrew Stesin <stesin@breaker.tormoz.net> To: stable@freebsd.org, <questions@freebsd.org> Subject: Bug? VLANs, fxp, Catalyst and link0 story Message-ID: <20020915165141.V871-100000@chour.hostmaster.net.ua>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020915165141.V871-100000>