Answer the question
In order to leave comments, you need to log in
What should a subnetted network look like?
The question is purely on theory to fill in the gaps
Let's say there is a home router N that receives the Internet and has ip 192.168.0.1
let there be 2 machines on win 10. connected by an ethernet cable. Let's call them A (192.168.0.5) and B (192.168.0.10) (eng)
But B has another (second) network card that connects to an unmanaged switch to which several machines are connected (to simplify the task, instead of a switch, you can take smb /nas)
ip of the second network card let it be 192.168.1.1 dhcp is raised on it (another one on the router)
Now there is a question
How to unite all this business so that all machines see each other (sharing / smb) without problems and have access to the Internet? devices without problems seen on the network
what mask to use? how to implement connections (like connecting with a bridge, rout add, etc.)
Help with educational program, I repeat: the question is purely for theory, it will not be possible to check
Please write, if you are sure of the answer
. Will it be necessary to smoke about Vlan?
Answer the question
In order to leave comments, you need to log in
If I understand the question correctly. Then machine B has 2 cards. The software of one receives the Internet from the router, the second is the DHCP server and gateway for the next subnet.
In this case, it is necessary to register routes back and forth on the router. That is, explain to the router that the subnet 192.168.1.1 must be searched for on machine B (192.168.0.10). On machine B, you need to do the same operation - that the subnet 192.168.0.1 should be searched for on the network address 192.168.1.1.
In fact, this is called routing.
But usually these two subnets are raised on the router, and then divorced from it. Bypassing the circuit with a PC.
A machine with two network cards must be a router.
Its task is to route traffic between networks.
On Linux, everything is simpler there, everything is there out of the box, on Windows it is more complicated, but also feasible.
Although it is much easier, cheaper and more efficient to assign such tasks to iron routers.
Will it be necessary to smoke about Vlan?And Vlan here what side?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question