Re: Multiple routes to the same destination



"ISO" == ISO <ISO-8859-2> writes:

ISO> David Gilbert wrote:
No. round-robin will deliver packets out-of-order. TCP will
behave very badly with this (at the very least, smart selective-ack
hosts will transmit a lot of selective-ack packets --- but dumb
non-selective-ack hosts will start asking for a lot of
retransmission). Other protocols tolerance for OOO packets varies.

ISO> Yeah, but will give You flexibility in doing what You want to do
ISO> - for example, sharing two leased lines, 2Mbit/s each. There are
ISO> protocols that will behave oddly when they encounter OOB traffic
ISO> for TCP (like some BGP implementations for example), but FTP and
ISO> others tend generally to accept some low percent of such traffic.

Out-Of-Band, no. You mistake what I said. OOO refers to Out-Of-Order
above. FTP will be no different than any other TCP based service.
The best behaviour will be extra traffic generated by the
selective-ack mechanisms (if they exist), the worst behaviour will be
retransmissions triggered for every out-of-order packet.

In the presence of multiple routes ... _even_ good similarly latent
routes, proper IP operation requires in-order-delivery for the vast
majority of protocols. To do this, you must ensure that each stream
uses only one of the available routes. The method by which you do
this is up to you.

Linux does all this with it's flow table --- that is each 5-tuple
of source ip,port dest ip,port (and protocol) is stored as a "flow"
in a big hash table. The table stores things like the next-hop
interface and destination.

ISO> Yes, but having an option to do it per-packet or per-flow would
ISO> be wonderful. We don't have anything useable today (not counting
ISO> static policy-based routing done via ipfw, pf or netgraph). And
ISO> as we all know, implementation of flow-based routing can be
ISO> optimized to counter DDoS threats - Linux already did that in
ISO> 2.6.x, as there an option to compile kernel with either FIB_HASH
ISO> or FIB_TRIE.

Flow based routing in Linux is a travesty. It falls down really
easily. We tested linux and FreeBSD in routing environments and
hands-down, linux was a failure beyond trivial routing cases. This
includes their latest incarnations. I'm even fairly close to the
group that is trying to fix this. Even in dedicated hardware, flow
based routing is a travesty (just look (and laugh) at any extreme
networks hardware running BGP).

Anyways... a "hashed" approach (that is where you take parts of the
address of the IP packet and use them to deterministically generate
the routing bits.

I would also like equal-cost-multipath, but I would like it done
correctly. round-robbin is not correctly.

Dave.

--
============================================================================
|David Gilbert, Independent Contractor. | Two things can be |
|Mail: dave@xxxxxxxx | equal if and only if they |
|http://daveg.ca | are precisely opposite. |
=========================================================GLO================
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Expanding down-loaded 9.1 iso file
    ... >>burn an ISO in NERO without reading the help then you might find it a ... >>bit difficult getting on with linux. ... > appear to rejoice in it being difficult to install and drive. ... opening an ISO - although I purchased a copy of Nero when I bought my new ...
    (alt.os.linux.suse)
  • Re: Im new to SUSE/Linux, here are some questions (long)
    ... I know nothing about Alcohol 120%, but the linux os allows ISO's to be ... There are 2 commands that you ... mount and umount. ... lets say you downloaded the iso image of the first CD of suse ...
    (alt.os.linux.suse)
  • cdr write fail with cdrecord and x-cdroast
    ... Linux operating system ISOs and have run into several problems. ... using cdrecord to burn a linux ISO to CDR from a DOS partition, ... to burn a disk. ...
    (comp.os.linux.hardware)
  • Re: Creating a bootable CD or DVD for Fedora 3...
    ... > the installation process? ... > linux tools but I don't have linux installed to use ... as said in a previous reply iso is a disc image. ... I have downloaded various liux distro ISOs and burnt ...
    (Fedora)
  • Re: Installing Suse from .iso file
    ... > I am very new to Linux. ... I just downloaded the Suse iso file ... full installation ISOs for download. ...
    (comp.os.linux.misc)