Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2005 08:20:23 +0100
From:      Laszlo Zsolt Nagy <nagylzs@freemail.hu>
To:        freebsd-questions@freebsd.org
Subject:   no route to host - urgent problem
Message-ID:  <42392FB7.8080907@freemail.hu>

next in thread | raw e-mail | index | archive | help

 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42392FB7.8080907>