Error 127.0.0.1: no route to host

Li, Qing qing.li at bluecoat.com
Thu Mar 11 10:52:57 UTC 2010


> 
> Without the route.h patch, I can't ping 127.0.0.1 or the local or
> remote address of the OpenVPN tunnel (on tap0). In fact, you 
> can't even build OpenVPN from ports as it'll fail its self-test.
> 

   Please see my previous clarification email on the what and the why
   about the "route.h.diff" patch.  

   I spent some time looking into the issue and found the problem 
   is the if_tap interface turns out to be one of those interfaces 
   that claims to be of IFT_ETHER type, but does not touch the 
   "if_link_state" variable.

>
> With the route.h patch, I can ping all local addresses but not the 
> far end of the tunnel.
> 

   Please try the new patch at

     http://people.freebsd.org/~qingli/ecmp-tap.diff

   Let me know how it works out for you.

   -- Qing


P.S.  You really just need the 2-line fix in the if_tap.c file.
      route.h is slightly touch to be (ifp) instead of just ifp in
      the macro.




More information about the freebsd-current mailing list