E
E
Ecorp2016-09-26 11:08:28
Computer networks
Ecorp, 2016-09-26 11:08:28

What are the rules for connecting routers?

Suppose we have network A which is connected to router X and network B which is connected to router Y.
What ips should I assign to the routers' 'bonding' ports in order to connect these networks?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Melkij, 2016-09-26
@melkij

Globally available - those that your provider gives you. If you already have AS - then you would not have asked this here, but asked your network administrator. LAN - any addresses from gray subnets.
The main thing is that both routers know where to send packets.
Router X must know that network B is reachable through host Y.
Router Y must know that network A is reachable through host X.
The IP addresses of hosts X and Y themselves do not matter, nor does the number of these addresses. Then there is only the question of how to do it so as not to prescribe these routing tables manually and all sorts of redundancy schemes, load balancing, cost.
It if without NAT, it is simple to transfer packets among themselves.

H
hoarywolf, 2016-09-26
@hoarywolf

Any addresses from the public network

V
V-core, 2016-09-26
@V-core

The "bonding port" addresses of the routers must be on the same IP network.
In your case, 1 router is enough to connect two networks.

B
blackbeard, 2016-09-26
@Black_beard_ast

More specifics) Routers see each other directly / through the provider, etc. Are there only 2? If more, it makes sense to raise dynamic routing. Assigning addresses is not enough, you must also register routes, and on both sides.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question