[j-nsp] Load-Balacing Per-Packets on two equal paths

Tomasz Matusiewicz tmatss at blant.art.pl
Thu Feb 13 11:51:17 EST 2003


Hi

I tried to configure Load-Balancing Per-Packet on two equal paths. My
network diagram:

                      fe-0/2/2----eth0
                     /                \
TrafficGenerator---M10                 NetBSD Computer (lo0 10.10.10.20)
                     \                /
                      fe-0/2/3----eth1

I sending about 6Mbit/s IP traffic from TrafficGenerator to NetBSD
loopback address. But traffic to NetBSD is sended only across one
interface :-(

M10 configuration:

interfaces {
    fe-0/2/2 {
        unit 0 {
            family inet {
                address 10.10.10.5/30;
            }
        }
    }
    fe-0/2/3 {
        unit 0 {
            family inet {
                address 10.10.10.9/30;
            }
        }
    }
}
routing-options {
        route 10.10.10.20/32 next-hop [ 10.10.10.10 10.10.10.6 ];
    }
    forwarding-table {
        export load-balancing;
    }
}
policy-options {
    policy-statement load-balancing {
        from protocol [ static direct ];
        then {
            load-balance per-packet;
        }
    }
}

Some outputs from M10:

> show interfaces statistics | match "^Phy|Input rate|Output rate"

Physical interface: fe-0/2/2, Enabled, Physical link is Up
  Input rate     : 6285600 bps (533 pps)
  Output rate    : 0 bps (0 pps)
Physical interface: fe-0/2/3, Enabled, Physical link is Up
  Input rate     : 0 bps (0 pps)
  Output rate    : 3000 bps (4 pps)

> show route 10.10.10.20

inet.0: 118171 destinations, 118176 routes (118171 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

10.10.10.20/32  *[Static/5] 00:29:42
                    > to 10.10.10.10 via fe-0/2/3.0
                      to 10.10.10.6 via fe-0/2/2.0

-- 
many thanks for reply,
Tom


More information about the juniper-nsp mailing list