[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

Re: [Ayuda] red en debian



No había tenido chance de contestar.

> > Buenas las tengan:
> 
>  Mejor las pases,

jejejeje...

> > eth1 y eth0, no tengo salida por medio del DNS, si hago un ping a una 
> 
 El DNS no es para "dar salida".

Perdon a lo mejor use mal la palabra "dar salida"
> 
> > dirección ip X si me muestra que tengo salida, pero si la doy mediante el 
>  Eso significa que la parte que toca a la "red" esta bien.

Hasta aquí todo OK.

> > nombre me muestra "host desconocido", ya cheque todo y según yo esta todo 
>  Pues no esta "Ok" ya que no esta resolviendo nombres.

Enefecto es lo que pasa.

> > OK, les va mi configuración:
>  Pero no muestras el contenido del resolv.conf ni que te regresa dig o a
> "qué le estas haciendo ping". No es necesariamente lo mismo:
> 
> 	$ ping 127.0.0.1
> 	$ ping localhost
> 	$ ping localhost.localdomain
> 
> a menos que así se haya configurado.

T'ons les va mi resolv.conf

router:/etc# more resolv.conf
domain algunadependenciamas.unam.mx
nameserver 132.248.10.2
nameserver 132.248.204.1
router:/etc#
 
>  ¿Mostrarnos que estas haciendo, que obtines y que supones que deberias
> obtener?
 
va.

router:~# ping 132.248.204.1
PING 132.248.204.1 (132.248.204.1) 56(84) bytes of data.
64 bytes from 132.248.204.1: icmp_seq=1 ttl=252 time=0.423 ms
64 bytes from 132.248.204.1: icmp_seq=2 ttl=252 time=0.412 ms
64 bytes from 132.248.204.1: icmp_seq=3 ttl=252 time=0.412 ms
64 bytes from 132.248.204.1: icmp_seq=4 ttl=252 time=0.441 ms
64 bytes from 132.248.204.1: icmp_seq=5 ttl=252 time=0.404 ms
64 bytes from 132.248.204.1: icmp_seq=6 ttl=252 time=0.434 ms
                                                                                
--- 132.248.204.1 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4996ms
rtt min/avg/max/mdev = 0.404/0.421/0.441/0.013 ms
router:~#

router:~# host 132.248.204.1
1.204.248.132.in-addr.arpa domain name pointer dns1.unam.mx.
router:~#


router:~# ping dns1.unam.mx
ping: unknown host dns1.unam.mx
router:~#

router:~# host www.ximian.com
www.ximian.com has address 64.14.94.178
router:~#

router:~# ping www.ximian.com
ping: unknown host www.ximian.com
router:~#


va mi información:

router:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0B:CD:6D:5E:5B
          inet addr:192.168.0.175  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9073 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:845426 (825.6 KiB)  TX bytes:2042 (1.9 KiB)
          Interrupt:20
                                                                                
eth1      Link encap:Ethernet  HWaddr 00:02:B3:5C:2E:F8
          inet addr:192.168.1.242  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9590 errors:0 dropped:0 overruns:0 frame:0
          TX packets:333 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:722843 (705.9 KiB)  TX bytes:41941 (40.9 KiB)
          Interrupt:18 Base address:0x1400 Memory:fc510000-fc510038
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)



router:~# cat /etc/network/interfaces

auto lo eth0 eth2
 
iface lo inet loopback
        address 127.0.0.1
        netmask 255.0.0.0
        network 127.0.0.0
        broadcast 127.255.255.255
 
iface eth0 inet static
        address 192.168.0.175
        netmask 255.255.255.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        network 192.168.0.0
 
 
 
iface eth1 inet static
        address 192.168.1.242
        netmask 255.255.255.0
        broadcast 192.168.1.255
        gateway 192.168.1.254
        network 192.168.1.0
 

router:~# 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 eth2
localnet        *               255.255.255.0   U     0      0        0 eth0
default         192.168.1.254   0.0.0.0         UG    0      0        0 eth2
default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
router:~#


alguna idea.?


roberto






[Hilos de Discusión] [Fecha] [Tema] [Autor]