----- Forwarded message from Rafa S�nchez <[EMAIL PROTECTED]> -----

Envelope-to: [EMAIL PROTECTED]
Date: Sun, 18 Feb 2001 01:53:53 +0100 (CET)
From: Rafa S�nchez <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
To: Jos� Miguel Sis� Espitia <[EMAIL PROTECTED]>
cc: [email protected]
Subject: Re: �Red com Mulinux como?
In-Reply-To: <[EMAIL PROTECTED]>
X-MIME-Autoconverted: from 8bit to quoted-printable by smtp.supercable.es id 
f1I0sl220508

On Sat, 17 Feb 2001, Jos� Miguel Sis� Espitia wrote:


Cuando puedas hacer conexiones de una m�quina a si misma nos cuentas qu�
ocurre cuando intentas hacerlo de una m�quina a otra, indicando tanto la
salida de "ifconfig", la tabla de encaminamiento, el contenido del fichero
"/etc/networks" y  los ficheros de la configuraci�n de la red en cada uno
de los equipos (si usas slink = /etc/init.d/network, si usas potato o
posterior = /etc/network/interfaces)

Saludos.

        Hola Rafa y demas:
                Perdonar que no haya contestado antes pero, solo puedo hacer 
probatinas con el Linux los fines de semana.
                Esta ma�ana he estado intentando conectar un Pentiun 133 con el 
Amd y todo ha ido perfecto, pudiendose hacer ping tando desde el 133 al amd, 
como del amd al 133, tanto en linux como el 133 con windows.
                Esto descarta que el amd este mal configurado o la tarjeta no 
funcione. Corregidme si me equivoco. Pero lo que no he conseguido es hacer ping 
desde el 386 al amd, por ello os indico los datos que me pidio Rafa.(solo os 
pongo los referentes al 386, pues se supone que el amd funciona perfecto).
                En el 386 consigo hacer ping a si mismo tanto a su IP 
192.168.1.12 como a 127.0.0.1 pero al hacer ping a la red 192.168.1.0 me dice:
        PING 192.168.1.0 (192.168.1.0): 56 data bytes
        ping: sendto: Permission denied
        ping: wrote 192.168.1.0 64 chars, ret=-1
        ping: sendto: Permission denied
        ping: wrote 192.168.1.0 64 chars, ret=-1
        etc ...
fichero /etc/hosts
127.0.0.1       localhost
192.168.1.12    www.sanvittore.it
192.168.1.1     amd.dsa.es
si hago un route
Destination     Gateway         Genmask Flag    MSS     Window  Use     Iface
localnet        *       255.255.255.0   U       1500    0       0       eth0
loopback        *       255.0.0.0       U       3504    0       0       lo
default         amd.dsa.es      *       UG      1500    0       0       eth0
si hago un ifconfig
lo      Link encap:Local Loopback
        inet addr:127.0.0.1     Bcast:127.255.255.255   Mask:255.0.0.0
        UP BROADCAST LOOPBACK RUNNING MTU:3584  Metric:1
        BX packets:40   errors:0        dropped:0       overruns:0
        TX packets:40   errors:0        dropped:0       overruns:0

eth0    Link encap:10Mbps Ethernet HWaddr 00:00:6E:44:A0:7C
        inet addr:192.168.1.12  Bcast:192.168.1.255     Mask:255.255.255.0
        UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
        BX packets:0   errors:0        dropped:0       overruns:0
        TX packets:0   errors:0        dropped:0       overruns:0
        Interrupt:5 Base address:0x300

Configuraci�n del amd

dsa:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:00:6E:33:56:C8
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0x300

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

dsa:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0

dsa:/etc/network# cat interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
iface lo inet loopback
# Lo que aparece debajo de esta linea es la configuraci�n de la direcci�n
# IP de la tarjeta de red
iface eth0 inet static
        address 192.168.1.1
        netmask 255.255.255.0
# Con esto le estamos diciendo a Debian que queremos que levante un
# interfaz (iface) llamado eth0 con una direcci�n (address) y con una
# m�scara de red (netmask) determinda.

dsa:/etc# cat hosts
127.0.0.1       dsa     localhost
# Las lineas siguientes se a�adier�n para configurar la tarjeta de red
# formato Direcci�n IP  Alias   Nombre y dominio
192.168.1.1     amd     amd.dsa.es
192.168.1.12    www     www.sanvittore.it

dsa:/etc# cat hostname
dsa

dsa:/etc# cat host.conf
order hosts,bind
multi on

dsa:/etc# less gateways
# /etc/gateways:
#
#<net | host> NAME1 gateway NAME2 metric VALUE <passive | active | external>

dsa:/etc# cat hosts.allow
# /etc/hosts.allow: list of hosts that are allowed to access the system.
#                   See the manual pages hosts_access(5), hosts_options(5)
#                   and /usr/doc/netbase/portmapper.txt.gz
#
# Example:    ALL: LOCAL @some_netgroup
#             ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper. See portmap(8)
# and /usr/doc/netbase/portmapper.txt.gz for further information.
#
#-- leafnode begin
leafnode: 127.0.0.1
#-- leafnode end

dsa:/etc# less hosts.deny
# /etc/hosts.deny: list of hosts that are _not_ allowed to access the system.
#                  See the manual pages hosts_access(5), hosts_options(5)
#                  and /usr/doc/netbase/portmapper.txt.gz
#
# Example:    ALL: some.host.name, .some.domain
#             ALL EXCEPT in.fingerd: other.host.name, .other.domain
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper. See portmap(8)
# and /usr/doc/netbase/portmapper.txt.gz for further information.
#
# The PARANOID wildcard matches any host whose name does not match its
# address.
ALL: PARANOID
# Las tres lineas siguientes se escribieron al instalar leafnode
#-- leafnode begin
leafnode: ALL
#-- leafnode end

        Espero que me podais ayudar. Saludos y gracias.

                

Responder a