[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux-team] DNS troubles in RH6.0 ?




bvc wrote:

> Hello ,
>   J'ai une RH 6.0 fraichment installée
>
>   la connect se passe ; et chose bizarre j'ai des problemes a contacter
>   presque tous les sites ..
>   un ftp sur anonymous@ftp.funet.fi passe sans problemes
>   un ftp sur linuxbe.org (l'adresse est elle bonne?) ne passe pas
>   un http://www.advalvas.be se charge
>   un http://linuxbe.org ne passe pas
>
>   voici mes fichiers config :
>   ---------------------------------
>   /etc/resolv.conf = mon host et les 2 dns d'euronet
>   search Moonwalker 195.74.193.12 194.134.0.12
>   nameserver 10.10.10.21
>   ------------------------------
>
Ca c'est pas bon !
tu dois avoir qlq chose comme :

search domaine1 domaine2 domaine3 ...
nameserver dns1
nameserver dns2

par exemple :

search ucl.ac.be prm.ucl.ac.be fsa.ucl.ac.be
nameserver 195.74.193.12
nameserver 194.134.0.12


> un ifconfig:
> eth0      Link encap:Ethernet  HWaddr 00:40:05:E1:75:D4
>           inet addr:10.10.10.21  Bcast:10.10.10.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:2844 dropped:0 overruns:0 carrier:2844
>           collisions:48348 txqueuelen:100
>           Interrupt:10 Base address:0xe400
>

Ho collision : 48348, j'espaere que tu venais pas d'allumer ta machine !
Ca fait beaucoup !

>
> 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:1136 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1136 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>
> ppp0      Link encap:Point-to-Point Protocol
>           inet addr:195.74.213.194  P-t-P:195.74.211.233  Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>           RX packets:114 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:10
> -----------------------
> et un route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 195.74.211.233  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 10.10.10.21     0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> 10.10.10.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         195.74.211.233  0.0.0.0         UG    0      0        0 ppp0
> 0.0.0.0         10.10.10.254    0.0.0.0         UG    0      0        0 eth0
>

Ho malheureux 2 gateways !

0.0.0.0         195.74.211.233  0.0.0.0         UG    0      0        0 ppp0
0.0.0.0         10.10.10.254    0.0.0.0         UG    0      0        0 eth0

tu as un "route add default gw 10.10.10.254 metric 1 dev eth0" en trop
dans ta config
et un "route add -net 10.10.10.21 dev eth0" ou qlqchose avec un
10.10.10.21 de trop
( la seconde ligne)

j'espere que j'ai pas oublier de fautes :-)

En t'entrainant un peu tu peu encore faire mieux ! :-)
PS : moi aussi j'ai debute ! mais j'ai lu la NET3-HOWTO !


> -----------------
> alors merci pour vos lumieres
> :o)
>
> ben
>
--

        Spineux Alain

Romani ite domus.
======================================================================
  Spineux Alain                         E-MAIL : spineux@prm.ucl.ac.be
  INSTITUT STEVIN
  Catholic University of Louvain        FAX    : 32-10-472501
  PLACE DU LEVANT 2                     PHONE  : 32-10-472516
  B-1348 LOUVAIN-LA-NEUVE (BELGIUM)
=======================================================================


---------
This message was sent by Majordomo 1.94.3. Please report problems to
manu@rtfm.be. If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.