Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2002 10:43:53 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Andrew Stesin <stesin@breaker.tormoz.net>
Cc:        stable@FreeBSD.ORG, <questions@FreeBSD.ORG>
Subject:   Re: Bug? VLANs, fxp, Catalyst and link0 story
Message-ID:  <5.1.0.14.0.20020915103800.03d6c5f0@192.168.0.12>
In-Reply-To: <20020915165141.V871-100000@chour.hostmaster.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

Why do you need the link0 portion ?

Also, whatever you assign fxp0 will be part of the Cisco native VLAN So 
just try

ifconfig_fxp0="inet 10.100.200.1 media 100baseTX mediaopt full-duplex"
fconfig_vlan0="inet 10.99.25.1 netmask 255.255.255.0 vlan 25 vlandev fxp0 
mtu 1500 up"

and so on...

Post your Cisco port configs as well.  As you are specifying speeds and 
duplex settings, I take it you are doing the same on your cat right ?
  It would have to look something like

interface FastEthernet0/20
  description FreeBSD Internal trunking ports
  speed 100
  duplex full
  switchport trunk encapsulation dot1q
  switchport trunk allowed vlan 1,2,23,25,1002-1005
  switchport mode trunk
!

         ---Mike


At 05:08 PM 9/15/2002 +0300, Andrew Stesin wrote:

>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-stable" in the body of the message

--------------------------------------------------------------------
Mike Tancsa,                          	          tel +1 519 651 3400
Sentex Communications,     			  mike@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada			  www.sentex.net/mike


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020915103800.03d6c5f0>