From owner-freebsd-questions@FreeBSD.ORG Wed Jan 5 12:01:05 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59EC216A4DF for ; Wed, 5 Jan 2005 12:01:05 +0000 (GMT) Received: from hotmail.com (bay102-f34.bay102.hotmail.com [64.4.61.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id A75D543D4C for ; Wed, 5 Jan 2005 12:01:04 +0000 (GMT) (envelope-from sangokoub@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 5 Jan 2005 04:01:04 -0800 Message-ID: Received: from 83.115.246.193 by by102fd.bay102.hotmail.msn.com with HTTP; Wed, 05 Jan 2005 12:00:53 GMT X-Originating-IP: [83.115.246.193] X-Originating-Email: [sangokoub@hotmail.com] X-Sender: sangokoub@hotmail.com From: "k o u b" To: freebsd-questions@freebsd.org Date: Wed, 05 Jan 2005 12:00:53 +0000 X-OriginalArrivalTime: 05 Jan 2005 12:01:04.0246 (UTC) FILETIME=[3B498960:01C4F31E] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format="flowed" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Can't ping between FreeBSD and Win2K... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2005 12:01:05 -0000 Hello, I was setup the Win2K as client on the 192.168.3.2 ip adress (netmask 255.255.255.0), with a passerel on the FreeBSD (5.3R MINI-INSTALL) and the ip adress is 192.168.3.1. the Win2K computer name is "windaube" and the FreeBSD computer name is "skoub". you can look bottom for detailled statistics: ______________________________________________________________________ ______ ______________________________________________________________________ ______ ______________________________________________________________________ ______ ON THE WIN2K COMPUTER: C:\> route print ====================================================================== ===== Liste d'Interfaces 0x1 ....................... MS TCP Loopback interface 0x1000003 ...00 04 ac 45 91 fb ...... IBM 10/100 EtherJet PCI Adapter ====================================================================== ===== ====================================================================== ===== Itinéraires actifs : Destination réseau Masque réseau Adr. passerelle Adr. interface Métrique 0.0.0.0 0.0.0.0 192.168.3.1 192.168.3.2 1 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.3.0 255.255.255.0 192.168.3.2 192.168.3.2 1 192.168.3.2 255.255.255.255 127.0.0.1 127.0.0.1 1 192.168.3.255 255.255.255.255 192.168.3.2 192.168.3.2 1 224.0.0.0 224.0.0.0 192.168.3.2 192.168.3.2 1 255.255.255.255 255.255.255.255 192.168.3.2 192.168.3.2 1 Passerelle par défaut : 192.168.3.1 ====================================================================== ===== Itinéraires persistants : Aucun C:\> ping 192.168.3.2 Envoi d'une requête 'ping' sur 192.168.3.2 avec 32 octets de données : Réponse de 192.168.3.2 : octets=32 temps<10 ms TTL=128 Réponse de 192.168.3.2 : octets=32 temps<10 ms TTL=128 Réponse de 192.168.3.2 : octets=32 temps<10 ms TTL=128 Réponse de 192.168.3.2 : octets=32 temps<10 ms TTL=128 Statistiques Ping pour 192.168.3.2: Paquets : envoyés = 4, reçus = 4, perdus = 0 (perte 0%), Durée approximative des boucles en millisecondes : minimum = 0ms, maximum = 0ms, moyenne = 0ms C:\> ping 192.168.3.1 Envoi d'une requête 'ping' sur 192.168.3.1 avec 32 octets de données : Délai d'attente de la demande dépassé. Délai d'attente de la demande dépassé. Délai d'attente de la demande dépassé. Délai d'attente de la demande dépassé. Statistiques Ping pour 192.168.3.1: Paquets : envoyés = 4, reçus = 0, perdus = 4 (perte 100%) Durée approcimative des boucles en millisecondes : minimum = 0ms, maximum = 0 ms, moyenne = 0ms C:\> arp -a Aucune entrée ARP trouvée ______________________________________________________________________ ______ ______________________________________________________________________ ______ ______________________________________________________________________ ______ ON THE FREEBSD COMPUTER (su mode): # ifconfig -a fxp0: flags=8843 mtu 1500 options=8 inet 192.168.3.1 netmask 0xffffff00 broadcast 192.168.3.255 inet6 fe80::204:acff:fe25:c4bd%fxp0 prefixlen 64 scopeid 0x1 ether 00:04:ac:25:c4:bd media: Ethernet autoselect (100 baseTX ) status: active plip0: flags=108810 mtu 1500 lo0: flags=8008 mtu 16384 tun0: flags=8051 mtu 1500 Opened by PID 200 # route get default route: writing to routing socket: No such process # route get 192.168.3.1 route to: skoub destination: skoub interface: lo0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 # route get 192.168.3.2 route to: windaube destination: 192.168.3.0 mask: 255.255.255.0 interface: fxp0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 -2153 # ping 192.168.3.1 PING 192.168.3.1 (192.168.3.1):56 data bytes 64 bytes from 192.168.3.1: icmp_seq=0 ttl=64 time=0.288 ms 64 bytes from 192.168.3.1: icmp_seq=0 ttl=64 time=0.232 ms 64 bytes from 192.168.3.1: icmp_seq=0 ttl=64 time=0.223 ms 64 bytes from 192.168.3.1: icmp_seq=0 ttl=64 time=0.216 ms ^C 'arret de l utilisateur --- 192.168.3.1 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.216/0.240/0.288/0.028 ms # ping 192.168.3.2 PING 192.168.3.2 (192.168.3.2):56 data bytes ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ^C 'stop by user --- 192.168.3.2 ping statistics --- 10 packets transmitted, 0 packets received, 100% packet loss ______________________________________________________________________ ______ File: /etc/rc.conf linux_enable="YES" usbd_enable="YES" sendmail_enable="NONE" natd_enable="NO" inetd_enable="NO" ipv6cp_enable="NO" hostname="skoub.koubyland.fr" network_interfaces="rl0" (or fxp0 with INTEL cards) ifconfig_lo0="inet 127.0.0.1" ifconfig_rl0="inet 192.168.3.1 netmask 255.255.255.0" (or fxp0 with INTEL cards) gateway_enable="YES" dhcpd_enable="YES" ppp_enable="YES" ppp_mode="ddial" ppp_nat="NO" ppp_profile="okdoki" ______________________________________________________________________ ______ File: /etc/hosts 127.0.0.1 localhost localhost.koubyland.fr 192.168.3.1 skoub skoub.koubyland.fr 192.168.3.2 windaube windaube.koubyland.fr ______________________________________________________________________ ______ ______________________________________________________________________ ______ ______________________________________________________________________ ______ With the "tcpdump -i rl0" command, computers can communicate but they loose some packets. I was trying to find some help to a FreeBSD IRC Channel when a guy said to me : "Realtek chips is a peace of shit", i try with "INTEL 100 PRO" card but it's not work. I change the RJ45 cable by a HUB with to cable to connect computers, but it's the same result. I don't understand... :/ Please, someone can help me? TIA, skoub.