Raffaele Morelli schreef:
> 2009/6/25 Johannes Wiedersich <johan...@physik.blm.tu-muenchen.de>:
>> Raffaele Morelli wrote:
>>> 2009/6/25 Jochen Schulz <m...@well-adjusted.de>:
>>>> Raffaele Morelli:
>>>>> I bought a LinkSys WRT54GL wirelss router and I am going to configure
>>>>> it to extend my DSL connection at home.
>>>>> I am not new to debian but network(ing) skills are modest.
> I am going to use it as a router connected to the dsl modem, i.e.
> 
> 1. assign a static ip to the WRT in the range of 192.168.1.0/24 but
> different from the one of DSL modem
> 2. disable dhcp and routing on the WRT
> 3. connect the internet to the DSL modem and connect the WRT to the
> modem using the eth ports (not the internet port on the WRT)
> 4. connect my debian box to the WRT and use dhcpclient to obtain a
> valid ip address tunnelled to the WRT by the DSL modem
Keep it simple. Connect the wan port to your dsl modem, and let the wrt
do its nat-routing. If your dsl modem has an address like 192.168.1.1,
then you have to choose an address from a different range for your wrt
router, eg 192.168.2.1, also set the netmask accordingly (255.255.255.0
in this case). This way you can still reach your dsl modem to set stuff
there.
The outbound address of your wrt can be provided by the dsl modem's dhcp
server. This will be blocked by the wrt, and clients of the wrt will
acquire their address from the dhcp server on the wrt router.
This is my setup, and works without any problems.

If you want your router to be reachable from the world, set the dsl
modem to forward all traffic to the wrt router. Similarly, if you have a
server behind the wrt, you can set forwarding (global or port based) in
your wrt.
Good luck!

Sjoerd

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to