Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2005 20:50:10 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        "Brian J. McGovern" <mcgovern@beta.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Update: Setting up VLAN interfaces with Cisco gear... getting traffic on broadcast only...
Message-ID:  <nhlso154dnjv3nllcs6vm4ggifeepojich@4ax.com>
In-Reply-To: <200511302044.jAUKiIW0013078@spoon.beta.com>
References:  <200511302044.jAUKiIW0013078@spoon.beta.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Nov 2005 15:44:18 -0500, in sentex.lists.freebsd.questions
you wrote:

>I hate to add to my own issue.
>
>I did some more playing and VLANs !=3D 1 seem to work ok (typically in =
the=20
>100-150 range). However, operating on VLAN 1 still seems to be an issue.
>
>	-B
>
> > All,
> > 	I've got three Catalyst 6500s configured in a switching domain via
> > fiber, with one "hub" 6500 connecting two remotes. Their port=20
> > configurations are basically (the actual port number varies based on =
the
> > device).
> >=20
> > interface Gigabit Ethernet 9/2
> > 	no ip address
> > 	switchport
> > 	switchport trunk encapsulation dot1q
> > 	switchport mode trunk

If the nic is in 9/2 as shown above

> >=20
> > ifconfig bge0 up media 1000baseTX mediaopt full-duplex
> > ifconfig vlan0 create vlan 1 vlandev bge0
> > ifconfig vlan0 10.86.154.221 netmask 255.255.255.240

leave bge0 media autoneg no ?

Also just assign 10.86.154.221/28 to bge0, not vlan0 as I am guessing
thats your native VLAN no ? =20

One other thing I have found is that make the interface name
consistent with the dot1q tag. It makes for less confusion when
looking at interfaces.

e.g. for vlan 532
ifconfig vlan532 create
ifconfig vlan532 172.16.2.2/24 vlan 532 vlandev bge0

> >=20
> > 	Any suggestions to try before I bang my head against the wall?


What does=20
ifconfig bge0
show ?

also, for debugging,
tcpdump -ei bge0
can help as it will show you encaps info.

	---Mike
--------------------------------------------------------
Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
mike@sentex.net, (http://www.tancsa.com)



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