RE: Error 127.0.0.1: no route to host

From: Li, Qing <qing.li_at_bluecoat.com>
Date: Thu, 11 Mar 2010 02:52:46 -0800
> 
> 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.
Received on Thu Mar 11 2010 - 09:52:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:01 UTC