General discussion

Locked

how to remove public IP of ADSL router?

By lezec ·
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 191 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

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Jaqui In reply to how to remove public IP o ...

inernet]
|
| - now this address is occupied by this router
[linux BOX]
| - private ip address (class C by rfc 191 What should I give here?

192.168.x.x
this range is reserved for private networks
| - I would like to setup that one public address here, how?
[ADSL router]
| - private address/mask
| - private address/mask
[users]

to use with router between server and internet,
you have to connect the user machines to the router as well, and assign private addresses to each. setting route on each to point to the server as default, and setting up a route to other networks through the external ip addy of the router.

Back to Networks Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums