




版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(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)益歸上傳用戶(hù)所有。
- 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ì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 護(hù)理物資管理2025年度工作方案范文
- 2024-2025學(xué)年高一語(yǔ)文名師輔導(dǎo)計(jì)劃
- 房地產(chǎn)業(yè)農(nóng)民工工資保障措施
- 施工電梯回頂技術(shù)規(guī)范措施
- 土建施工員安全檢查職責(zé)他
- 統(tǒng)編版高中語(yǔ)文教材教學(xué)反思心得體會(huì)
- 實(shí)驗(yàn)室設(shè)備噪音控制措施
- 部編版小學(xué)五年級(jí)語(yǔ)文上冊(cè)第一單元難忘的一天作文范文
- 疾控中心新冠核酸檢測(cè)判讀及數(shù)據(jù)上報(bào)流程
- 小學(xué)語(yǔ)文教研活動(dòng)組織計(jì)劃
- 刑法學(xué)(上冊(cè))馬工程課件 第1章 刑法概說(shuō)
- GB/T 9125.1-2020鋼制管法蘭連接用緊固件第1部分:PN系列
- GB/T 27770-2011病媒生物密度控制水平鼠類(lèi)
- 2023年廣西賓陽(yáng)縣昆侖投資集團(tuán)有限公司招聘筆試題庫(kù)及答案解析
- 社區(qū)社群團(tuán)長(zhǎng)招募書(shū)經(jīng)典案例干貨課件
- 12、施工現(xiàn)場(chǎng)“三級(jí)配電”配置規(guī)范-附電路圖
- 新人教版七年級(jí)上冊(cè)初中生物全冊(cè)課時(shí)練(課后作業(yè)設(shè)計(jì))
- 智能制造MES項(xiàng)目實(shí)施方案(注塑行業(yè)MES方案建議書(shū))
- 四年級(jí)奧數(shù)講義
- 江蘇省南京市2024屆高一數(shù)學(xué)下學(xué)期期末試題(含解析)
- 多旋翼無(wú)人機(jī)專(zhuān)業(yè)培訓(xùn)教材ppt課件
評(píng)論
0/150
提交評(píng)論