An Image/Link below is provided (as is) to download presentation
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.Content is provided to you AS IS for your information and personal use only.Download presentation by click this link.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.During download, if you can't get a presentation, the file might be deleted by the publisher.
Windows “ipv6”命令 • Ipv6 if (显示详细的接口信息) IPv6 if [interface Index] 如果不填接口索引则显示所有接口的所有信息 e.g. ipv6 if ipv6 if 5 • Ipv6 ifcr (创建伪接口)手工地址隧道配置 • Ipv6 ifcr v6v4 v4src v4dst (创建IPv6-in-IPv4的隧道接口),v4src为我IPv4地址,v4dst为对方IPv4地址 e.g. ipv6 ifcr v6v4 210.25.132.154 201.192.1.108
Windows “ipv6”命令 • ping6命令 ping6 {host | ipv6 address} e.g. ping6 www.6bone.net • tracert6命令 tracert6 {host | ipv6 address} e.g. tracert6 www.ipv6.org
Linux – 配置隧道 • IPv6-in-IPv4 tunnel (Manual) ip tunnel add sit_xxu remote 202.112.24.67 local 210.25.137.1 # # tunnel name: sit_xxu, local IPv4: 210.25.137.1, remote IPv4: 202.112.24.67 # ip -6 route add 2001:250:F004:0800::/56 dev sit_xxu # # add a static route for /56 via sit_xxu dev interface # ip link set dev sit_xxu up # # bring up the device # • 如何通过隧道连接可以参考XP下的隧道连接,先注册,取得对方的IPv4地址和我方的IPv6址,然后建立手工隧道,添加IPv6地址,建立路由,宣告路由即可。
FreeBSD • FreeBSD应该说是最早支持IPv6的系统 • FreeBSD4.5及以上版本对IPv6支持较完善 • FreeBSD几乎所有的ipv6配置都可以通过 /etc/rc.conf 文件实现 ipv6_enable="YES“ ipv6_ifconfig_fxp0="2001:250:f004::5“ # # config IPv6 address for interface fxp0 # ipv6_defaultrouter="2001:250:f004::1“ # # set default route # ipv6_gateway_enable=“NO“ # # turn off the routing functionality #
FreeBSD – 配置隧道 • Gifconfig (配置Generic Tunnel) ifconfig gif0 create # # Create a pseudo interface for tunnel gifconfig gif0 inet 210.25.137.1 202.112.10.83 # # Tunnel name: gif0, local IPv4: 210.25.137.1, # remote IPv4: 202.112.10.83 ifconfig gif0 inet6 2001:250:f004::1/64 # # Assign IPv6 address for gif0 route add -inet6 default 2001:250:f004::1 # # Set gif0 the default route