Re Stefan,
> Just to clarify "session based": I mean L3
> session.
That's either a dst-hash or a src-dst-hash. And it's what most L3 switches are doing.
> I don't think OSPF supports L4 session
> balancing. As far as I know OSPF supports
> per IP packet balancing or per IP session
> balancing.
OSPF doesn't "support certain kinds of load balancing" at all. OSPF just establishes routes in the RIB, and when it supports ECMP, that just means it can establish more than a single route in the RIB given the routes are all equal (destination and cost) and just differ in the path (egress interface/next hop). Typically (and default on ProCurves) it will establish up to four equal cost routes.
How exactly those ECMP routes in the RIB are later used to load balance is a question of forwarding, thus the FIB implementation. OSPF is long out of the game when it comes to the actual forwarding, and load balancing works exactly the same regardless of which routing protocol (or static, or even connected if that would be possible) once established the routes. If they are ECMP, the FIB/forwarding implementation will have to load balance them.
> I have read the 5400 manual but it doesn't
> say anything on which method 5400 are
> using.
IMO you can be sure that it's not per-packet as long as we speak of L3 switches and LAN interfaces.
> I have problem with voice traffic (SIP)
> over OSPF balanced network. My feelings
> was that it might be a problem if the 5400
> switches uses IP packet balancing and the
> packets are reciving to destination router
> in different order.
That could indeed kill RTP (not SIP) with some terminal implementations that cannot deal with out of order voice packets, but that could be easily debugged (just use the function on the IP phone that displays stream statistics [on Cisco IP phones that's a fast double-? touch] or if nothing like that is available, loop in a sniffer).
> I presume that they are using per IP
> session balancing but it would be nice to
> have this commited.
Looking at the traffic graphs of some 6200yl core switches doing ECMP to a handful of distributions, the loads on the interfaces are too different for this to be per-packet. Given that per-packet is an implementation nightmare even on software routers and much worse on hardware supported FIBs, and given the track record of HP ProCurve boxes in implementing ECMP at all, I think it's a pretty safe bet that there's no per-packet load balancing happening on the yl/zl product line. Ever.
HTH,
Andre.