Re: RTF_CLONING vs RTF_PRCLONING

From: Ruslan Ermilov (ru_at_freebsd.org)
Date: 07/29/03

  • Next message: Christophe Prevotaux: "Re: NAT and PPTP"
    Date: Tue, 29 Jul 2003 09:38:30 +0300
    To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
    
    
    

    On Mon, Jul 28, 2003 at 05:51:28PM -0400, Garrett Wollman wrote:
    > <<On Mon, 28 Jul 2003 23:45:28 +0200, Vincent Jardin <vjardin@wanadoo.fr> said:
    >
    > > I agree, then... Isn't it already the purpose of RTF_CLONING ?
    > > When should RTF_PRCLONIG be set ?
    >
    > RTF_PRCLONING is set automatically by the protocol to cause host
    > routes to be generated on every unique lookup.
    >
    > RTF_CLONING is set when the route is added (either manually, or
    > automatically for interface routes) to indicate that a more specific
    > route (possibly a host route) needs to be generated on every unique
    > lookup.
    >
    Yes, RTF_CLONING routes also accept the netmask (RTA_GENMASK).
    I don't remember if it also applies to RTF_PRCLONING routes,
    but I suspect so.

    Cheers,

    -- 
    Ruslan Ermilov		Sysadmin and DBA,
    ru@sunbay.com		Sunbay Software Ltd,
    ru@FreeBSD.org		FreeBSD committer
    
    



  • Next message: Christophe Prevotaux: "Re: NAT and PPTP"

    Relevant Pages

    • java.net.Socket doesnt correctly route over VPN tunnel
      ... correct route to the host. ... at java.net.Socket.(InetAddress host, Int32 port, InetAddress ... Ethernet adapter Built-in Ethernet: ... Active Routes: ...
      (microsoft.public.dotnet.vjsharp)
    • Re: LAN routing
      ... I would not mind at all to put a couple of routes in on each of the subnet ... I would like for every host in main Lan to be able to talk to every host on ... Remote Lan = 192.168.101.0/24 ... >> a router at the remote location and setting them on a new IP scheme/ subnet. ...
      (microsoft.public.windows.server.networking)
    • Re: Script to verify route commands - same after reboot?
      ... > want to double-check that the routes are going to be the same after a ... If you receive mail that routes have changed on a host, ... the startup scripts, ...
      (comp.unix.solaris)
    • Re: Secure desktop idea?
      ... Subject: Secure desktop idea? ... > allocate and de-allocate routes. ... Does "as needed" mean when a connection is attempted _to_ a host ... If "as needed" means a connection _to_ it, how is it any different than ...
      (Security-Basics)
    • Re: Illinois Supplemental Freeway maps
      ... Aid Primary routes in 1974. ... I also have a copy of the revised route ... Craig and I can host those on midwestroads.com if you would like. ... Just e-mail to webmaster or scott and we'll put them up. ...
      (misc.transport.road)