Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-18-2012, 03:38 PM
|
#1
|
Member
Registered: Mar 2007
Posts: 83
Rep:
|
Ubuntu server 11.4 as a vlan router
Has anyone ever setup Ubuntu server or an cli interface Linux server as a vlan router with a catalist 2950 switch. I thinking of doing this for a project
Robert
|
|
|
04-18-2012, 04:30 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
I'd suggest actually asking a specific question, rather than asking if someone has done it. it's certainly possible, you don't need a show of hands to prove that.
|
|
|
04-18-2012, 07:40 PM
|
#3
|
Member
Registered: Mar 2007
Posts: 83
Original Poster
Rep:
|
Sorry I was too vague did not realize
More to the point how difficult is it to do.
I need to make two separate networks share one broadband connection but not be able to see each other, and also be able to share a fax server as well.
I am trying to figure the best way to do this before I set down on what I want to do, the other way is to use iptables but I don't know if this is the right way to go or idf the vlan path is the better way.
Robert
|
|
|
04-18-2012, 09:55 PM
|
#4
|
Member
Registered: Apr 2007
Distribution: Ubuntu
Posts: 105
Rep:
|
Generally, a switch will be fine if you want to do things within a single network or have multiple totally isolated networks. If you want to allow communication among networks though, then you'll need to do routing. iptables is a simple and well-documented way to accomplish that.
|
|
|
04-19-2012, 01:48 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
vlans (layer 2) and iptables (layer 3 & 4) have nothing in common. One does not affect the need to use the other.
If you want two separate subnets behind your router machine then either vlans or multiple NIC's would be desirable, and given the 2950, vlans make perfect sense. You'll still be looking at iptables to block traffic between those two networks, and to effectively pass it on to the outside world.
|
|
|
All times are GMT -5. The time now is 12:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|