[Xorp-users] xorp RIPng

Hansi hantongs at gmail.com
Wed Nov 14 17:11:09 PST 2007


On Nov 15, 2007 1:52 AM, Pavlin Radoslavov <pavlin at icir.org> wrote:
> > Replacing the global address with the link-local IPv6 address provides
> > the same results. No peerings between two XORP machines w/ RIPng
> > enabled are established. Attached is the configuration file used.
> >
> > Also, I managed to do a trace as you instructed to:
> >
> > 2:33:20<root at demo_rtr :/usr/local/xorp/bin>)#less typescript | grep
> > "socket6_user"
> > "typescript" may be a binary file.  See it anyway? y
> >
> > [ 2007/11/14 02:28:57 INFO xorp_fea XRL ] Resolving
> > xrl:finder://ripng-775637ed507ee002ab82dd3f24333ee1@127.0.0.1/socket6_user/0.1/recv_event?sockid:txt=00000000-000032e1-000ab21c-063b0000&src_host:ipv6=fe80::215:f2ff:fe3d:ac91&src_port:u32=521&data:binary=%01%01%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%10
>
> OK, the above indicates that the FEA has received and forwarded the
> UDP packet to the RIPng module.
>
> After you started using the link-local addresses in your
> configuration what is the output of "show ripng peer statistics all"
> xorpsh command? It should show something like:
>

Yes, I did. But it displays "There are no peers" or something like
that which indicates that no peerings has been established.

> user at hostname> show ripng peer statistics all
>
> * RIP statistics for peer fe80::xxxx:xxxx on rl0 rl0 fe80::yyyy:yyyy
>
>   Last Active at Wed Nov 14 09:40:37 2007
>
>   Counter                                     Value
>   -------------------------------- ----------------
>   Total Packets Received                          6
>   Request Packets Received                        1
>   Update Packets Received                         5
>   Bad Packets Received                            0
>   Bad Routes Received                             5
>   Routes Active                                   0
>
>
> > Attached is my xorp config file.
>
> There was one problem in your config file. Inside the policy
> statement you need to replace
>
>                 network6: ::/0
>
> with
>
>                 network6 <= ::/0
>
> This could explain why the connected routes weren't exported.
>

Ok. Thanks for pointing that out. Will try this out. I'll give you
feedback on the outcome of this.

Thanks,
Hansi
>
> Regards,
> Pavlin
>
> P.S. For reference purpose this is my config file. Obviously, you
> need to replace the link-local address inside the ripng block with
> your own link-local address.
>
> ====================================================
> interfaces {
>     interface rl0 {
>         default-system-config
>     }
> }
>
> fea {
>     unicast-forwarding6 {
>         disable: false
>     }
> }
>
> policy {
>     policy-statement export_connected {
>         term static {
>             from {
>                 protocol: "connected"
>                 network6 <= ::/0
>             }
>         }
>     }
> }
>
> protocols {
>     ripng {
>         export: "export_connected"
>         interface rl0 {
>             vif rl0 {
>                 address fe80::xxxx:xxxx {
>                 }
>             }
>         }
>     }
> }
> ====================================================
>



More information about the Xorp-users mailing list