Bonjour à tous,
je ne sais plus effectuer quelle tentative pour disposer du net sur ma machine sous Debian / Gnome :
Introduction :
La machine est sur un réseau ethernet (fil donc) avec plusieurs machines dont un serveur WEB x86 sous Debian Sarge et quelques postes Windows.
Le routeur est un Netgear FWG-114P(v1) en 192.168.147.1 avec le DHCP activé.
La connexion à l’internet est effectuée via une Freebox v3 en ADSL2 dégrouppé.
Les Faits :
La machine à totalement accès au WEB via un autre système d’exploiration et il n’y a aucun problème. (donc coté routeur NAT / firewall je ne voit pas quel problème il pourait y avoir)
L’incompréhension :
Sous Debian, je peux pinger en local et en public (un ping vers google.fr marche, donc le réseau et bien activé, l’ip et le masque est bon et la résolution DNS fonctionne).
Le MAIS :
Firefox ne peut pas se connecter en distant (google marche pas etc.) mais marche en local (je peux lancer une page via l’ip locale du serveur du réseau 192.168.147.2)
Un telnet d’un serveur lambda sur le port 80 donne les mêmes résultats.
Mes tentatives :
[code]bureau:/home/sylvain# dhclient
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
Listening on LPF/lo/
Sending on LPF/lo/
Listening on LPF/eth0/04:ff:ff:ff:ff:ff
Sending on LPF/eth0/04:ff:ff:ff:ff:ff
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 5
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.147.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.147.1
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 10
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.147.1
SIOCSIFMTU: Invalid argument
SIOCADDRT: File exists
bound to 192.168.147.4 – renewal in 129600 seconds.
bureau:/home/sylvain# ifconfig
eth0 Lien encap:Ethernet HWaddr 04:FF:FF:FF:FF:FF
inet adr:192.168.147.4 Bcast:192.168.147.255 Masque:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:7029 (6.8 KiB) TX bytes:2744 (2.6 KiB)
Interruption:9 Adresse de base:0x1100
lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:183 errors:0 dropped:0 overruns:0 frame:0
TX packets:183 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:9984 (9.7 KiB) TX bytes:9984 (9.7 KiB)
bureau:/home/sylvain# route
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.147.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.147.1 0.0.0.0 UG 0 0 0 eth0
bureau:/home/sylvain# ping localhost
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.166 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.131 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.127 ms
— localhost.localdomain ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.127/0.141/0.166/0.020 ms
bureau:/home/sylvain# ping 192.168.147.1
PING 192.168.147.1 (192.168.147.1) 56(84) bytes of data.
64 bytes from 192.168.147.1: icmp_seq=1 ttl=64 time=1.37 ms
64 bytes from 192.168.147.1: icmp_seq=2 ttl=64 time=0.875 ms
64 bytes from 192.168.147.1: icmp_seq=3 ttl=64 time=0.891 ms
— 192.168.147.1 ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 2016ms
rtt min/avg/max/mdev = 0.875/1.045/1.371/0.233 ms
bureau:/home/sylvain# ping google.fr /nb: la résolution dns marche donc/
PING google.fr (66.102.9.104) 56(84) bytes of data.
64 bytes from 66.102.9.104: icmp_seq=1 ttl=242 time=27.3 ms
64 bytes from 66.102.9.104: icmp_seq=2 ttl=242 time=27.2 ms
64 bytes from 66.102.9.104: icmp_seq=3 ttl=242 time=27.1 ms
— google.fr ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 2020ms
rtt min/avg/max/mdev = 27.166/27.231/27.300/0.145 ms
bureau:/home/sylvain# telnet 192.168.147.2 80 /nb: serveur web du réseau/
Trying 192.168.147.2…
Connected to 192.168.147.2.
Escape character is ‘^]’.
^]
Connection closed by foreign host.
bureau:/home/sylvain# telnet google.fr 80
Trying 72.14.221.104… /nb : pas de connexion même à long terme/
[/code]
L’interrogation :
j’ai effectuée l’install de la debian sur un autre réseau en 192.168.0.1 en paramètrant le même domaine que celui du serveur et je ne sais pas comment reparamétré cela. Un conflit de domaine ??? bizarre…
PS: en ce qui concerne /etc/resolv.conf, il est identique à celui du serveur (192.168.147.2) qui lui n’a aucun problème.
Merci d’avance pour vos suggestions.
A bientôt.