Re: [問題] linux IPv6 router 的問題

看板IPv6作者時間21年前 (2003/10/12 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/23 (看更多)
※ 引述《Paranoid (Gentoo 萬歲 !!)》之銘言: : 1. 麻煩您把所有用 route 和 ifconfig 的指令全改為 ip。(我當初也想說沒差,但 : 後來出過靈異現象。) : 2. 請貼兩台機器的位址表和路由表。(ip -6 addr show 和 ip -6 route show) : 3. 如果還不行,就應該是 ASCC 那邊沒把您的 3ffe:4001:2118::/48 帶出去。 : ---------------------------------------------------------------------------- : 試試看 ..... : #!/bin/sh : ip tunnel add ascc mode sit remote 140.109.1.6 local 203.68.42.188 ttl 255 : ip link set ascc up : ip -6 addr add 2001:288:3b0::9f/127 dev ascc : ip -6 route add ::/0 dev ascc : ip -6 route add 3ffe:4001:2118::/64 dev eth1 : # Do forward packets for all interfaces : echo "1" > /proc/sys/net/ipv6/conf/all/forwarding 我用上述的script執行了。 radvd.conf 新增了AdvRouterAddr on; -------------------------------------- interface eth1 { AdvSendAdvert on; prefix 3ffe:4001:2118::/64 { AdvOnLink on; AdvAutonomous on; AdvRouterAddr on; }; }; 結果還是不行~~~~ linux route server 下執行 ------------------------------------------------------------------------ # ip -6 addr show 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue inet6 ::1/128 scope host inet6 ::1/128 scope host 2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 inet6 fe80::2c0:a8ff:fefb:b1ab/10 scope link 3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 inet6 fe80::6e74:26ff:fe17:856/10 scope link 5: ascc@NONE: <POINTOPOINT,NOARP,UP> mtu 1480 qdisc noqueue inet6 2001:288:3b0::9f/127 scope global inet6 fe80::cb44:2abc/128 scope link # ip -6 route show 2001:288:3b0::9e/127 via :: dev ascc proto kernel metric 256 mtu 1480 advmss 1420 3ffe:4001:2118::/64 dev eth1 metric 1024 mtu 1500 advmss 1440 fe80::/10 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 fe80::/10 dev eth1 proto kernel metric 256 mtu 1500 advmss 1440 fe80::/10 via :: dev ascc proto kernel metric 256 mtu 1480 advmss 1420 ff00::/8 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 ff00::/8 dev eth1 proto kernel metric 256 mtu 1500 advmss 1440 ff00::/8 dev ascc proto kernel metric 256 mtu 1480 advmss 1420 default dev ascc metric 1024 mtu 1480 advmss 1420 unreachable default dev lo metric -1 error -101 --------------------------------------------------------------------------- linux host 下執行 # tracepath6 2001:288:3b0::9e 1?: [LOCALHOST] pmtu 1500 1: 2001:288:3b0::9f 2.801ms 2: 2001:288:3b0::9f asymm 1 2.802ms pmtu 1480 2: no reply 3: no reply # ip -6 addr show 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue inet6 ::1/128 scope host 2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 inet6 3ffe:4001:2118:0:6e74:a3ff:fef7:83a6/64 scope global dynamic valid_lft 2591707sec preferred_lft 604507sec inet6 fe80::6e74:a3ff:fef7:83a6/10 scope link # ip -6 route show 3ffe:4001:2118::/64 dev eth0 proto kernel metric 256 expires 2591662sec mtu 1 500 advmss 1440 fe80::/10 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 ff00::/8 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 default via fe80::6e74:26ff:fe17:856 dev eth0 proto kernel metric 1024 expire s 477sec mtu 1500 advmss 1440 unreachable default dev lo metric -1 error -101 這是我另一台linux ,用的是chtt的host IPv6 addr 下面是traceroute linux router subnet下的host # traceroute6 3ffe:4001:2118:0:6e74:a3ff:fef7:83a6 traceroute to 3ffe:4001:2118:0:6e74:a3ff:fef7:83a6 (3ffe:4001:2118:0:6e74:a3ff:f ef7:83a6) from 3ffe:3600:1e::4bb, 30 hops max, 16 byte packets 1 3ffe:3600:1e::4ba (3ffe:3600:1e::4ba) 13.393 ms * 13.378 ms 2 3ffe:3600:e:100::1 (3ffe:3600:e:100::1) 14.022 ms 13.902 ms * 3 3ffe:3600::17 (3ffe:3600::17) 266.417 ms 247.038 ms 246.695 ms 4 c7513-gw.int.ipv6.ascc.net (2001:288:3b0::c) 365.043 ms 364.82 ms 364.704 ms 5 TFN-c7513.int.ipv6.ascc.net (2001:288:3b0::5b) 367.884 ms 367.598 ms 367. 836 ms 6 c7513-TFN.int.ipv6.ascc.net (2001:288:3b0::5a) 402.244 ms 367.866 ms 379. 025 ms 就這一直重複到~~~~30 會不會是是中研院真的沒幫偶轉~~~~~? -- ※ Origin: 銘傳資工神話站 <bbs.csie.mcu.edu.tw> ※ From : sw66-91-225.adsl.seed.net.tw
文章代碼(AID): #_Y4LT00 (IPv6)
文章代碼(AID): #_Y4LT00 (IPv6)