Score:-2

Hiding subnet from router

zw flag

Lets say I have a network layout similar to this:

Subnet

What do I need in the ? node so that all of the PC's are not discoverable form the main network, but can access the main network/internet? I don't know if the "Main network" is a subnet in itself or not. The main network should see only the equivalent to one IP address, masking all the traffic as if only one IP is being used. I was advised that using a subnet router (NAT?) can still render the network machines discoverable?

Is there any definitive solution for this? I can afford to use custom hardware or a another machine with a network card. I'm sorry for my low networking knowledge if this a simple setup.

pt flag
This is exactly how a typical home router operates: the machines in your house can access the internet, but hosts on the internet don't have direct access to your individual machines. So "?" could just be a typical home internet gateway, or a Linux system configured with a `MASQUERADE` NAT rule, etc.
br flag
Just get a networking professional involved - or is this a home thing?
Score:1
lk flag

You need a NAT device.

  • the device can be a router with NAT capability
  • the device can be a firewall which is in fact a router with NAT capability + security features

the NAT device will:

  • perform SNAT when a PCs want to reach main network (change source PCs IP by the "one IP is being used" you defined)
  • perform DNAT if you configure a PC to be reachable by the main network (change destination "one IP is being used" by the destination PC IP)

I assume your environment is IPv4. for IPv6 it can be different but I don't want to complexify.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.