From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 13:22:37 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 91ABDFD5 for ; Tue, 22 Apr 2014 13:22:37 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 52DED161B for ; Tue, 22 Apr 2014 13:22:37 +0000 (UTC) Received: from r56.edvax.de (port-92-195-108-40.dynamic.qsc.de [92.195.108.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 7D6653CE47; Tue, 22 Apr 2014 15:22:35 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s3MDLR6r008796; Tue, 22 Apr 2014 15:21:27 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 22 Apr 2014 15:21:27 +0200 From: Polytropon To: tethys ocean Subject: Re: change IP and hostname Message-Id: <20140422152127.4d360f49.freebsd@edvax.de> In-Reply-To: References: <20140422145514.f222ac52.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2014 13:22:37 -0000 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, ...