08-30-2008, 04:40 PM
(Este mensaje fue modificado por última vez en: 08-30-2008, 04:44 PM por Haitike.)
Bueno, a ver si alguien me ayuda. Necesito poner ip fija para que el rooter me abra puertos, pero haga lo que haga la ip sigue dinámica.
Tanto modificando el archivo de configuración y reinciando el servicio:
como usando el comando ifconfig como root:
Obtengo el siguiente error:
Después de ese error el internet sigue funcionando perfectamente pero me da ip dinamica, y no la ip que yo quiero que me de.
Este es mi arhivo de red:
Quizás sea algún problema de kenel,drivers o algo asà ya que este linux lo instalé en una torre que tenÃa otra tarjeta de red distinta.
Tanto modificando el archivo de configuración y reinciando el servicio:
Código:
vim /etc/network/interfaces
/etc/init.d/networking restart
como usando el comando ifconfig como root:
Código:
ifconfig eth0 192.168.0.4 netmask 255.255.255.0 broadcast 192.168.0.1 up
Obtengo el siguiente error:
Código:
SIOCSIFADDR: No existe el dispositivo
eth0: ERROR while getting interface flags: No existe el dispositivo
SIOCSIFNETMASK: No existe el dispositivo
SIOCSIFBRDADDR: No existe el dispositivo
eth0: ERROR while getting interface flags: No existe el dispositivo
eth0: ERROR while getting interface flags: No existe el dispositivo
Después de ese error el internet sigue funcionando perfectamente pero me da ip dinamica, y no la ip que yo quiero que me de.
Este es mi arhivo de red:
Código:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.0.4
netmask 255.255.255.0
gateway 192.168.0.1
Quizás sea algún problema de kenel,drivers o algo asà ya que este linux lo instalé en una torre que tenÃa otra tarjeta de red distinta.
![[Imagen: palhaitikefv6.jpg]](http://img522.imageshack.us/img522/3072/palhaitikefv6.jpg)