Answer the question
In order to leave comments, you need to log in
How to set up 3 network interfaces on windows without default gateway conflict?
There are 3 sets. interface.
1 - With internet access. 2 - no access.
everyone must have their own gateway registered, or it does not work.
when I turn off one works, how to make all 3 work correctly?
Answer the question
In order to leave comments, you need to log in
Why must the gateway be registered?
Is there anything to route there?
If there is, then you will need to play around with the route command and configure what will be routed where.
If there is only one specific subnet on two interfaces, the gateway is enough only where the Internet is.
Either you prescribe static routes (removing two main gateways, out of three) or play with the parameters Metric in the gateway and metric in the interface (setting a lower metric for the interface looking at the Internet), however, I note that such a setting will make it so that the default traffic will be go only to one (main) interface, and the rest will only be for their networks (i.e. the other two marches in this scenario do not participate in routing).
You would outline a network diagram indicating your server on it. Then it would be possible to give more specific advice.
The default gateway on the host is always one. You need to configure routing on the host, i.e. set rules for which IP networks through which IP (external gateway) it will send packets. Packets from destinations must also reach the host - either through the routing tables of these hosts, or through intermediate routers. IMHO on a host both in windows and in linux routing is configured through the route command. Do not forget that after rebooting the host, the routing table must be loaded into its memory again by an autorun script in windows or an init script in linux.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question