From owner-freebsd-questions@FreeBSD.ORG Thu Feb 24 07:18:11 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 3701316A4CE for ; Thu, 24 Feb 2005 07:18:11 +0000 (GMT) Received: from ns.mccme.ru (ns.mccme.ru [62.117.108.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 366B843D1F for ; Thu, 24 Feb 2005 07:18:10 +0000 (GMT) (envelope-from emin@mccme.ru) Received: from mccme.ru (IDENT:root@mccme.ru [62.117.108.7]) by ns.mccme.ru (8.12.10/8.12.10) with ESMTP id j1O7NbZi046403 for ; Thu, 24 Feb 2005 10:23:37 +0300 (MSK) (envelope-from emin@mccme.ru) Received: from mccme.ru (IDENT:emin@localhost.mccme.ru [127.0.0.1]) by mccme.ru (8.9.3/8.9.3) with SMTP id KAA10025 for ; Thu, 24 Feb 2005 10:18:19 +0300 Date: Thu, 24 Feb 2005 10:18:19 +0300 From: "Eugene M. Minkovskii" To: freebsd-questions@freebsd.org Message-ID: <20050224071819.GA7101@mccme.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.1i Organization: MCCME Moscow X-DCC-MessageCare-Metrics: ns.mccme.ru 1108; Body=1 Fuz1=1 Fuz2=1 X-MCCME-Spam: No, score=0.14 required=5 tests=AWL Subject: cna't ssh localhost 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: Thu, 24 Feb 2005 07:18:11 -0000 Hi, I'm in trubble now, and don't know what to think about... I'm install FreeBDS 5.3. stable from DVD iso. This is fresh system: I'm not recompile the kernel and working with GENERIC kernel. This means that I don't use any firewall and ip filter. Now, I configure net interface in /etc/rc.conf: <...> ifconfig_rl0="inet 172.16.0.2 netmask 255.255.255.252" defaultrouter="172.16.0.1" <...> then I type following $ ssh 127.0.0.1 But connection hang up, of course, I can't do ssh from gateway (172.16.0.1) to localhost (172.16.0.2) too. ######## # BUT! # ######## If I comment line with defaultrouter in rc.conf: <...> ifconfig_rl0="inet 172.16.0.2 netmask 255.255.255.252" #defaultrouter="172.16.0.1" <...> and reboot, connecion working good: ssh 127.0.0.1 work, and ssh from gateway to local mashine work good. If I, after that type manually $ sudo route add 0.0.0.0 172.16.0.1 connection to loop interface hangs again. Have you any ideas? -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский