On demand routing redux (RFC 3561 AODV preparatory)

From: Bruce M Simpson (bms_at_spc.org)
Date: 07/31/03

  • Next message: Barney Wolff: "Re: Multiple Interfaces"
    Date: Thu, 31 Jul 2003 18:59:27 +0100
    To: freebsd-net@freebsd.org
    
    
    

    Hi all,

    Here's some more stuff I'd like review on. I've written a simple bit of code
    which just sits there listening for RTM_RESOLVE and redirects destination
    cloned route using RTM_CHANGE.

    I wrote this to prove we could implement in-demand routing protocols, in
    userland, without any of the stupid kernel modifications we've seen for
    Linux implementations.

    Specify a CIDR network on the command line; it will configure a disc(4)
    interface and add a network route via that interface. Currently, the netmask
    code is broken; Bill Fenner has given me feedback on how to fix this.

    You can sidestep this by creating the disc0 route before running rtmhack:
     # ifconfig disc0 create
     # route -n add 10.0.0.0/8 -iface disc0

    The name 'disc0' was not chosen deliberately.

    Needless to say, this code is really hackish, and will be getting cleaned
    up thoroughly before it is anywhere near production quality.

    Please let me know your thoughts. Comments and feedback solicited.

    BMS

    
    
    
    

    _______________________________________________
    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: Barney Wolff: "Re: Multiple Interfaces"

    Relevant Pages

    • Certain traffic not being routed as expected
      ... I learn the IPv4 BOGON from Cymru via BGP, and here is one route ... out if things are being dropped accordingly on the router, ... 10.0.3.12:138 out via disc0 ... attached to em1 on the router), ...
      (freebsd-net)
    • Re: Cant send packets via WiFi (possibly route issue)
      ... I think that this WiFi device should route all ... it should *all* be routed to the eth1 interface. ... Wireless is much like a point-to-point link using ... The connection between the two networks is the "Wifi AP". ...
      (comp.os.linux.networking)
    • RE: Running public IPs inside an RFC 1597 network
      ... > I'm running a typical Class C RFC 1597 network in my lab. ... know or care if we humans designate a subnet as public or private. ... is the absolute most general route there is for a machine. ... In a correctly configured system when you define an interface, ...
      (freebsd-questions)
    • Equal cost paths from separate OSPF Processes
      ... the network statements are valid in all OSPF processes. ... interface Serial0.300 point-to-point ... router#sh ip route ospf ... connected, includes subnets in redistribution ...
      (comp.dcom.sys.cisco)
    • Re: panic in rt_check_fib()
      ... It dropped a the lock on one route while it went off an did something ... then brings up the wired interface of my laptop. ... echo '## Bringing up network interface.' ... With your version of rt_check_fibI have no panics so far. ...
      (freebsd-current)