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.
I bought a vLAN enabled switch its D-link Des-1226, now I'm facing problem making it work. Anybody have any experience with setting up vLAN on any D-link switch, or can give me some pointers as to how it is done. I'm very much confused with VID, PVID, trunk, untagged port, tag port. Can someone tell me when to use what option.
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216
Rep:
Welcome to advanced networking. VLANs allow you to segregate a switch into multiple, virtual LANs. (But you knew that :-). You need to configure each port on the switch to be part of a VID. Only ports that are configured with the same VID number can talk to each other. For example, if Port 1 is set for VID 1 and Ports 3 and 4 are set for VID 2, no traffic can flow between Port 1 and Ports 3 or 4 unless it is through a router. This is the 50,000 foot view and there is more to it, much you are going to need to sit down with the manual and try different configurations to see what will work for the way you want it set up.
Yeah it was. So i got a new Linksys SRW224G4, and things are working out quit good till now.
I able to get vlans working but its kind of not segregated. The vlan 30.2 and ping 20.2 and vice versa, offcourse i dont want that to happen, I want 20.2 to be alone in its network and 30.2 to be alone can someone tell me how do i do it?
here are the screen shots of my configuration.
port e2 in switch get the direct cable from vyatta,
well i don't know that device, but there's nothing "obviously" wrong with that at all. presumably you just need to use the separate firewall functionality on the box to filter it.
Thanks for the replies guys, thats working but now i have assign firewall rules in vyatta and also how do enable internet after enabling firewall rules in vyatta, i mean what kind of rule i need to add to vyatta firewall.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.