Re: Sin conexion a internet en servidor casero
On Lunes, 16 de Mayo de 2011 23:38:53 Juan Pablo Alesandri escribió:
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> allow-hotplug eth0
> iface eth0 inet static
>
> address ip-fija-del-servidor
> netmask 255.255.255.0
> gateway 192.168.1.1
> nameserver 208.67.222.222 208.67.220.220
>
Yo camibariá el allow-hotplug por auto
La información que necesitas está aquí:
http://www.debian.org/doc/manuals/reference/ch05.en.html#_the_basic_syntax_of_etc_network_interfaces
Y debería ser algo así.
allow-hotplug eth0
iface eth0 inet static
address 192.168.11.100
netmask 255.255.255.0
broadcast 192.168.11.255
gateway 192.168.11.1
dns-nameservers 192.168.11.1
Aunque no es necesaria la ultima línea si tienes bien configurado el
/etc/resolv.conf
cat /etc/resolv.conf
nameserver 80.58.61.250
nameserver 80.58.61.254
Un saludo
BasaBuru
Reply to: