




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Solaris 8 IPv6,鄧偉文 大中華區產品經理 昇陽電腦,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 “lucky” 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. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年广安市广安区妇幼保健院招聘专业技术岗位人员考试真题
- 面神经炎症的护理
- 如何做好班组长
- 2024年版煤矿标准化新旧对比
- 2025至2030年真空泵机组设备项目投资价值分析报告
- 5S安全培训资料
- 骨干员工培训体系
- 酱香酒创业策划书
- 煤矿一通三防课件
- 2025至2030年欧式插头项目投资价值分析报告
- 低压电气基础知识培训课件
- 进口第二类、三类医疗器械注册申报资料电子目录
- 直线和平面平行的性质定理名师优质课赛课一等奖市公开课获奖课件
- 高中毕业证英文模板(可编辑修改word版)
- 幼儿园绘本故事:《我不知道我是谁》
- 桩基础负摩阻计算表格(自动版)
- “1+X”证书制度试点职业技能等级证书全名录
- 劳务派遣公司介绍ppt课件(PPT 35页)
- 47页数字孪生人脸识别轨迹分析电子围栏智慧工地解决方案.pptx (2)
- 呆滞物料的管理规定
- 喜来登酒店设施及面积分配表
评论
0/150
提交评论