[Xorp-users] xorp RIPng

Pavlin Radoslavov pavlin at icir.org
Wed Nov 14 09:52:05 PST 2007


> 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:

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.


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