Setting up VLAN interfaces with Cisco gear... getting traffic on
Brian J. McGovern
mcgovern at beta.com
Wed Nov 30 20:12:11 GMT 2005
I've got three Catalyst 6500s configured in a switching domain via
fiber, with one "hub" 6500 connecting two remotes. Their port
configurations are basically (the actual port number varies based on the
interface Gigabit Ethernet 9/2
no ip address
switchport trunk encapsulation dot1q
switchport mode trunk
The switches have been working as-is for over a year now, so I know
that part of the configuration is good.
I've been asked to provide some Sun jumpstart services, and want to
use an IBM x335 with a bge interface to act as a bootparams/tftp/rarp server,
and figured that trunking it in to the main switch and bringing up vlans for
the individual subnets that would be served would be the right way to go, so
I configured up one of the gig-E interfaces, as above, with the only change
selecting the UTP media.
On the FreeBSD (6.0) side, I then ran:
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
The other devices on the subnet are 10.86.154.209 ("Hub 6500"),
10.86.154.210 ("Remote 6500 1"), 10.86.154.211 ("Remote 6500 2"), and
10.86.154.222 ("Another x335 server running Linux").
However, I don't seem to be able to get normal traffic through the
link. If I ping 10.86.154.223 (the subnet broadcast), I see responses from all
of the above devices - the first looking normal, and the remainder showing
(DUP!), which I would expect.
Pinging a device directly causes packets to get lost. They show up in
the outbound stats, and the 6500(s) appear(s) to see and respond to it, but
it never comes back in via the vlan0 interface.
Any suggestions to try before I bang my head against the wall?
More information about the freebsd-questions