From owner-freebsd-questions@FreeBSD.ORG Thu Mar 17 07:20:26 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 59DE016A4CE for ; Thu, 17 Mar 2005 07:20:26 +0000 (GMT) Received: from smtp.enternet.hu (smtp.enternet.hu [62.112.192.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE8A043D2F for ; Thu, 17 Mar 2005 07:20:25 +0000 (GMT) (envelope-from nagylzs@freemail.hu) Received: from [62.68.179.209] (helo=[62.68.179.209]) by smtp.enternet.hu with esmtpa (Exim 4) id 1DBpIq-000BcS-Kf for freebsd-questions@freebsd.org; Thu, 17 Mar 2005 08:20:20 +0100 Message-ID: <42392FB7.8080907@freemail.hu> Date: Thu, 17 Mar 2005 08:20:23 +0100 From: Laszlo Zsolt Nagy User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: no route to host - urgent problem 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, 17 Mar 2005 07:20:26 -0000 Hi All! I could compile a new kernel (4.8 p27). It logs in to an ADSL line with ppp (tun0 created). But I cannot ping even myself. This is a router, the other device is connected to a local network 172.16.0/20 messias>ping 127.0.0.1 ping:sendto:no route to host messias>netstat -nr Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 1 3 lo0 172.16.0/20 link#2 UC 3 0 rl0 I dot see the gateway here (Flags: G) but it should work for 127.0.0.1 without it. ARP is also working, the physical connection is okay on the LAN: messias>arp 172.16.0.26 ? (172.16.0.26) at 00:50:1d:5f:18:20 on rl0 [ethernet] I also tried this: messias>route add default 172.16.0.1 The default gateway became "172.16.0.1 UGSc rl0". Despite this: messias>ping 172.16.0.26 PING 172.16.0.26 (172.16.0.26): 56 data bytes ping: sendto: No route to host "named" does not work either. It is started but when I start nslookup it says 'No response from server'. Is it a missing 'options' from the kernel config? The same machine was working before with the same setting but a different kernel (GENERIC). Unfortunately, I need to do this within 1 hour. Employees are coming and they will cut my neck.... Laci