loosely routed tunnel

From: Gleb Smirnoff (glebius_at_cell.sick.ru)
Date: 04/08/04

  • Next message: Paul Schenkeveld: "Re: do we support non contiguous netmasks ?"
    Date: Thu, 8 Apr 2004 17:02:55 +0400
    To: freebsd-net@freebsd.org
    
    

      I need to set up a "loosely routed" tunnel between two boxes, one running
    STABLE, and other 5.2.1-RELEASE. Under "loosely routed" I mean that tunnel
    route won't be allocated once at tunnel creation, but looked up on every
    emitting packet.

      So, I have got a WAN link, and two routers standing on opposite sides of this
    link. Both routers are connected to internet. A tunnel is running on IP addresses
    provided by upstreams (say x.x.x.x and y.y.y.y). To make tunnel traffic run thru the
    WAN link these p2p nets x.x.x.x/30 and y.y.y.y/30 are announced inside using OSPF.
    When WAN link breaks tunnel runs thru internet, since OSPF neighbor disappears.

    The problem is that when WAN links comes up the tunnel keeps running thru internet.
    OSPF routes are successfully received and ping between x.x.x.x and y.y.y.y is
    running thru WAN link, but encapsulated packets keep running thru inet.
    The desired behavior is to switch back to WAN link, surely.

    I have tried gif tunnel, gre tunnel with the above results.

    Now I use a UDP tunnel built with ng_iface + ng_ksocket. On 5.2.1-RELEASE the
    routing switches back when WAN link is up. On STABLE it does not.
    I need to shutdown and restart ng_ksocket manually.

    Any ideas any other way I can obtain subj?

    -- 
    Totus tuus, Glebius.
    GLEBIUS-RIPN GLEB-RIPE
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Paul Schenkeveld: "Re: do we support non contiguous netmasks ?"

    Relevant Pages

    • Re: Beeching II: "The Development of the Major Railway Trunk Routes"
      ... a 7-days a week basis would make the Woodhead route the obvious candidate. ... I suggest you take a look at a planning application submitted by National Grid - they want to renew the grid structureeither side of the tunnel and again make use of tunnel for cable ... These policies regarding reinstatement of the tunnels as a rail route would be affected by the ...
      (uk.railway)
    • Re: Central Railway update
      ... Given that their proposal is to build a new, large loading gauge route, of course they will have to build new infrastructure. ... I fail to see how building a viaduct or recomissioning a tunnel is a fatal barrier to creating a new railway line, just look at the number of viaducts and tunnels on the CTRL. ... offering more freight paths. ... With the WCML we tried to had a bit here and a bit there to an existing line to bring up speeds and capacity. ...
      (uk.railway)
    • Re: PPTP client, masquerade and routing
      ... # name of primary network interface (before tunnel) ... # provided by pppd: string to identify connection aka ipparam option ... route add -host $dev $ ...
      (comp.os.linux.networking)
    • Re: Driving from KY to NYC
      ... and is a direct route to the Lincoln Tunnel via NJ 495. ... recommend a toll free way to get to the Lincoln from the Holland. ...
      (misc.transport.road)
    • Re: Central Railway: Dead but wont lie down
      ... It's an upgrade of the existing route from the Tunnel to Redhill. ... Originally Central Railway proposed a freight only route, ...
      (uk.railway)