S
S
Sergey Vasiliev2021-07-25 12:43:22
linux
Sergey Vasiliev, 2021-07-25 12:43:22

Is it possible to give a machine the address of a remote machine?

There are 2 machines: xxxx and yyyy, they are in different locations. There is also a GRE tunnel between them. Is there any way to make the ip xxxx become the local ip of the machine yyyy?
Those that, ideally, the second machine had 2 working local IPs: xxxx yyyy

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hint000, 2021-07-25
@hint000

What do you call a "local" address?
Yes, on the xxxx side, you can do DNAT + SNAT so that the yyyy machine receives a certain part of the traffic coming to xxxx
Or vice versa, you can route outgoing traffic from yyyy to xxxx and MASQUERADE is enough there.
Depending on which of these you require.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question