A
A
Anton Bulkin2019-12-23 16:25:39
Computer networks
Anton Bulkin, 2019-12-23 16:25:39

How to send several computers on the same network to different providers?

Greetings!
There is such task:
PK1-PK4 are in one subnet. It is necessary to make sure that each PC, when accessing the Internet, has an IP address of the provider. PC1 - ISP1, PC2 - ISP2, PC3 - ISP3, PC4 - ISP4.
I understand that I need to dig in the direction of routing, but I can’t google anything intelligible, unfortunately.
GW1 - 0.1/24, GW2 - 1.1/24
Computer addresses are static.
5e00bdd7885b7358600247.jpeg
I would be glad for any hints in which direction to dig exactly, and what exactly to look for.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

6 answer(s)
R
Ruslan-Strannik, 2019-12-23
@wulxgarnyj

routes. namely, the route table, of which there can be 251 in the MT, as far as I remember (in addition to the main one)
for each necessary machine, make its own routing table.
создал таблицу isp22 для локальной машины с айпи 10.10.0.15 в правилах. Этим я говорю что машина с этим айпи будет искать себе пути только в таблице isp22 (lookup only)
далее создаю маршрут по умолчанию для таблицу isp22
и вот как меняется путь пакета.
5e00cfdf57c37236374696.jpeg

S
Sergey Ryzhkin, 2019-12-23
@Franciz

Think right: dig into static routes, gateways, etc.
Read the series: "Networks for the smallest" - everything will be shown and told there.

D
DDwrt100, 2019-12-23
@DDwrt100

You need pbr, which allows routing to take into account the outgoing address.

W
Wexter, 2019-12-23
@Wexter

Dig towards routing tables and policy based routing

M
MaxxZ, 2019-12-24
@MaxxxZ

It all depends on the interface with the provider. If without nat, then you need to forward VLANs between routers.
And if with routing, then as an alternative to the mentioned PBR, you can use VRF

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question