From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 13:42:39 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6290D52D for ; Tue, 22 Apr 2014 13:42:39 +0000 (UTC) Received: from mail-oa0-x231.google.com (mail-oa0-x231.google.com [IPv6:2607:f8b0:4003:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2959017B8 for ; Tue, 22 Apr 2014 13:42:39 +0000 (UTC) Received: by mail-oa0-f49.google.com with SMTP id o6so5609585oag.22 for ; Tue, 22 Apr 2014 06:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vRXaW05ybPjl9/Oxa0OcuACVi6yXAeHj5pO/cMPFJKk=; b=EDdLmqE0o5JJWnF+Ns/FrZpy5Y7m7IUOyoxCTGxG+BZzSOYaHDZ7xBGyY70N8o9B5L 1RHe0ouEgDIleWobnsvz4BvQuY/PlTsZJLycpy0hR8ps/FADL6XsRFqD6G759sfgPfL2 tW0UeV0tU+dYjjDuHQ3x3ROp83y/q1ujHhr3ZWdNjbOxW6cAPqfeQUJtgTRLJykoO9HC xmSziwsc3UQelWZ4g0FMOkS1QTrLmbM3bWNz3fVMs3F8Z28Az1d/Jx4d3cBwJCnRucGp TkC2hc9BpXgSkn/oeLSK3wBBlGDvdUMJeaOVG14oFA7bv+49s07uV9Fo+We7Z42B1d06 0vDQ== MIME-Version: 1.0 X-Received: by 10.182.125.161 with SMTP id mr1mr7714471obb.47.1398174158367; Tue, 22 Apr 2014 06:42:38 -0700 (PDT) Received: by 10.182.236.133 with HTTP; Tue, 22 Apr 2014 06:42:38 -0700 (PDT) In-Reply-To: <20140422152127.4d360f49.freebsd@edvax.de> References: <20140422145514.f222ac52.freebsd@edvax.de> <20140422152127.4d360f49.freebsd@edvax.de> Date: Tue, 22 Apr 2014 16:42:38 +0300 Message-ID: Subject: Re: change IP and hostname From: tethys ocean To: Polytropon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2014 13:42:39 -0000 just I had test like as tcpdump -i re0 and tcpdump -A -i re0 no any response, 1 packet captured 19 packets recieved by filter 0 packet dropped by kernel On Tue, Apr 22, 2014 at 4:21 PM, Polytropon wrote: > On Tue, 22 Apr 2014 16:08:14 +0300, tethys ocean wrote: > > /etc/hosts is remain default (yet) > > > > its has not behind FW yet. > > > > no any err. message in all log.. also changed cable, and port still not > > enable to ping to its own router.. > > > > it was working on other network block whenever change its IP, router and > > switch its network connection suddenly stop > > > > I can't find why > > In this case, use tcpdump and then try to ping again. > Note that you need root permissions (maybe via sudo) > to do this. > > For example, > > # tcpdump -i xl0 > > And on a different VT: > > # ping -c 1 192.168.100.1 > > In this example, 192.168.100.1 would be the IP of the > router which you know. The interface facing the router > is xl0. Adjust those things according to your setup. > > You should then see something like this: > > 15:15:17.785185 IP xxx.xxxxx.xx.38899 > xxxxx.xxxxxxx.xxx.49000: > Flags [F.], seq 2969289793, ack 1229106900, win 8326, options [nop,nop,TS > val 62460010 ecr 137373231], length 0 > 15:15:17.790729 IP xxxxx.xxxxxxx.xxx.49000 > xxx.xxxxx.xx.38899: > Flags [F.], seq 1, ack 1, win 3432, options [nop,nop,TS val 137385608 ecr > 62460010], length 0 > 15:15:17.790766 IP xxx.xxxxx.xx.38899 > xxxxx.xxxxxxx.xxx.49000: > Flags [.], ack 2, win 8325, options [nop,nop,TS val 62460016 ecr > 137385608], length 0 > 15:15:17.872620 IP xxx.xxxxx.xx > xxxxx.xxxxxxx.xxx: ICMP echo > request, id 21538, seq 0, length 64 > 15:15:17.873190 IP xxxxx.xxxxxxx.xxx > xxx.xxxxx.xx: ICMP echo > reply, id 21538, seq 0, length 64 > 15:15:22.646588 IP xxxxx.xxxxxxx.xxx.3644 > xxx.xxxxx.xx.14013: > Flags [S], seq 1365501121, win 5840, options [mss 1460,sackOK,TS val > 137386094 ecr 0,nop,wscale 1], length 0 > 15:15:22.646628 IP xxx.xxxxx.xx.14013 > xxxxx.xxxxxxx.xxx.3644: > Flags [R.], seq 0, ack 1365501122, win 0, length 0 > > You're probably not going to see this. :-) Please post the output > to the list for better diagnostics. Also verify "ifconfig" output > to reflect your intended settings. > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart.