From owner-freebsd-questions@FreeBSD.ORG Tue Dec 25 20:51:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30D5D202 for ; Tue, 25 Dec 2012 20:51:52 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id D760D8FC0C for ; Tue, 25 Dec 2012 20:51:51 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TnbTh-0008IB-48 for freebsd-questions@freebsd.org; Tue, 25 Dec 2012 21:51:57 +0100 Received: from pool-173-79-84-117.washdc.fios.verizon.net ([173.79.84.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Dec 2012 21:51:57 +0100 Received: from nightrecon by pool-173-79-84-117.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Dec 2012 21:51:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: route issue Date: Tue, 25 Dec 2012 15:51:53 -0500 Lines: 37 Message-ID: References: <063101cde2d2$fe8dd550$fba97ff0$@ihlas.net.tr> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-84-117.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2012 20:51:52 -0000 Yavuz Ma?lak wrote: > Hello > > > On freebsd8.2 when i run netstat -rn i see below; > > # netstat -rn | grep -r "127.0.0.1" > 127.0.0.1 127.0.0.1 UHS 0 1462933 lo0 > > As flag i think that it should be UH but on my server as above; > > How can i fix it ? Please show us your entire netstat -rn output, as well as entire ifconfig -a output, and even possibly the relevant network config lines from /etc/rc.conf too. I'm wondering if you have no other interfaces configured so it is defaulting back to this. The 'S' flag usually shows up in manually configured interfaces for network cards, e.g. NICs with an ifconfig line to activate them in /etc/rc.conf. Perhaps you are missing or have something slightly misconfigured in /etc/rc.conf. Possibilities might include no defaultrouter, hostname, etc. Note that /etc/rc.conf should be used for overriding defaults. The defaults are in /etc/defaults/rc.conf and this file should be left alone. Note the following are already in /etc/defaults/rc.conf: network_interfaces="auto" # List of network interfaces (or "auto"). ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. Maybe you have a network_interfaces=" [...] " manually listing the interfaces in /etc/rc.conf which is overriding the default "auto". Just some guessing on my part to give you some ideas. -Mike