LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-16-2015, 10:42 AM   #1
jsherman0110
Member
 
Registered: Nov 2015
Location: Texas
Distribution: Arch, Debian, LFS
Posts: 31

Rep: Reputation: 0
Setting up Home and office network


Hello, I had a simple question for some people on here most likely, but I am having a difficult time trying to make a decision.
I want to set up my home network with my office and my family's internet use like in watching Netflix and searching the web and for my office doing stuff for work. Can I set my network up by
Modem => firewall hardware => two routers connected to firewall or
do I need to cascade the routers for two separate networks?
Thank you.
 
Old 11-16-2015, 03:50 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,839

Rep: Reputation: 160Reputation: 160
Why do you put router between network and firewall? What's router major functionality? In general, two router connected to firewall for two type of network is better than cascade these two routers.
 
Old 11-17-2015, 01:22 AM   #3
LanceTaylor
Member
 
Registered: Nov 2015
Location: Houston, Texas, US
Distribution: RHEL/CentOS, Debian/Linux Mint, SLES
Posts: 40

Rep: Reputation: 19
Router Firewall

Typically your home router will have firewall capability built-in, so you do not need separate firewall hardware. I am not sure why you want to have a second router, but since the home routers also typically act as the DHCP Server, you will want to disable that function on one of them.
 
Old 11-17-2015, 12:05 PM   #4
jsherman0110
Member
 
Registered: Nov 2015
Location: Texas
Distribution: Arch, Debian, LFS
Posts: 31

Original Poster
Rep: Reputation: 0
Yeah I wanted to split the network with 2 routers because for my office network I will be day trading stocks and messing around with Linux machines and building websites. And for the second network my family could use it for school, their tv's and stuff like that.
 
Old 11-17-2015, 12:59 PM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Do you want either network to be able to access machines on the other?

Do either of your routers have "guest network" capabilities?
 
Old 11-17-2015, 01:03 PM   #6
jsherman0110
Member
 
Registered: Nov 2015
Location: Texas
Distribution: Arch, Debian, LFS
Posts: 31

Original Poster
Rep: Reputation: 0
No I don't want them to be able to access one another. I figured if I want to do that, I will just hook a laptop up to the network of that machine. I do believe both of them have guest network capabilities.
 
Old 11-17-2015, 01:28 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Then you probably want the two routers in parallel, not daisy-chained/cascaded. When they're daisy-chained the lower level LAN will be able to access machines on the upper level, but not the other way around. You may also be able to do it with VLANs, but I don't have a lot of experience there.
 
Old 11-17-2015, 01:39 PM   #8
jsherman0110
Member
 
Registered: Nov 2015
Location: Texas
Distribution: Arch, Debian, LFS
Posts: 31

Original Poster
Rep: Reputation: 0
OK I know a lot of people on here keep asking me why I am using a firewall(hardware). And running parallel, you mean hook both up to the switch or firewall that's hooked up to the modem?
 
Old 11-17-2015, 01:41 PM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Yes, but to do that your firewall will need NAT functionality...in other words it would need to act as a router as well.
 
Old 11-17-2015, 01:47 PM   #10
jsherman0110
Member
 
Registered: Nov 2015
Location: Texas
Distribution: Arch, Debian, LFS
Posts: 31

Original Poster
Rep: Reputation: 0
OK so I will need a firewall that has NAT functionality. When I hook that up will I need to change the routers ip's or will the firewall take care of that for me if it provides NAT?

Thank you for your help sorry I have so many questions.
 
Old 11-17-2015, 02:33 PM   #11
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Are your routers set with static IPs now, or do they run on DHCP? If they're DHCP, then provided the firewall has a built-in DHCP server, it'd be fine.
 
Old 11-17-2015, 02:45 PM   #12
jsherman0110
Member
 
Registered: Nov 2015
Location: Texas
Distribution: Arch, Debian, LFS
Posts: 31

Original Poster
Rep: Reputation: 0
They both run DHCP. I have a firewall with dual WAN and a firewall with 1 wan port. Would I only want to use the dual WAN firewall if I had a dual WAN modem?
And for the firewall I would hook up modem WAN to firewall WAN and form there I would hook up both routers to the firewall LAN ports.
Does that sound about right?
 
Old 11-17-2015, 02:55 PM   #13
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Yes

You would use the dual WAN firewall if you had two modems, say a cable modem and a 3g modem, so it could fall back on the 3g connection when the cable internet was out.
 
Old 11-17-2015, 02:57 PM   #14
jsherman0110
Member
 
Registered: Nov 2015
Location: Texas
Distribution: Arch, Debian, LFS
Posts: 31

Original Poster
Rep: Reputation: 0
OK cool thanks for your help
 
  


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
Remote Desktop from home to office network that is behind SQUID shaqa Linux - Networking 3 11-24-2009 02:01 AM
I want to login to my local office network from my pc @ home Linux Fan Linux - Newbie 3 08-28-2008 02:35 PM
I want to login to my local office network from my pc @ home but not Linux Fan Linux - Security 1 08-28-2008 07:15 AM
Setting up Office network, need help! gemsem Linux - Networking 11 07-02-2004 02:36 PM

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

All times are GMT -5. The time now is 09:45 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
Open Source Consulting | Domain Registration