IPv6 板


LINE

※ [本文轉錄自 Linux 看板] 作者: scarface (花音部飆隼~) 看板: Linux 標題: [問題] linux下 ipv6 6to4 與nat的問題 時間: Mon Feb 22 13:41:21 2010 請問 ipv6 6to4 跟nat可以共存嗎??~ 我的配置如下: PC A(XP)------------( router A )-------------------| 140.112.1.100 140.112.1.1 140.115.1.100 | | PC B(linux)----------( router B )------------------| 140.114.1.100 140.114.1.1 140.115.1.200 router A上的interface eth0 140.112.1.1/255.255.255.0 eth1 140.115.1.100/255.255.255.0 tun6to40 2002:8c73:164::1401:1500:1100/16 router B上的interface eth0 140.114.1.1/255.255.255.0 eth1 140.115.1.200/255.255.255.0 tun6to40 2002:8c73:1c8::1401:1500:1200/16 pc A (在cmd下用ipv6 install啟動6to4 interface) 140.112.1.100 Ethernet adapter 區域連線: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Marvell Yukon 88E8039 PCI-E Fast Ethernet Controller Physical Address. . . . . . . . . : 00-1E-33-D4-CA-2A Dhcp Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 140.112.1.100 Subnet Mask . . . . . . . . . . . : 255.255.255.0 IP Address. . . . . . . . . . . . : fe80::21e:33ff:fed4:ca2a%6 Default Gateway . . . . . . . . . : 140.112.1.1 DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1 fec0:0:0:ffff::2%1 fec0:0:0:ffff::3%1 Tunnel adapter 6to4 Tunneling Pseudo-Interface: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : 6to4 Tunneling Pseudo-Interface Physical Address. . . . . . . . . : 8C-70-01-64 Dhcp Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 2002:8c70:164::8c70:164 Default Gateway . . . . . . . . . : DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1 fec0:0:0:ffff::2%1 fec0:0:0:ffff::3%1 NetBIOS over Tcpip. . . . . . . . : Disabled PC B eth0 140.114.1.100/255.255.255.0 v6to4 Link encap:IPv6-in-IPv4 inet6 addr: 2002:8c72:164::1401:1400:1100/128 Scope:Global inet6 addr: ::140.114.1.1/128 Scope:Compat UP RUNNING NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) router A跟router B是用linux做的~ 設定上是參考 http://6to4.version6.net/?show_ip=140.114.1.200&show_op_sys=Linux&lang=en_GB 弄的 也就是多弄出一個 tun6to4的 interface 我現在遇到問題是PC A跟PC B互ping6的時候~封包都不會通過新增的 tun6to4這個 interface 也就是說 ip -6 route 的設定好像跟本不會跑到 另外router A跟router B本來是有nat的(就是pcA 跟pcB無法直接互ping到) 因為現在封包不會通過tun6to4而是透過 eth0 eth1去傳所以會被iptables檔掉~ 後來我拿掉iptables中相關的rule始pc A跟pc B可以互ping6可是我抓封包~ 封包ip header中protocol欄位是41(0x29) 我想問在6to4的封包傳遞過程是全程都以protocol 41的型式在傳嗎@_@??~ 我看網路上一些文件~好像有提到router會在ipv6封包上加ipv4 header跟拿調ipv4 header的動作~ 這是指protocol 41的封包在過router時會被轉變成protocol 1嗎?@_@??(比方以ping的 icmp封包來說的話) 另外6to4的router可以始用nat嗎??~ --



※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.169.16.222 --



※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.169.16.222







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:iOS站內搜尋

TOP