Microsoft PowerPoint - 03.IPv6_Linux.ppt [相容模式]

Similar documents
Windows 各 版 本 DNS 伺 服 器 對 IPv6 支 援 簡 介 Windows 須 至 Microsoft 網 站 下 載 IPv6Kit 軟 體 - 透 過 指 令 設 定, 無 DNS 管 理 圖 形 操 作 介 面 Windows 內 建 IPv4/I

untitled

TWNIC 相關活動報告

PowerPoint Presentation

untitled

本文由筱驀釹贡献

untitled

ARP ICMP

93年各縣國中教師甄試最新考情.doc

IPv6移轉機制之介紹

穨CAS1042快速安速說明.doc

FreeRouter V2 完全手册

一、选择题

05_資源分享-NFS及NIS.doc

自由軟體社群發展經驗與 Linux認證介紹



電子商業伺服器管理(終極版).doc

IPv6 Proxy 升 級 方 案 說 明 會 議 程 時 間 課 程 內 容 參 與 人 員 講 師 IPv6 Proxy 升 級 方 案 說 明 議 程 : IPv6 升 級 現 況 報 告 10:30-12:00 IPv6 Proxy 升 級 方 案 介 紹 IPv6 Proxy 升 級 方

第 7 章 下 一 代 网 际 协 议 IPv6 141 足 的 措 施 只 能 是 权 宜 之 计 (3) 路 由 表 膨 胀 早 期 IPv4 的 地 址 结 构 也 造 成 了 路 由 表 的 容 量 过 大 IPv4 地 址 早 期 为 网 络 号 + 主 机 号 结 构, 后 来 引 入

ebook140-11

宁夏专业技术人员服务平台

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南

AL-M200 Series

UDP 8.2 TCP/IP OSI OSI 3 OSI TCP/IP IP TCP/IP TCP/IP Transport Control Protocol TCP User Datagram Protocol UDP TCP TCP/IP IP TCP TCP/IP TC

untitled

05 01 X Window X Window Linux Linux X Window X Window Webmin Web Linux Linux X Window X Window Notebook PC X Window X Window module Linux Linux kernel

.. 3 N

Agenda Windows IPv6 功能 Linux IPv6 功能 IPv6 Tunnel Broker 介紹 2

常 见 问 题 SLB 产 品 和 业 务 限 制 SLB 产 品 限 制 SLB 产 品 和 业 务 限 制 限 制 项 普 通 用 户 限 制 描 述 例 外 申 请 方 式 ( 例 外 上 限 ) 创 建 SLB 实 例 的 财 务 限 制 账 户 余 额 大 于 等 于 100 元 现 金

8 怎 么 实 现 IPv4 到 IPv6 的 平 稳 过 渡? 能 否 告 知 需 要 什 么 样 的 拨 号 软 件 可 以 支 持, 前 面 过 相 似, 我 们 建 议 的 其 实 一 个 路 线 图 目 前 阶 段 用 NAT44+6rd 如 果 你 使 用 vista/win7, 那 么

R3105+ ADSL

ch09.PDF

IP505SM_manual_cn.doc

スライド 1

IPv6升级改造指南

软件概述

文件1

untitled

Microsoft Word htm

A9RBC8B.tmp

GPRS IP MODEM快速安装说明

スライド 1

D E 答 案 :C 3. 工 作 站 A 配 置 的 IP 地 址 为 /28. 工 作 站 B 配 置 的 IP 地 址 为 /28. 两 个 工 作 站 之 间 有 直 通 线 连 接, 两 台

第3章

網路安全:理論與實務 第二版

ch08.PDF

工程硕士信息通信网实验讲义.doc

HP 3PAR StoreServ 7000 Storage SmartStart 1.3 软件发行说明

untitled

第 11 章 互聯網技術 11.1 互聯 網 和 萬 維 網 的 發 展 歷 史 A. 互聯網的發展 互聯網是由 ARPANET 開 始發展的 1969 年 美國國防部高級研究計劃署 (ARPA) 把部分軍事研究所和大 的電腦連接起來 建造了㆒個實驗性的電腦網絡 稱為 ARPANET 並 列 的功能

Simulator By SunLingxi 2003

目 錄 第 一 章 weberp 簡 介... 6 第 一 節 概 述... 6 第 二 節 安 全 性... 7 第 三 節 功 能... 7 一 銷 售 及 訂 單... 7 二 稅... 8 三 應 收 帳 款... 8 四 存 貨... 8 五 購 買... 9 六 應 付 帳 款... 9

IC-900W Wireless Pan & Tilt Wireless Pan & Tilt Remote Control / Night Vision FCC ID:RUJ-LR802UWG

ebook67-9

untitled

投影片 1

ArcIMS ArcIMS Shape ArcIMS Monitor ArcIMS Tasker ArcIMS Windows NT UNIX ArcIMS ArcIMS MapService ArcIMS ArcIMS ArcIMS ArcIMS JAVA Windows NT UNIX ArcI

ebook140-8

ebook62-8

投影片 1

Windows 2000 Server for T100

语 考 试 考 务 工 作 的 汉 考 国 际 教 育 科 技 ( 北 京 ) 有 限 公 司 ( 以 下 简 称 汉 考 国 际 ) 组 织 的 培 训 和 网 络 考 试 系 统 安 装 指 导, 并 签 署 汉 语 网 络 考 试 补 充 服 务 协 议 第 六 条 拟 新 申 请 成 立 汉

(UTM???U_935_938_955_958_959 V )

untitled

目录一

<55342D323637CBB5C3F7CAE92E786C73>

epub 61-2

HKCERT

穨CAS1042中文手冊.doc

ebook140-9

营 销 策 划 岗 部 门 招 聘 职 位 招 聘 人 数 岗 位 职 责 基 本 要 求 岗 位 任 职 要 求 6 参 与 项 目 产 品 研 究 客 户 需 求 研 究 竞 争 环 境 研 究 价 格 研 究 等 项 目 市 场 研 究 ; 7 公 司 经 纪 业 务 的 品 牌 管 理, 对

1.1 OfficeScan OfficeScan V5.02 SOP OfficeScan HTTP-based Windows NT/Windows Intel Pentium II 233 MHz 64 MB 200 MB 640 x Wi

Linux Ubuntu Part Linux Ubuntu Linux UNIX...19 Linux...19 Linux Linux...21 Linux GNU FSF Open So urce.

Microsoft Word - PS2_linux_guide_cn.doc

06 C H A P T E R 6-1 WWW 6-2 WWW WWW WWW

QL1880new2.PDF

BYOD Http Redirect convergence Client (1) 2008R2 NLB( ) (2) NLB Unicast mode switch flooding (arp ) NLB DNS Redirect 1. Round-Robin DNS DNS IP/DNS Cli

<4D F736F F D D352DBED6D3F2CDF8D7E9BDA8D3EBB9DCC0EDCFEEC4BFBDCCB3CCD5FDCEC42E646F63>

目 录 第 一 章 综 述... 3 第 二 章 公 司 简 介... 3 第 三 章 系 统 概 述... 4 第 四 章 软 件 环 境 部 署... 4 第 五 章 系 统 安 全... 5 第 六 章 用 户 类 别 及 功 能 列 表... 5 第 七 章 系 统 功 能 描 述... 7

DNS

ソフトウェア説明書 CA Introscope 9 (9.5)

硬體安裝與ADSL.doc

Chapter 2

Microsoft Word - DIR-615_B2_Manual_1.00_T_.doc

一、

飞鱼星多WAN防火墙路由器用户手册

SL2511 SR Plus 操作手冊_單面.doc

csa-faq.pdf

迅闪2009帮助手册(xshelp)

目 录 第 五 部 分 第 六 部 分 第 七 部 分 第 八 部 分 投 标 邀 请 投 标 人 须 知 附 表 评 标 方 法 和 评 分 细 则 项 目 需 求 和 技 术 方 案 要 求 1

第一章 Linux與網路資源

LinuxÓû§»ù´¡

Epson

Microsoft Word htm

DOS下常用的网络命令.PDF

<4D F736F F F696E74202D20A1B6CFEEC4BFD2BB20B3F5CAB6BCC6CBE3BBFACDF8C2E7A1B7C8CECEF1C8FD20CAECCFA A1A24950D0ADD2E9BACD4950B5D8D6B72E707074>

ebook177-1

1 IT IT IT IT Virtual Machine, VM VM VM VM Operating Systems, OS IT

Basic System Administration

Transcription:

IPv6 Linux (Cent OS 5.x) IPV6 2 IPv6 IPv6 IPv6 IPv6 IPv4 IPv6 (RFC 2460) Dual Stack Tunnel 3 4

IPv6 Native IP IPv6, DHCPv6 IPv6 IP IPv6 Tunnel Broker IPv4, Tunnel IPv6 Tunnel Broker Client IPv6 ( ) IPv6 Windows Windows Vista Windows 7/2008 Linux Fedora/CentOS Ubuntu/Debian 5 6 IPv6 nslookup (AAAA) Set type=aaaa IPv6( ) dig (UNIX Like) 7 8

IPv6( ) ping, tracert (Windows) IPv6( ) ping6, traceroute6 (UNIX Like) 9 10 IPv6 Kame http://www.kame.net IPv6 Ready Logo http://www.ipv6ready.org/ IPv6 http://interop.ipv6.org.tw/ Chapter 01 LINUX WINDOWS IPV6 IPv6 (HiNet) http://ipv6.taco.hinet.net/taco_ipv6/index.jspipv6/index.jsp 11 12

IPv6 on Linux IPv6 on Windows Windows XP Ping Linux Ping ( ) IPv6 Host Windows XP IPv6 Server CentOS 5.x Switch D-Link DES-1005D 13 14 IPv6 on Linux Linux Kernel 218 IPv6 2.1.8 Linux Kernel 2.6.x IPv6 2008 12 1 2008 12 1 Linux Foundation(Linux ) IPv6 Linux Distribution( ) ( ) IPv6 on Linux IPv6 Distribution IPv6 CentOS 5.x 15 16

IPv6 on Linux CentOS ifconfig eth0 interface fe80 Linklocal IPv6 IPv6 on Windows IPv6 WindowsXP IPv6 WindowsXP ipv6 install IPv6 IPv6 ipconfig 17 18 IPv6 on Windows ipv6 install IPv6 on Windows ipconfig fe80 IPv6 IPv6 19 20

Windows XP Ping Host Server ping Server: fe80::a00:27ff:fe84:a767 Host: fe80::21b:fcff:fec0:8e97 f ff f 0 8 Windows XP Ping Host to Server ping6 fe80::a00:27ff:fe84:a767%5 Host Ping Server ping6 interface Ping ipconfig %5 Host Server %5 21 22 Windows XP Ping Server to Host ping6 -I eth0 -c 5 fe80::21b:fcff:fec0:8e97 Linux Ping ( ) Linux Ping IPv6 Server Ping Host 23 24

Linux Ping ( ) Host1 ifconfig Host1 IPv6 IPv6 IPv6 25 IPv6 IPv6 ifconfig /sbin/ifconfig <interface> IPv6 route /sbin/route -A inet6 IPv6 Ping ping6 < ipv6address > IPv6 traceroute6 traceroute6 <ipv6 address> DNS IPv6 host -t AAAA ipv6-domainname Telnet Client telnet 3ffe:400:100::1 80 26 26 IPv6 IPv6 IPv6 # /sbin/ip -6 addr show dev <interface> # /sbin/ifconfig <interface> IPv6 # /sbin/ip -6 addr add <ipv6address>/<prefixlength> dev <interface> # /sbin/ifconfig <interface> inet6 add <ipv6address>/<prefixlength> p IPv6 # /sbin/ip -6 addr del <ipv6address>/<prefixlength> dev <interface> # /sbin/ifconfig <interface> inet6 del <ipv6address>/<prefixlength> IPv6 Depends on distribution Red Hat Fedora IPv6 vi /etc/sysconfig/network NETWORKING_IPV6=yes vi/etc/sysconfig/network-scripts/ifcfg-eth0 IPV6INIT=yes IPV6ADDR= <ipv6address>/<prefix> 6 /t/iitd/ /etc/init.d/network t restart t service network restart t 27 28 28

Linux Ping ( ) /etc/sysconfig/network-scripts/ifcfg-eth0 scripts/ifcfg eth0 #vim /etc/sysconfig/network-scripts/ifcfg-eth0 Linux Ping ( ) IPv6 IPv6 29 30 Linux Ping ( ) network /etc/rc.d/init.d/network restart Linux Ping ( ) Host2 ifconfig eth0 Host1 31 32

Linux Ping ( ) #vim /etc/sysconfig/network-scripts/ifcfg-eth0scripts/ifcfg eth0 IPv6 Linux Ping ( ) network ifconfig eth0 Host2 IPv6 33 34 Linux Ping ( ) Host1 Host2 Ping Host1: #ping6 2222::2 Chapter 02 DNS SERVER (BIND) Host2: #ping6 2222::1 35 36

Bind Bind Bind Bind IPv6 Bind Bind DNS Server IPv6 CentOS DNS Server IPv6 37 38 IPv6 DNS Server: CentOS 5.x IPv6 Host: Windows XP Switch D-Link DES-1005D Bind yum Bind #yum install bind system-config-bind bindchroot 39 40

Bind /var/named/chroot/ bind-chroot bind /var/named/chroot system-config-bind bind /usr/share/system-config-bind/profiles/default 1. named.conf /usr/share/system-config-bind/profiles/default named.conf /var/named/chroot/etc # cd /usr/share/system-conf-bind/profiles/default # cp named.conf /var/named/chroot/etc/ / t / Bind 2. /usr/share/system-config-bind/profiles/default/named (zone) # cd /usr/share/system-config-bind/profiles/default/named stem r files/defa lt/named # cp *.* /var/named/chroot/var/named/ 41 42 Bind 3. named.root /usr/share/doc/bind-9.3.4/sample/var/named named.root /var/named/chroot/var/named/ # cd /usr/share/doc/bind-9.3.4/sample/var/named ar/named # cp named.root /var/named/chroot/var/named/ bind /etc/init.d/named start Bind named.conf options { listen-on-v6{any;}; }; zone "demo2.v6class.tw." IN { type master; file "demo2.v6class.tw.txt"; allow-update { none; }; }; bind /etc/init.d/named restart 43 44

v6class.tw.txt txt $TTL 86400 @ IN SOA v6class.tw. root.localhost. ( 2011030804 ; Serial 28800 ; Refresh 14400 ; Retry 720000 ; Expire 86400 ) ; Minimum @ IN NS ns1.v6class.tw. @ IN NS ns2.v6class.tw. ns1 IN A 163.28.6.33 ns2 IN A 163.28.6.33 ns1 IN AAAA 2001:288:1:1002::15 ns2 IN AAAA 2001:288:1:1002::15 demo IN NS ns1.demo.v6class.tw. demo IN NS ns2.demo.v6class.tw. ns1.demo IN A 211.72.210.2 ns2.demo IN A 211.72.210.2 ns1.demo IN AAAA 2001:f10:7001:6:20c:29ff:fe74:df51 ns2.demo IN AAAA 2001:f10:7001:6:20c:29ff:fe74:df51 45 AAAA demo.v6class.tw.txt $TTL 86400 @ IN SOA demo.v6class.tw. root.localhost. ( 2011030804 ; Serial 28800 ; Refresh 14400 ; Retry 720000 ; Expire 86400 ) ; Minimum @ IN NS ns1.demo.v6class.tw. @ IN NS ns2.demo.v6class.tw. ns1 IN A 211.72.210.2 ns2 IN A 211.72.210.2 ns1 IN AAAA 2001:f10:7001:6:20c:29ff:fe74:df51 ns2 IN AAAA 2001:f10:7001:6:20c:29ff:fe74:df51 www IN A 211.72.210.116 www IN AAAA 2001:288:4:2::116 46 Bind IPv6 Bind IPv6 netstat Bind IPv4 IPv6 53 port #netstat -antlp grep : 53 IPv4 IPv6 DNS 47 48

Chapter 04 WEB SERVER (APACHE) 49 50 Apache Apache Server Apache Server IPv6 Web Server Apache Apache Unix-like OS Web Server Apache2 IPv6/IPv4 Dual Stack CentOS5.x Apache p 2.2.3-22 IPv6 Web Server 51 52

IPv6 Web Server: CentOS 5.x IPv6 Host: Windows XP Switch D-Link DES-1005D Browser: Internet Explorer 8.0 Apache Server yum Apache #yum install httpd 53 54 Apache Server Apache Server /etc/httpd/conf/httpd.confconf Apache IPv4/IPv6 55 56

IPv6 Web Server Server: fe80::a00:27ff:fe84:a767 Host: fe80::21b:fcff:fec0:8e97 Host ipconfig %11 IPv6 Web Server IPv6 Server 57 58 Virtual Host NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin dar@twnic.net.tw DocumentRoot "/var/www/html/demov6" ServerName www.ipv6day.tw ServerAlias v4.ipv6day.tw ServerAlias ds.ipv6day.tw ServerAlias demv6.ipv6po.tw ServerAlias 2001:f10:7001:6:20c:29ff:fe74:df51 ErrorLog "logs/demov6.ipv6po.tw-error_log" 6i 6 l " CustomLog "logs/demov6.ipv6po.tw-access_log" common </VirtualHost> <VirtualHost *:80> ServerAdmin dar@twnic.net.tw DocumentRoot "/var/www/html/ds" ServerName ds.demo.v6class.tw ServerAlias v4.demo.v6class.tw ServerAlias v6.demo.v6class.tw ErrorLog "logs/ds.demo.v6class.tw-error _ log" CustomLog "logs/ds.demo.v6class.tw-access_log" common </VirtualHost> 59 IPv6 IPv6 60

IPv6 IPv6 61 62 Chapter 07 FIREWALL(IP6TABLES) iptables ip6tables iptables/ip6tables ipv6 web 63 64

iptables ip6tables ip6tables Kernel 2.4 iptables Linux NAT(Network Address Translation) IP IPv6 ip6tables ip6tables iptables ip6tables IPv6 Address/Prefix iptables iptables ip6tables IPv6 Server with Firewall : CentOS 5.x IPv6 Host: Windows XP Switch D-Link DES-1005D 65 66 iptables/ip6tables #ip6tables -L ACCEPT iptables/ip6tables v6 v4 #ip6tables -F #ip6tables X #ip6tables Z #iptables F #iptables X #iptables -Z 67 68

iptables/ip6tables v6 #ip6tables -L ipv6 web IPv4 IPv6 IPv6 IPv4 IPv6 v4 #iptables -L 69 70 ipv6 web ip6tables #ip6tables -A INPUT -i eth0 -p tcp --dport 80 -j DROP -A INPUT chain -i -p --dport port -j ipv6 web IE IPv4 IPv6 IPv4 71 72

ipv6 web IPv6!! ~ 73 74