Date: Fri, 29 Nov 2002 15:55:27 +1100 From: "Hugh Blandford" <hugh@island.net.au> To: "Peter Brezny" <peter@skyrunner.net>, "Jason Hunt" <leth@primus.ca> Cc: <freebsd-isp@FreeBSD.ORG> Subject: Re: Freebsd as vlan trunk controller. Message-ID: <007b01c29763$8b1a2c60$0ddea8c0@island.net.au> References: <NEBBIGLHNDFEJMMIEGOOEEDAFEAA.peter@skyrunner.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Peter, well hopefully this will be helpful. Yes FreeBSD will be able to handle this. You will definately be looking to use 802.1q as ISL is a Cisco proprietary standard and requires special hardware. The 2924 will do this and 802.1q depending upon the software version.... Doing VLAN trunking you will tell the switch which VLANs you want sent to the port the FreeBSD computer is on (this might be all of them). At the trunk end (FreeBSD computer) you will have a NIC. This will be the parent (will not have an IP address) and for each VLAN that you want to connect to define a what is known as a sub-interface or a cloned interface. On the interface front I believe that the fxp driver is supposed to be the best for most things. man vlan man ifconfig contain a lot of info for what you are trying to do, also there is a nice article here: http://www.arved.de/bsd/vlan_en.html that should hopefully sort out all the syntax for you. Regards, Hugh ----- Original Message ----- From: "Peter Brezny" <peter@skyrunner.net> To: "Jason Hunt" <leth@primus.ca> Cc: <freebsd-isp@FreeBSD.ORG> Sent: Friday, November 29, 2002 2:35 PM Subject: RE: Freebsd as vlan trunk controller. > Jason, > I had a typo, it's a 2924m-xl > > Thanks for the tips however... > > My main problem here is that I don't really know what I'm talking about. > I'm just now looking into configuring vlans with freebsd and literally know > very little more than about a half hours flip through the man pages. > > I want a freebsd box with 2 fast Ethernet adapters to act as a router, and > instead of putting several multiport cards into that box, I want one of the > fast Ethernet adapters to go into a switch, which will have vlans. I want > the bsd system to send the traffic to the appropriate vlan, so that if I > desire, I could have the equivalent of 24 nic's in one freebsd box. > > I believe what I am after is something that can handle the 802.1q > > Any help on clearing up terminology and pointers to good hardware to use, > whether or not this Cisco 2924m-xl or another Cisco 1900. > > I've got a lot of reading to do, i've only scraped the tip of the iceburg. > Any tips would be appreciated. > > > Peter Brezny > Skyrunner.net > > > -----Original Message----- > From: Jason Hunt [mailto:leth@primus.ca] > Sent: Thursday, November 28, 2002 8:23 PM > To: Peter Brezny > Cc: freebsd-isp@FreeBSD.ORG > Subject: Re: Freebsd as vlan trunk controller. > > > On Thu, 28 Nov 2002, Peter Brezny wrote: > > > I'm looking for pointers/tips/stories on configuring freebsd for use as a > > vlan trunk controller for connecting to a cisco 2624 switch. > > > > Any pointers to docs/how to's or personal experience is appreciated. > > > > Are you referring to the VLAN Trunking Protocol? If so, then from what I > can tell, the 2624 does not support VTP. It doesn't even seem to support > actual VLAN tagging. (And, if it supports one it should support the > other.) Instead, this switch just allows you to create multiple broadcast > domains within itself, not actual VLANs. > > Also, I think you might be referring to doing a "router on a stick" > configuration. That is, every VLAN can talk to a single port. This > requires the NIC support either ISL (Inter-Switch Links) or 802.1Q > trunking. As far as that goes, I've not looked into anything like that > before. > > > -----Original Message----- > From: Jason Hunt [mailto:leth@primus.ca] > Sent: Thursday, November 28, 2002 8:23 PM > To: Peter Brezny > Cc: freebsd-isp@FreeBSD.ORG > Subject: Re: Freebsd as vlan trunk controller. > > > On Thu, 28 Nov 2002, Peter Brezny wrote: > > > I'm looking for pointers/tips/stories on configuring freebsd for use as a > > vlan trunk controller for connecting to a cisco 2624 switch. > > > > Any pointers to docs/how to's or personal experience is appreciated. > > > > Are you referring to the VLAN Trunking Protocol? If so, then from what I > can tell, the 2624 does not support VTP. It doesn't even seem to support > actual VLAN tagging. (And, if it supports one it should support the > other.) Instead, this switch just allows you to create multiple broadcast > domains within itself, not actual VLANs. > > Also, I think you might be referring to doing a "router on a stick" > configuration. That is, every VLAN can talk to a single port. This > requires the NIC support either ISL (Inter-Switch Links) or 802.1Q > trunking. As far as that goes, I've not looked into anything like that > before. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007b01c29763$8b1a2c60$0ddea8c0>