LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Ubuntu server 11.4 as a vlan router (https://www.linuxquestions.org/questions/linux-server-73/ubuntu-server-11-4-as-a-vlan-router-940522/)

hewittrj 04-18-2012 03:38 PM

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

acid_kewpie 04-18-2012 04:30 PM

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.

hewittrj 04-18-2012 07:40 PM

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

es0teric 04-18-2012 09:55 PM

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.

acid_kewpie 04-19-2012 01:48 AM

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:44 AM.