[j-nsp] RIP Question

Harry Reynolds harry at juniper.net
Mon Jun 23 09:20:10 EDT 2003


Not sure if this is what you are looking for, but here is a RIP VRF
instance that redistributes a non-unit 0 lo0 address. You can set the
same address on unit 0 as unit 1, but this example uses a unique
address. This was with 5.7, but also works with 5.6:

[edit]
lab at London# run monitor traffic interface fe-0/0/1 detail
Listening on fe-0/0/1, capture size 96 bytes

11:19:59.539849 Out IP (tos 0xc0, ttl 1, id 48855, len 52)
10.0.29.1.router > 224.0.0.9.router:
        RIPv2, Response, length: 24, routes: 1
          AFI: IPv4:         3.0.0.1/32, tag 0x0000, metric: 1,
next-hop: self
^C
1 packets received by filter
0 packets dropped by kernel

[edit]
lab at London# show interfaces lo0
unit 0 {
    family inet {
        address 192.168.28.1/32;
    }
}
unit 1 {
    family inet {
        address 3.0.0.1/32;
    }
}

[edit]
lab at London# show policy-options
policy-statement foo {
    term 1 {
        from {
            protocol direct;
            route-filter 3.0.0.1/32 exact;
        }
        then accept;
    }
}

[edit]
lab at London# show routing-instances
test {
    instance-type vrf;
    interface fe-0/0/1.0;
    interface lo0.1;
    route-distinguisher 10.0.1.1:1;
    vrf-target target:65412:100;
    protocols {
        rip {
            group test {
                export foo;
                neighbor fe-0/0/1.0;
            }
        }
    }
}


HYHs

> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net
> [mailto:juniper-nsp-bounces at puck.nether.net]On Behalf Of
> Mustafa taseli
> Sent: Monday, June 23, 2003 7:20 AM
> To: juniper-nsp at puck.nether.net
> Subject: [j-nsp] RIP Question
>
>
> Hi All
>
> I want to run RIP in a routing-instance, I also
> want to distribute my loopback addresses with rip
> How can I do it ?? Any Idea ??
>
> Thanks in advance
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list