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