C
C
Cyril2017-06-16 15:30:06
System administration
Cyril, 2017-06-16 15:30:06

How to correctly register a route so that the computer becomes visible?

Computer 1 has two IP addresses configured on its network interface. For some reason, the IP address 192.168.44.5 is not visible to other computers on the 192.168.44.0/24 subnet, but Computer 1 itself sees all other computers (both subnets 192.168.44.0/24 and 192.168.100.0/24). But if you ping from Mikrotik itself, the IP address is 192.168.44.5, then the ping goes.
In Mikrotik, the subnet 192.168.44.0/24 is connected to the ether5 interface, and the subnet 192.168.100.0/24 is connected to the ether6 interface.
On Mikrotik I wrote:

/ip address
add address=192.168.44.254/24 interface=ether5 network=192.168.44.0
add address=192.168.100.254/24 interface=ether6 network=192.168.100.0

Corresponding routes were created in /ip route Mikrotik.
When I assign a route to Computer 2
router add 192.168.44.5 192.168.44.254
: then Computer 1 becomes visible to Computer 2 .
What needs to be done on Mikrotik itself so that Computer 1 becomes visible at the IP address 192.168.44.5 in the 192.168.44.0/24 subnet without prescribing additional routes on the computers themselves? From Mikrotik itself, the ping is 192.168.44.5.
07883e93c04642ab9b7d707a48848455.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor Belsky, 2017-06-16
@belyaevcyrill

The thing is that Computer 2 , without specifying a static route, considers that 192.168.44.5/24 is on the same network with it and is not even going to send packets to the default gateway, but simply sends arp requests and naturally does not receive answers to them . Therefore, without a route, it will be difficult for you. Of course, you can bring Computer 2 to a separate vlan and enable proxy-arp on the Mikrotik interface , but I think this is not your case.

S
silverjoe, 2017-06-16
@silverjoe

It is necessary for computers in the network 192.168.100.0/24 to say that network 44 is served by the gateway
192.168.100.254

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question