Professional Web Applications Themes

no route to host - urgent problem - FreeBSD

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) ...

  1. #1

    Default no route to host - urgent problem


    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

    Laszlo Guest

  2. #2

    Default Re: no route to host - urgent problem


    On Thu, 17 Mar 2005 08:20:23 +0100
    Laszlo Zsolt Nagy <hu> spake thus:
     

    check firewall setups

    HTH


    --
    <>

    Luke Guest

  3. #3

    Default Re: no route to host - urgent problem

    Laszlo Zsolt Nagy wrote:
     

    Try to turn off your firewall first. ( pfctl -d or something similar if
    using ipfw ) I hope this helps.

    Vladimir

    Vladimir Dvorak
    --
    * VDSOFT.ORG org *
    * (+420) 602 944 941 http://www.vdsoft.org *


    Vladimir Guest

  4. #4

    Default Re: no route to host - urgent problem

     

    I set

    firewall_enable="NO"

    in /etc/rc.conf

    Did not work. Please also note that I did not change my configuration on
    this machine, I just compiled a new kernel.
    All the networking configuration remained the same. In theory, my
    firewall rules are good. I believe the problem is with
    the kernel since I did not change anything else. Why it says 'no route'
    when I added the default route?

    Laci



    Laszlo Guest

  5. #5

    Default Re: no route to host - urgent problem

    Laszlo Zsolt Nagy wrote:
     
    >
    >
    > I set
    > firewall_enable="NO"
    >
    > in /etc/rc.conf
    >
    > Did not work. Please also note that I did not change my configuration
    > on this machine, I just compiled a new kernel.
    > All the networking configuration remained the same. In theory, my
    > firewall rules are good. I believe the problem is with
    > the kernel since I did not change anything else. Why it says 'no
    > route' when I added the default route?
    >
    > Laci
    >[/ref]
    What did you changed in kernel CONFIG ?

    One important remark - if you are in stress, reboot to old working
    kernel (hope that will work :-) ) and wait till evening.

    Vladimir
    Vladimir Guest

  6. #6

    Default Re: no route to host - urgent problem

     
    > What did you changed in kernel CONFIG ?[/ref]

    My original kernel was the GENERIC kernel that was included on the
    distribution CD.
    I only added some options to that, did not remove anything. Added things
    were:

    NETGRAPH (all netgraph modules)
    HZ=1000
    DUMMYNET
    BRIDGE (can it be the problem?)

    and some others (not related to networking).
    I also removed INET6 but it is not needed here.

    You are right, I should not be stressed. IT people usually too stressed. :-)
    In the worst case, I'll give a holiday for everybody.

    Laci
    Laszlo Guest

Similar Threads

  1. Virtual Host Problem
    By BuckTales in forum Macromedia Flash Flashcom
    Replies: 3
    Last Post: December 5th, 11:42 PM
  2. Replies: 1
    Last Post: January 19th, 03:56 PM
  3. Problem deploying to remote host
    By I'mAndy in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: May 29th, 10:36 PM
  4. Replies: 3
    Last Post: December 8th, 09:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139