From owner-freebsd-questions@FreeBSD.ORG Thu Mar 17 07:27:14 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 42D6F16A4CE for ; Thu, 17 Mar 2005 07:27:14 +0000 (GMT) Received: from mail.vdsoft.org (poseidon.vdsoft.org [193.85.147.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BAC643D48 for ; Thu, 17 Mar 2005 07:27:13 +0000 (GMT) (envelope-from dvorakv@vdsoft.org) Received: from [10.0.0.132] (unknown [10.0.0.132]) by mail.vdsoft.org (Postfix) with ESMTP id 2949F47E01B; Thu, 17 Mar 2005 08:27:10 +0100 (CET) Message-ID: <4239317B.5070108@vdsoft.org> Date: Thu, 17 Mar 2005 08:27:55 +0100 From: Vladimir Dvorak User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Laszlo Zsolt Nagy References: <42392FB7.8080907@freemail.hu> In-Reply-To: <42392FB7.8080907@freemail.hu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: 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:27:14 -0000 Laszlo Zsolt Nagy wrote: > > 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 Try to turn off your firewall first. ( pfctl -d or something similar if using ipfw ) I hope this helps. Vladimir Vladimir Dvorak -- * VDSOFT.ORG dvorakv@vdsoft.org * * (+420) 602 944 941 http://www.vdsoft.org *