Para ver las interfaces /sbin/ifconfig -a. El gateway con /bin/netstat -rn (te da todas las rutas).
Efectivamente, con /etc/init.d/networking restart no te corta, porque para pero vuelve a arrancar. Si intenas hacer /etc/init.d/networking stop y luego start, entonces si te cortar�, y te puedes quedar aislado. Hay otros que se complican m�s la vida, y se crean un script con el networking stop y start, y lo ejecutan con nohup. -----Mensaje original----- De: n�hil n�vum sub sole [mailto:[EMAIL PROTECTED] nombre de Matias Enviado el: jueves, 21 de marzo de 2002 18:17 Para: [EMAIL PROTECTED] CC: [EMAIL PROTECTED]; [email protected] Asunto: Re: Sobre cambiar el Gateway Hola: Yo lo hago con "/etc/init.d/networking restart" Hasta ahora nunca me cort� el ssh y pude seguir trabajando. Atentamente, yo <Mat�as> On Thu, 21 Mar 2002 12:29:14 +0100 Jaime Rodr�guez Molina <[EMAIL PROTECTED]> wrote: > hola > > Tengo mi fichero /etc/network/interfaces con mis parametros y en uno de > ellos pone gateway 192.168.40.10 > > Si cambio el gateway por otro, como hago para refrescar eth0?. Sin que > corte la conexion via ssh. > > > Otra pregunta . COmo se el estado de mi maquina? direccion ip, > gateway...... en cada momento? > > gracias y saludos > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

