《大中華區(qū)產(chǎn)品經(jīng)理》PPT課件.ppt_第1頁(yè)
《大中華區(qū)產(chǎn)品經(jīng)理》PPT課件.ppt_第2頁(yè)
《大中華區(qū)產(chǎn)品經(jīng)理》PPT課件.ppt_第3頁(yè)
《大中華區(qū)產(chǎn)品經(jīng)理》PPT課件.ppt_第4頁(yè)
《大中華區(qū)產(chǎn)品經(jīng)理》PPT課件.ppt_第5頁(yè)
已閱讀5頁(yè),還剩28頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、Solaris 8 IPv6,鄧偉文 大中華區(qū)產(chǎn)品經(jīng)理 昇陽(yáng)電腦,IPv6 Overview Transitioning to IPv6 Philosophy and requirements Transition tools Scenarios API transition - porting socket applications Solaris 8 Configuration and Use,Outline,Enough address space for new Internet devices! Plug Handles site local addresses IPv4 code

2、IPv6/ IPv4 code int int myconnect( char *host, int port) myconnect( char *host, char *service) struct sockaddr_ in dest; struct addrinfo *res, *aip; int sock, ret; struct addrinfo hints; struct hostent *hp; int error; int s = -1; hp = gethostbyname( host); bzero( ,Minimal Porting of Socket Client,NO

3、T recommended - does not handle site local addr IPv4 code IPv6/ IPv4 code int int myconnect( char *host, int port) myconnect( char *host,int port) struct sockaddr_ in dest; struct sockaddr_in6 dest; int sock, ret; int sock, ret; struct hostent *hp; struct hostent *hp; int errnum; hp = gethostbyname(

4、 host); hp= getipnodebyname( host, AF_ INET6, AI_ DEFAULT, ,Solaris 8 IPv6 Status,Protocol stack plus core applications TCP/ UDP/ IP, NFS, RPC telnet, ftp, r*, sendmail, etc NIS and NIS+ stores IPv6 addresses. Runs over IPv6. DNS stores IPv6 addresses. Does not run over IPv6. Basic transition tools

5、(RFC 1933) Dual-stack with configured and automatic tunnels Future protocol pieces IPsec for IPv6, Mobile IPv6 Future applications JDK, snmpd, apache, iPlanet, etc,Solaris IPv6 API Tools,Code scrubber (string search in source code) See Porting guide See http:/arachnid.eng/inet/ipv6/ migration/index.

6、html Sun internal website (Future) “Library” to allow shrink- wrapped application binaries to use new APIs on old OS releases (Future) shared object to allow “l(fā)ucky” applications to use IPv6 without a port Intended for “emergencies” - not to discourage porting,Enabling Solaris IPv6,touch /etc/ hostn

7、ame6. le0 (for each interface) Install tool will ask “enable IPv6” question reboot (or re-init networking) ifconfig -a shows IPv6 address Manually put IPv6 addresses in DNS/ NIS/. Some day - secure dynamic DNS update Need public key infrastructure for this BINDv9 has much of what is needed,Enabling

8、Solaris IPv6 Router,Cisco router is very similar In addition to the host/server steps Create /etc/inet/ndpd. conf containing subnet prefixes prior to rebooting Neighbor Discovery (in. ndpd) will tell the hosts their subnet address prefixes RIPng routing protocol (in.ripngd) is run automatically,Samp

9、le router ndpd. conf,# Send router advertisements out all NICs ifdefault AdvSendAdvertisements on # Advertise a global prefix and a # site local prefix on three interfaces. # 0 x9255 = 192.146.85 prefix 2: 0: 0: 9255: 0/64 hme0 prefix fec0: 0: 0: 9255: 0/64 hme0 # 0 x9256 = 192.146.86 prefix 2: 0: 0

10、: 9256: 0/64 hme1 prefix fec0: 0: 0: 9256: 0/64 hme1 # 0 x9259 = 192.146.89 prefix 2: 0: 0: 9259: 0/64 hme2 prefix fec0: 0: 0: 9259: 0/64 hme2,Configuring a Tunnel,Tunnel IPv6 in IPv4 for transition purposes between two (Solaris) routers In /etc/ hostname6. ip. tun0 on 0: tsrc 129.145.45

11、.30 tdst 5 up addif 3ff2:8191:2d1e 3ff2:8192: 1e2d up Plus inverse configured on 5,Diagnostics,ifconfig -a shows all interfaces ifconfig -a4/ ifconfig -a6 shows subset netstat shows all netstat -f inet/ netstat -f inet6 to see one of them netstat -sa shows per interface IPv6/

12、 ICMPv6 counters /etc/ default/ inet_ type can force ifconfig and netstat to only display IPv4 compatible output snoop ip6 shows all IPv6 packets ping -a will try all addresses (IPv6 and IPv4) traceroute -a will try all addresses,Daemons,/usr/ lib/ inet/ in. ndpd performs part of the Neighbor Discov

13、ery protocol On router used to send Router Advertisements as specified in /etc/ inet/ ndpd. conf On host receives Router Advertisements and configures IPv6 addresses, subnet prefixes, etc (no ndpd. conf is needed on a host) “ARP” and redirect functionality is in the kernel /usr/ lib/ inet/ in. ripng

14、d runs the IPv6 version of RIP (IPv4 run by in. routed) Automatically enabled on a Solaris router (if /etc/ inet/ndpd. conf exists),Bonus IPv4 Improvements,Ability to configure multiple IPv4 addresses per interface using a single /etc/hostname. file using the new “addif” ifconfig option. For example

15、 in /etc/hostname. le0: set netmask + broadcast + up addif netmask + broadcast + up addif netmask + broadcast + up . addif 54 netmask + broadcast + up Creates le0, le0: 1,. le0: N logical interfaces,For More Information,IPv6 industry page The 6bone - a global IPv6 test

16、 network /6bone Standardization work IPv6 Forum Grassroots efforts ,Conclusions,Solaris 8 is the platform to use for porting applications to IPv6 and testing them Time to encourage the ISVs to port Solaris 8 contains enough IPv6 functionality to b

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論