On Tue, Dec 17, 2002 at 01:21:58AM +0100, Jos� Luis Fern�ndez Barros wrote:
> El Lun 16 Dic 2002 10:34, jose alberto arzate escribi�:
> > en algunas ocaciones tengo necesidad de saber la ip estatica y la mascara
> > de red de alguna maquina y dentro de la red no saben nada de esta
> > configuracion teniendo que averiguarlo a mano.....
> >

Si la m�quina tiene un nombre y est� en un DNS, con dig y con host tienes
bastante informaci�n. Ejemplo:


[EMAIL PROTECTED]:~$ dig murphy.debian.org

; <<>> DiG 9.2.1 <<>> murphy.debian.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8369
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 8, ADDITIONAL: 3

;; QUESTION SECTION:
;murphy.debian.org.             IN      A

;; ANSWER SECTION:
murphy.debian.org.      1435    IN      A       65.125.64.134

;; AUTHORITY SECTION:
debian.org.             10775   IN      NS      saens.debian.org.
debian.org.             10775   IN      NS      murphy.debian.org.
debian.org.             10775   IN      NS      samosa.debian.org.
debian.org.             10775   IN      NS      ns.hands.com.
debian.org.             10775   IN      NS      ns1.waw.com.
debian.org.             10775   IN      NS      ns2.cistron.nl.
debian.org.             10775   IN      NS      raff.debian.org.
debian.org.             10775   IN      NS      auric.debian.org.

;; ADDITIONAL SECTION:
ns.hands.com.           2817    IN      A       195.224.53.39
raff.debian.org.        10775   IN      A       208.185.25.38
auric.debian.org.       10775   IN      A       206.246.226.45

;; Query time: 5 msec
;; SERVER: 147.156.1.1#53(147.156.1.1)
;; WHEN: Tue Dec 17 09:56:53 2002
;; MSG SIZE  rcvd: 269

[EMAIL PROTECTED]:~$ host murphy.debian.org
murphy.debian.org       A       65.125.64.134
[EMAIL PROTECTED]:~$ 


> > � exiete alguna utilidad que me permita averiguar que rango de ip su esan
> > en la red y la mascara de red asi como el gw...
> >
> > gracias
> 
> ifconfig
> route
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
May the source be with you
--------------------------------------------------------------------
Ignacio Garc�a Fern�ndez                      <[EMAIL PROTECTED]>
Instituto de Rob�tica.                        
Universidad de Valencia.                            Tlf. 96 354 3564

http://shannon.irobot.uv.es/~ignacio/  

Responder a