[j-nsp] Load Balancing..

Hoogen hoogen82 at gmail.com
Sat Jul 11 21:48:03 EDT 2009


Hi All,
Kind of silly but I am not able to figure this out.. So any help
Appreciated..
I am trying to ping 172.16.1.254.. which works if I remove the load balance
policy but doesn't if I apply it..

-Hoogen

regress at shiraz> show configuration interfaces
ge-0/0/1 {
    vlan-tagging;
    unit 40 {
        vlan-id 22;
        family inet {
            address 10.30.40.40/24;
        }
    }
    unit 41 {
        vlan-id 23;
        family inet {
            address 10.30.41.41/24;
        }
    }
}

regress at shiraz>

regress at shiraz> show configuration routing-options
static {
    route 172.16.1.0/24 next-hop [ 10.30.40.30 10.30.41.31 ];
    route 10.10.20.0/24 next-hop [ 10.30.40.30 10.30.41.31 ];
    route 10.20.30.0/24 next-hop [ 10.30.40.30 10.30.41.31 ];
}
forwarding-table {
    export PerPkt_loadB;
}

regress at shiraz>

regress at shiraz>

regress at shiraz> show configuration policy-options
policy-statement PerPkt_loadB {
    then {
        load-balance per-packet;
    }
}

regress at shiraz>

regress at shiraz> show route detail 172.16.1.0

inet.0: 16 destinations, 16 routes (16 active, 0 holddown, 0 hidden)
172.16.1.0/24 (1 entry, 1 announced)
        *Static Preference: 5
                Next hop type: Router, Next hop index: 262143
                Next-hop reference count: 6
                Next hop: 10.30.40.30 via ge-0/0/1.40
                Next hop: 10.30.41.31 via ge-0/0/1.41, selected
                State: <Active Int Ext>
                Age: 25:21
                Task: RT
                Announcement bits (1): 0-KRT
                AS path: I

regress at shiraz>

regress at shiraz> show route forwarding-table destination 172.16.1.0
Routing table: inet
Internet:
Destination        Type RtRef Next hop           Type Index NhRef Netif
172.16.1.0/24      user     0                    ulst 262143     4
                              10.30.40.30        ucst   402     3
ge-0/0/1.40
                              10.30.41.31        ucst   403     3
ge-0/0/1.41

Routing table: __juniper_private1__.inet
Internet:
Destination        Type RtRef Next hop           Type Index NhRef Netif
default            perm     0                    rjct    61     1

Routing table: __juniper_private2__.inet
Internet:
Destination        Type RtRef Next hop           Type Index NhRef Netif
default            perm     0                    rjct   101     1

regress at shiraz>


More information about the juniper-nsp mailing list