no route to host - urgent problem
Laszlo Zsolt Nagy
nagylzs at freemail.hu
Wed Mar 16 23:20:26 PST 2005
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
More information about the freebsd-questions
mailing list