N
N
Nabi Alimetov2016-09-27 08:58:02
Windows
Nabi Alimetov, 2016-09-27 08:58:02

How to make a router from Windows 7?

Good afternoon!
There is a machine on Windows 7 with two network cards. Accordingly, network cards look at different subnets and you need to configure routing between them. I turned on the routing service on it, specified it as a gateway on client computers, disabled firewall antiviruses. print route looked: only one default route. From this machine both subnets respond. What else can you see? Where to "dig"?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
athacker, 2016-09-27
@alnabi

A router does not need any routes to route networks connected directly to it. It is enough to enable IP forwarding, and everything will work by itself. Routes must be specified on clients that are on different subnets.
Let's say you have two networks - 192.168.1.0/24 and 10.0.0.0/24. On win7, there are two interfaces - one has IP 192.168.1.1, the second has 10.0.0.1. In the registry, you need to register a key that allows packet transfer between interfaces. I do not remember the name of the key, but Google will tell you.
Accordingly, on machines in the 192.168.1.1 network, you need to specify a route to the 10.0.0.0/24 subnet:
route -p add 10.0.0.0 mask 255.255.255.0 192.168.1.1 (command syntax -- for Windows);
On machines in the 10.0.0.0/24 network, specify the route to the 192.168.1.1 network:
route -p add 192.168.1.0 mask 255.255.255.0 10.0.0.1
Then it will work.

V
Vladimir Kuzin, 2016-09-27
@Bobson8

Dig in the direction of route add if the networks do not ping each other from the local area. Add both routes, from one network to the other.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question