RicardoPereira
Programmer
It is possible configure linux to force an ip forward to another?
Here is what i need:
I have 2 servers, Server1 with 1 network adapter (internal) and Server2 with 2 network adapters (one internal and the another external).
From Server2 i what to have an external ip that forward the reply to the internal dapter.
Server1: 10.2.255.2
Server2: 192.168.10.1
I need to had another ip (like 192.168.10.2) that forward to 10.2.255.2.
something like:
> ping 192.168.10.2
64 bytes from 10.2.255.2: icmp_seq=1 ttl=255 time=1.83 ms
64 bytes from 10.2.255.2: icmp_seq=2 ttl=255 time=0.446 ms
what have now is;
> ping 192.168.10.2
PING 192.168.10.2 (192.168.10.2) from 192.168.10.1 : 56(84) bytes of data.
From 192.168.10.2 icmp_seq=1 Destination Host Unreachable
From 192.168.10.2 icmp_seq=2 Destination Host Unreachable
From 192.168.10.2 icmp_seq=3 Destination Host Unreachable
I really need help.
Here is what i need:
I have 2 servers, Server1 with 1 network adapter (internal) and Server2 with 2 network adapters (one internal and the another external).
From Server2 i what to have an external ip that forward the reply to the internal dapter.
Server1: 10.2.255.2
Server2: 192.168.10.1
I need to had another ip (like 192.168.10.2) that forward to 10.2.255.2.
something like:
> ping 192.168.10.2
64 bytes from 10.2.255.2: icmp_seq=1 ttl=255 time=1.83 ms
64 bytes from 10.2.255.2: icmp_seq=2 ttl=255 time=0.446 ms
what have now is;
> ping 192.168.10.2
PING 192.168.10.2 (192.168.10.2) from 192.168.10.1 : 56(84) bytes of data.
From 192.168.10.2 icmp_seq=1 Destination Host Unreachable
From 192.168.10.2 icmp_seq=2 Destination Host Unreachable
From 192.168.10.2 icmp_seq=3 Destination Host Unreachable
I really need help.