how to remove public IP of ADSL router?
Hello masters,
please would be somebody so polite to help me with my problem?
I have one ADSL router [Intracom jetSpeed 520i] with one public address/255.255.255.255 and I would like to set it on the server behind this router - to the LAN like scheme:
[inernet]
|
| - now this address is occupied by this router
[ADSL router]
| - private ip address (class C by rfc 1918) What should I give here?
| - I would like to setup that one public address here, how?
[linux BOX]
| - private address/mask
| - private address/mask
[users]
I tried to modify route table of ADSL router like:
route add -host [my one public address] gw [eth0 of ADSL router]
and setup eth0 of linux BOX like:
inet addr:[my one public address] Bcast:[my one public address] Mask:255.255.255.255
But it seems, that this is a wrong way, or something missing, because tcpdump -nei eth0 of linuxbox don't show any data, when I try to connect and there of course coun't be two same IP addresses in the internet.
And I think, that NAT isn't solution because linux box will be a gateway for others computer in LAN (behind linuxbox). Or am I wrong?
Many thans in advance for any help to solve this problem.
--
Luskacik