move public IP address of ADSL router to the server in LAN (behind router)? - TechRepublic
General discussion
April 1, 2005 at 12:17 PM
lezec

move public IP address of ADSL router to the server in LAN (behind router)?

by lezec . Updated 21 years, 3 months ago

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.

Many thans in advance for any help to solve this problem.


Luskacik

This discussion is locked

All Comments