<pre><font size="2"> Hello Pavlin,</font><br> <br> +----------+ +----------+<br> | PC1 +---------------------+ |<br> | | sk0 | Router 1 |
<br> +----------+2001:ec1:4001:10af::1+-----+----+<br> <br> | vr0 2001:ec0:4000:beef::1<br> |
<br> | <br> | <br> |<br> |
<br> | vr0 2001:ec0:4000:beef::2<br> +----------+ +-----+----+<br> | PC2 +---------------------+ |<br> | | sk0 | Router 2 |
<br> +----------+2001:ec2:4002:fa11::1+----------+<br> <br></pre>PC1 IPv6 address: 2001:ec1:4001:10af:219:5bff:fe2f:1468<br>PC2 IPv6 address: 2001:ec2:4002:fa11:200:24ff:fec4:3235<br><br><span style="font-weight: bold;">
Manual Configuration of Static Routes: (no XORP)</span><br>Router 1<br><br>$ netstat -nra | more<br>Routing tables<br><br><br>Internet6:<br>Destination Gateway Flags Netif<br>
Expire<br>::/96 ::1 UGRS lo0<br>::1 ::1 UHL lo0<br>::ffff:<a href="http://0.0.0.0/96">0.0.0.0/96
</a> ::1 UGRS lo0<br>2001:ec0:4000:beef::/64 link#2 UC vr0<br>2001:ec0:4000:beef::1 00:13:d4:d8:68:08 UHL lo0
<br>2001:ec0:4000:beef::2 00:15:f2:3d:ac:91 UHLW vr0<br>2001:ec1:4001:10af::/64 link#1 UC sk0<br>2001:ec1:4001:10af::1 00:19:5b:85:cf:c7 UHL lo0
<br>2001:ec1:4001:10af:219:5bff:fe2f:1468 00:19:5b:2f:14:68 UHLW <br>sk0<br>2001:ec2:4002:fa11::/64 2001:ec0:4000:beef::2 UGS vr0<br><br>Router 2<br><br>$ netstat -nra | more<br>
Internet6:<br>Destination Gateway Flags Netif<br> Expire<br>::/96 ::1 UGRS lo0<br>::1 ::1 UHL lo0
<br>::ffff:<a href="http://0.0.0.0/96">0.0.0.0/96</a> ::1 UGRS lo0<br>2001:ec0:4000:beef::/64 link#2 UC vr0<br>2001:ec0:4000:beef::1 00:13:d4:d8:68:08 UHLW vr0
<br>2001:ec0:4000:beef::2 00:15:f2:3d:ac:91 UHL lo0<br>2001:ec1:4001:10af::/64 2001:ec0:4000:beef::1 UGS vr0<br>2001:ec2:4002:fa11::/64 link#1 UC sk0
<br>2001:ec2:4002:fa11::1 00:19:5b:2f:14:6a UHL lo0<br>2001:ec2:4002:fa11:200:24ff:fec4:3235 00:00:24:c4:32:35 UHLW <br>sk0<br><br>Here are the ping results from pc1 to pc2 and vice versa:
<br><br>hansi@hansi-desktop:~$ ping6 2001:ec2:4002:fa11:200:24ff:fec4:3235<br>PING 2001:ec2:4002:fa11:200:24ff:fec4:3235(2001:ec2:4002:fa11:200:24ff:fec4:3235) 56 data bytes<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=1 ttl=62 time=
0.650 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=2 ttl=62 time=0.631 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=3 ttl=62 time=0.662 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=4 ttl=62 time=
0.696 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=5 ttl=62 time=0.735 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=6 ttl=62 time=0.651 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=7 ttl=62 time=
0.587 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=8 ttl=62 time=0.719 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=9 ttl=62 time=0.670 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=10 ttl=62 time=
0.706 ms<br><br><br>hansi@hansi-desktop:~$ ping6 2001:ec1:4001:10af:219:5bff:fe2f:1468<br>PING6(56=40+8+8 bytes) 2001:ec2:4002:fa11:200:24ff:fec4:3235 --> 2001:ec1:4001:10af:219:5bff:fe2f:1468<br>16 bytes from 2001:ec1:4001:10af:219:5bff:fe2f:1468, icmp_seq=0 hlim=62 time=
1.117 ms<br>16 bytes from 2001:ec1:4001:10af:219:5bff:fe2f:1468, icmp_seq=1 hlim=62 time=1.041 ms<br>16 bytes from 2001:ec1:4001:10af:219:5bff:fe2f:1468, icmp_seq=2 hlim=62 time=0.987 ms<br>16 bytes from 2001:ec1:4001:10af:219:5bff:fe2f:1468, icmp_seq=3 hlim=62 time=
0.927 ms<br>16 bytes from 2001:ec1:4001:10af:219:5bff:fe2f:1468, icmp_seq=4 hlim=62 time=0.990 ms<br>16 bytes from 2001:ec1:4001:10af:219:5bff:fe2f:1468, icmp_seq=5 hlim=62 time=0.928 ms<br>16 bytes from 2001:ec1:4001:10af:219:5bff:fe2f:1468, icmp_seq=6 hlim=62 time=
1.036 ms<br>16 bytes from 2001:ec1:4001:10af:219:5bff:fe2f:1468, icmp_seq=7 hlim=62 time=1.025 ms<br>16 bytes from 2001:ec1:4001:10af:219:5bff:fe2f:1468, icmp_seq=8 hlim=62 time=1.045 ms<br>16 bytes from 2001:ec1:4001:10af:219:5bff:fe2f:1468, icmp_seq=9 hlim=62 time=
0.946 ms<br>16 bytes from 2001:ec1:4001:10af:219:5bff:fe2f:1468, icmp_seq=10 hlim=62 time=0.973 ms<br><br><br><span style="font-weight: bold;">Configuration of Static Routes through XORP<br></span><br>Router 1<br><br>$ sudo route -n monitor
<br>Password:<br><br>got message of size 328 on Tue Nov 6 23:24:55 2007<br>RTM_ADD: Add Route: len 328, pid: 0, seq 0, errno 0, flags:<UP,HOST,DONE,LLINFO,WASCLONED><br>locks: inits: <br>sockaddrs: <DST,GATEWAY,IFP,IFA>
<br> 2001:ec0:4000:beef::2 vr0:0.13.d4.d8.68.8 fe80::213:d4ff:fed8:6808%vr0<br><br>got message of size 304 on Tue Nov 6 23:24:55 2007<br>RTM_ADD: Add Route: len 304, pid: 4927, seq 131072, errno 0, flags:<UP,GATEWAY,DONE,PROTO1>
<br>locks: inits: <br>sockaddrs: <DST,GATEWAY,NETMASK,IFP><br> 2001:ec2:4002:fa11:: 2001:ec0:4000:beef::2 ffff:ffff:ffff:ffff:: <br><br>$ netstat -nra | more<br><br>Internet6:<br>Destination Gateway Flags Netif
<br> Expire<br>::/96 ::1 UGRS lo0<br>::1 ::1 UHL lo0<br>::ffff:<a href="http://0.0.0.0/96">0.0.0.0/96
</a> ::1 UGRS lo0<br>2001:ec0:4000:beef::/64 link#2 UC vr0<br>2001:ec0:4000:beef::1 00:13:d4:d8:68:08 UHL lo0
<br>2001:ec0:4000:beef::2 link#2 UHLW vr0<br>2001:ec0:4000:beef::2 00:15:f2:3d:ac:91 UHLW vr0<br>2001:ec1:4001:10af::/64 link#1 UC sk0
<br>2001:ec1:4001:10af::1 00:19:5b:85:cf:c7 UHL lo0<br>2001:ec1:4001:10af:219:5bff:fe2f:1468 00:19:5b:2f:14:68 UHLW <br>sk0<br>2001:ec1:4001:10af::/64/64 2001:ec0:4000:beef::2 UG1 vr0
<br>fe80::/10 ::1 UGRS lo0<br>fe80::%sk0/64 link#1 UC <span style="font-weight: bold;"><span style="font-weight: bold;">
<br><br></span></span>Router 2<br><br>$ sudo route -n monitor<br>Password:<br><br>got message of size 328 on Wed Nov 7 03:23:40 2007<br>RTM_ADD: Add Route: len 328, pid: 0, seq 0, errno 0, flags:<UP,HOST,DONE,LLINFO,WASCLONED>
<br>locks: inits: <br>sockaddrs: <DST,GATEWAY,IFP,IFA><br> 2001:ec0:4000:beef::1 vr0:0.15.f2.3d.ac.91 fe80::215:f2ff:fe3d:ac91%vr0<br><br>got message of size 304 on Wed Nov 7 03:23:40 2007<br>RTM_ADD: Add Route: len 304, pid: 4593, seq 131072, errno 0, flags:<UP,GATEWAY,DONE,PROTO1>
<br>locks: inits: <br>sockaddrs: <DST,GATEWAY,NETMASK,IFP><br> 2001:ec1:4001:10af:: 2001:ec0:4000:beef::1 ffff:ffff:ffff:ffff:: vr0<br><br>$ netstat -nra | more<br>Internet6:<br>Destination Gateway Flags Netif
<br> Expire<br>::/96 ::1 UGRS lo0<br>::1 ::1 UHL lo0<br>::ffff:<a href="http://0.0.0.0/96">0.0.0.0/96
</a> ::1 UGRS lo0<br>2001:ec0:4000:beef::/64 link#2 UC vr0<br>2001:ec0:4000:beef::1 link#2 UHLW vr0
<br>2001:ec0:4000:beef::1 00:13:d4:d8:68:08 UHLW vr0<br>2001:ec0:4000:beef::2 00:15:f2:3d:ac:91 UHL lo0<br>2001:ec0:4000:beef::/64/64 2001:ec0:4000:beef::1 UG1 vr0
<br>2001:ec2:4002:fa11::/64 link#1 UC sk0<br>2001:ec2:4002:fa11::1 00:19:5b:2f:14:6a UHL lo0<br>2001:ec2:4002:fa11:200:24ff:fec4:3235 00:00:24:c4:32:35 UHLW
<span style="font-weight: bold;"><span style="font-weight: bold;"> <br><br><span style="font-weight: bold;"><br></span></span></span>Here are the ping results from pc1 to pc2 and vice versa:<br><br>hansi@hansi-desktop:~$ ping6 2001:ec2:4002:fa11:200:24ff:fec4:3235
<br>PING 2001:ec2:4002:fa11:200:24ff:fec4:3235(2001:ec2:4002:fa11:200:24ff:fec4:3235) 56 data bytes<br><br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=16 ttl=62 time=0.834 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=17 ttl=62 time=
0.614 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=18 ttl=62 time=0.753 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=19 ttl=62 time=0.695 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=20 ttl=62 time=
0.736 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=21 ttl=62 time=0.567 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=22 ttl=62 time=0.716 ms<br>64 bytes from 2001:ec2:4002:fa11:200:24ff:fec4:3235: icmp_seq=23 ttl=62 time=
0.655 ms<br><br>$ ping6 2001:ec1:4001:10af:219:5bff:fe2f:1468<br>PING6(56=40+8+8 bytes) 2001:ec2:4002:fa11:200:24ff:fec4:3235 --> 2001:ec1:4001:10af:219:5bff:fe2f:1468<br>^C<br>--- 2001:ec1:4001:10af:219:5bff:fe2f:1468 ping6 statistics ---
<br>179 packets transmitted, 0 packets received, 100.0% packet loss<br><br>Taking a closer look on the ping results would show that there are missing icmp packets from sequence 1 to 15 while pinging from pc2 to pc1 translates to a 100% packet loss.
<br><br>My purpose is to add route 2001:ec2:4002:fa11::/64 through next hop address 2001:ec0:4000:beef::2 on router 1 as well as add 2001:ec1:4001:10af::/64 through next hop address 2001:ec0:4000:beef::1 on router 2. <br>
<br>Attached is the xorp config file. I didnt bother pasting it here since <br><div><span class="gmail_quote">On 11/6/07, <b class="gmail_sendername">Pavlin Radoslavov</b> <<a href="mailto:pavlin@icir.org">pavlin@icir.org
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> > Looking closely on the routing table produced by netstat would show:
<br>> ><br>> > Manually added routes:<br>> ><br>> > 2001:ec2:4002:fa11::/64 2001:ec0:4000:beef::2<br>> > UGS vr0<br>> ><br>> > Routes added by xorp:<br>> >
<br>> > 2001:ec1:4001:10af::/64/64 2001:ec0:4000:beef::2<br>> > UG1 vr0<br><br>Interesting. Initially my first impression was that the double<br>/64/64 is a typo, but the raw "netstat" output also contains it.
<br>Could you send the your XORP configuration, as well as the output of<br>running ping with XORP and with manual static routes.<br>The routes themselves are different (4002 vs 4001) which is also</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
add.</blockquote><div><br>Probably a wrong destination network added to the routing table?<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
FYI, the "S" vs "1" flag (i.e., "UGS" vs "UG1") is normal.<br><br>Also, could you run "route -n monitor" before starting XORP, and<br>send the output of the messages until after XORP is started.
<br><br>Thanks,<br>Pavlin<br></blockquote></div><br>