Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can someone direct me to HOWTO information for virtual LAN (VLAN) configuration? I know that features and commands depend on the network parts deployed, but I'm trying to learn the concepts to make sure that what I want to do is reasonable. Also, I don't want to make stupid hardware choices.
I'm trying to create three separated VLANs from the gateway to the host nodes. Eventually I want some specific traffic on one VLAN and everything else on the other. The third is "the real office" so I want it to have its own, mostly isolated, path.
I know that I can create VLANs by port using my managed switches.
My switches also do "packet sniffing."
Does this mean that they can learn which protocols are running and send specific traffic through a specific VLAN?
How do I discover which protocols are used for the traffic I'm interested in controlling (steering)?
I really don't want a degree in network black magic, white magic, or other serious tinker-until-done knowledge.
I believe that my gateway has some VLAN features, but I'm still researching over there. (Digging into here is phase-II.)
A virtual lan is best seen as a series of network tunnels which have to be programmed into devices. It has no real place in a home as most of us know it. Without knowing what equipment you want to use, there's little more anyone can say. But my advice would be not to bother.
According to AT&T® U-Verse™ support, they want to run their video parts on separate wires from the rest of the data network. On investigation, the "separate wire" requirement is a throw-away line. It seems that there are broadcast and multi-cast packet storms that are frequent between their gateway and their set boxes. "Separate wire" lets them avoid the technical details to let video play nicely with other data resources. I thought that virtual lan deployment would let me avoid pulling more CAT-6 so that AT&T can be lazy.
I think that I know how to configure port-to-port VLAN through my switches.
However, port-to-port does not seem to isolate the packet storms.
I have a small business as a technical writer in my home. I operate a LAN with medium complexity -- a couple of linux-based servers, linux-based workstations and linux-based laptops. Since it is my home, the LAN also services win-dose and Mac™ workstations and laptops as well as various Android™ and iOS™ tablets and handsets.
My gateway is AT&T's Motorola® NVG589 connected to Netgear® GS108T Managed switches. The topology is a tree -- {gateway}, {switch}, {switch}+{switch}, {switch} ... {switch}.
Thanks in advance,
~~~ 0;-Dan
Last edited by SaintDanBert; 10-16-2014 at 12:42 PM.
If everything is good quality. A vlan can do a lot for some types of systems. It helps limit broadcast packets. It reduces arp and other types of chatter. It can help speed up backplane issues since higher end switches can allocate resources to that function independently of the other switch ports. If any of the devices are not up to par then it could all be useless.
Think of a vlan as a set of switches and wires. If you have one real switch and you make three vlans then you have for most uses three switches. To get from vlan to vlan you may or may not have ways to connect out of them. It's usually user config. Vlans could be private within a home or business much like a vpn. Generally you set the ability to exit the vlan within the switch/modem/router. One can also exit via a computer for that vlan segment.
If everything is good quality. A vlan can do a lot for some types of systems. It helps limit broadcast packets. It reduces arp and other types of chatter. It can help speed up backplane issues since higher end switches can allocate resources to that function independently of the other switch ports. If any of the devices are not up to par then it could all be useless.
Think of a vlan as a set of switches and wires. If you have one real switch and you make three vlans then you have for most uses three switches. To get from vlan to vlan you may or may not have ways to connect out of them. It's usually user config. Vlans could be private within a home or business much like a vpn. Generally you set the ability to exit the vlan within the switch/modem/router. One can also exit via a computer for that vlan segment.
If your switches have a decent interface, you can do it. There's even videos on youtube telling you how to do it with Cisco equipment, which has unix-like cisco OS and command lines. The guys I was at College with would google down all the network exercises we were given, and come out with "A" marks despite not having been in class :-((. Lecturers are making their own for next year
It appears that there are at least two layers of configuration:
create the VLAN -- looks like its a name for reference purposes
define filters that direct specific traffic to appropriate connections
My Netgear GS108T switches can filter on several different aspects of the traffic. I don't find a way to use service names but need magic numbers. I'm struggling with finding which magic numbers that I really care about.
Can someone direct me to good things to read so that I can learn more?
Can someone tell me which linux-based tool(s) will let me watch the traffic on the wire and get some idea about what my traffic is?
I would prefer readings that are not vendor specific, but I'll read whatever you recommend.
I would prefer tool(s) that someone with novice network knowledge can deploy.
This implies that they need reasonable docs and user interface.
I'm usually able to dig through the details but I'm confused by what I read about VLAN configuration. The main trouble lies with what I call, "you just gotta know" syndrome. Specifically, if you know what you are doing, the docs and howto make sense. Otherwise, one can't see the trees for all of the dusty details, much less have any view of the forest.
Whatever I learn, I will post back here and elsewhere so that others will benefit from whatever help you give to me.
Lots of effort. Not much progress ... yet.
~~~ 8d;-/ Dan
I would put a real router - some linux box, not the silly things they hang onto modems. I would put 2 or even three nics in it, and have one for the internet connection, and preferably one for the 2 vlans that AT & T require. If they both are to go down the same wire, you only need two nics.
Take an A3 page, and draw everything for yourself, leaving room for numbers and IPs, and in the words of Jon Luc Picard "Make it so!"
I tend to use wireshark. Some switches and other devices may also show various types of data. Some linux gui apps may show local lan data. Remember that switches won't send full data to all clients. That is their job.
If you don't get any good web help, might go to cisco pages. While it is for a switch or router the facts are all the same for the most part. Even many of the terms.
I followed the link and found a short page. There were links on that page, but many of them were broken for me. Specifically, I could not get beyond the original page. When I would flyover these other links, I could see other places listed on the status bar. However, I could never navigate to those places.
I'll keep playing to see if I can sort out what's going on.
~~~ 0;-Dan
Sorry iof it wasn't good. It looked tjhe part, but apparently those functions are all in the kernel now. Have you grepped the kernel /Documentation/networking area for vlan? Several helpful files there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.