LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-28-2020, 02:23 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
in-house, home office route tables


ISP modems, gateway boxes, most third party network devices default to a Class C IP address something like 192.168.000.000/16.

See Private IP Network

I want to separate my work traffic from my home traffic
using a Class B IP address something like 172.16.000.000/12.
Clearly my access points and router boxes will use Class-B configuration
for all of my work things.

Can someone help me sort out Route Table Entries or other
LAN configuration details so that this works reasonably well?

Some issues that I have no idea how to address:
  • there won't be any DMZ servers in Phase-I deployment
  • my primary access point/router will need to interact with the Class-C primary router.
  • my Class-B devices need to access some Class-C printers or resources
  • some Class-C resources need to access some Class-B printers or resources
  • mobile & hand-held devices need to work everywhere but do so securely

Will I need, or is it a preferred deployment, to have a configured DNS in either the Class-C or the Class-B LAN?


Thanks in advance,
~~~ 0;-Dan

Last edited by SaintDanBert; 08-28-2020 at 02:28 PM. Reason: clarification
 
Old 08-28-2020, 08:43 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,346
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
I don't know enough to proffer any suggestions, but I can point you to the best tutorial on subnetting I have ever seen. I hope it will give you some hints.

Don't be put off by the HTML 3.0 formatting. When I first encountered it, it was on a *.edu site. My best guess is that the author retired or left academia and put it up on his personal website.

I also found this article by searching for "two LANs one modem": https://blog.itpro.tv/how-to-configu...on-one-router/

Last edited by frankbell; 08-28-2020 at 08:45 PM.
 
1 members found this post helpful.
Old 08-28-2020, 09:52 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Unless you're planning on deploying a large network with many hosts, then two small subnets is likely all you require for a typical SOHO network. For example, 192.168.2.0/25, and 192.168.2.128/25 would provide for 126 hosts each! The class you choose is unlikely to matter in the context of separating two networks for home and office use. You may need to clarify further if your requirements/reasons are different than speculated.

Many home routers would be very limited in what they could provide, so I'd recommend using a small business/enterprise grade router. No need for top-end (unless your budget allows it). For example, an Ubiquiti or Mikrotik device would probably suffice, or at least a router running DD-WRT or OpenWRT for configuration purposes.
 
2 members found this post helpful.
Old 10-01-2020, 01:22 PM   #4
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by ferrari View Post
Unless you're planning on deploying a large network with many hosts, then two small subnets is likely all you require for a typical SOHO network. For example, 192.168.2.0/25, and 192.168.2.128/25 would provide for 126 hosts each! The class you choose is unlikely to matter in the context of separating two networks for home and office use. You may need to clarify further if your requirements/reasons are different than speculated.

Many home routers would be very limited in what they could provide, so I'd recommend using a small business/enterprise grade router. No need for top-end (unless your budget allows it). For example, an Ubiquiti or Mikrotik device would probably suffice, or at least a router running DD-WRT or OpenWRT for configuration purposes.
Say that I have two subnets: 192.168.1.xxx for all of those out-of-box network gadgets and toys and 192.168.10.xxx for real work (mostly). Won't I need route table entries so that my wife 1.xxx iDevice can access my high-end 10.xxx printer and similar situations?

Thanks in advance,
~~~ 0;-Dan
 
Old 10-01-2020, 04:19 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Yes, the router should be configured to route traffic between the two subnets.
 
1 members found this post helpful.
Old 10-04-2020, 02:22 PM   #6
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,772

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by ferrari View Post
Yes, the router should be configured to route traffic between the two subnets.
Where do I find a good tutorial on creating the required route table entries?
I think that the internalroute table entries would enable SUB-A to talk with SUB-B and enable SUB-B to talk with SUB-A. I would expect that the gateway would enable both SUB-A and SUB-B to talk with the outside world with a suitable firewall. I worked with this stuff years {decades} ago but have forgotten most of what I knew then.

Thanks in advance,
~~~ 0;-Dan
 
Old 10-04-2020, 02:43 PM   #7
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Yes, that should be the case.
 
  


Reply

Tags
home office, private ip, route table



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
LXer: Today in tortured tech analogies: Mozilla lets Firefox loose in the hen house, and by hen house, we mean the tracking cookie jar, er.. LXer Syndicated Linux News 0 09-04-2019 05:33 AM
Packet going out of wrong interface due to OS adding cache route - OS trying to route through default route msr1981 Linux - Networking 2 10-11-2017 02:58 PM
Packet going out of wrong interface due to OS adding cache route - OS trying to route through default route msr1981 Red Hat 1 10-09-2017 05:45 AM
LXer: China president at Gates house, not White House LXer Syndicated Linux News 0 04-16-2006 09:33 PM
I am not able to add a new route to my route table using route command prashanth s j Linux - Networking 2 09-03-2005 04:34 AM

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

All times are GMT -5. The time now is 12:33 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