Re: Utilizar Linux a modo de router ADSL
El Jueves, 19 de Octubre de 2006 13:18, Joaquín Prieto escribió:
> Hola majos,
>
> Una duda que me asalta desde hace tiempo.
>
> ¿Alguien sabe si es posible utilizar un PC con linux (Debian, se
> sobreentiende) a modo de router? Quiero decir no solo como encaminador
> de paquetes sino como router ADSL o sea enchufar el RJ-11 a este PC y
> que me conecte con mi ISP como hago normalmente con el router ADSL de
> toda la vida.
>
> Espero haberme explicado correctamente.
No lo he hecho nunca, pero en su día miré un poco de estos temas y entiendo
que sí se puede. De hecho, mira los ejemplos de:
/usr/share/doc/ppp/examples
Por ejemplo, "peers-pppoa":
# example configuration for the kernel space PPP over ATM driver
#
# See the manual page pppd(8) for information on all the options.
# MUST CHANGE: replace myusername@realm with the PPP login name given to
# your by your provider.
# There should be a matching entry with the password in /etc/ppp/pap-secrets
# and/or /etc/ppp/chap-secrets.
user "myusername@realm"
# Load the PPPoA plugin.
plugin pppoatm.so
# VP.VC pair used by your ISP.
8.35
# Enable this option if your ISP uses PPPoA with LLC encapsulation.
#llc-encaps
# Assumes that your IP address is allocated dynamically by the ISP.
noipdefault
# Try to get the name server addresses from the ISP.
usepeerdns
# Use this connection as the default route.
defaultroute
# Makes pppd "dial again" when the connection is lost.
persist
# Do not ask the remote to authenticate.
noauth
Suerte.
--
Iñaki
Por el bien de todos respetemos las normas de la lista:
http://wiki.debian.org/NormasLista
Reply to: