[j-nsp] FBF Problems

Edson Cardoso ecardoso at qos.com.br
Wed Oct 27 04:02:21 EDT 2004


Hi all,
I made a Filter Based Forwarding configuration to redirect a traffic based on source address but it's not working as aspect...
Here is the configuration and the result is shown in the last part....
 
Any ideas ??
 
Tnks in advance
 
nucleo at Netuno-re0# show firewall filter teste 
term 1 {
    from {
        source-address {
            200.221.138.68/32;
        }
    }
    then {
        log;
        routing-instance PBR-UOL;
    }
}
term 2 {
    then accept;
}

nucleo at Netuno-re0# show interfaces ge-0/1/0 
description "Conexao Anel-Giga";
link-mode full-duplex;
unit 0 {
    family inet {
        filter {
            input teste;
        }
        address 200.170.96.225/27;
}
 
nucleo at Netuno-re0# show interfaces 
fe-0/0/0 {
    description "Conexao UOL Vlan 8";
    speed 100m;
    link-mode full-duplex;
    unit 0 {
        family inet {
            address 200.221.31.122/30;
        }
    }
}
 
nucleo at Netuno-re0# show routing-instances 
PBR-UOL {
    instance-type forwarding;
    routing-options {
        static {
            route 0.0.0.0/0 {
                next-hop 200.221.31.121;
                resolve;
            }
        }
    }
}
 
nucleo at Netuno-re0# run show route table PBR-UOL hidden extensive 
 
PBR-UOL.inet.0: 1 destinations, 1 routes (0 active, 0 holddown, 1 hidden)
0.0.0.0/0 (1 entry, 0 announced)
         Static Preference: 5
                Next hop type: Unusable <-- ??????
                Next-hop reference count: 5
                State: <Hidden Int Ext>
                Age: 1:30 
                Task: RT
                AS path: I
                Indirect next hops: 1
                        Protocol next hop: 200.221.31.121 Indirect next hop: 0 -


More information about the juniper-nsp mailing list