LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-05-2012, 01:27 AM   #1
sirfraz
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
Question Linux Router - 3 private networks


Hi, I am trying to learn a little about networking and Linux. What I was wondering is, is it possible to setup a Linux router, with 1 network card, then have that connected to a switch, that would route traffic for 3 different network (192.168.1, 192.168.2, & 192.168.3)?

Or do I need to have 3 separate network cards in the Linux box?

If anyone could point me in the right direction, it would be much appreciated Thanks.
 
Old 04-05-2012, 01:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
You should use vlan tagging if you only have one card, this does require a suitably capable switch. People may suggest that you can use dumb aliased interfaces as opposed to vlans but you said you want to learn, and doing things badly against any standard is not a way to learn.
 
Old 04-08-2012, 08:36 PM   #3
sirfraz
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks acid_kewpie, looks like I have some reading to do
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Isolating private networks? MrUmunhum Linux - Networking 3 03-14-2010 09:56 PM
please help nat router to two private networks jwebby Linux - Newbie 2 02-09-2010 10:12 AM
How to connect two private networks? veeruk101 Linux - Networking 10 07-17-2007 06:57 AM
router/private server linux box rude_reality Linux - Networking 4 01-07-2007 09:34 AM
VPN - Virtual Private Networks? bnicolas Linux - Newbie 1 08-16-2001 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration