版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 预应力空心板预制施工方案及技术措施
- 厂区综合管道支架钢结构工程施工方案
- 2026年煤矿瓦斯抽采试题及解析
- 2025年文物保护工程从业资格考试(责任监理师-监理通论)试题及答案
- 门窗安装施工方案-铝合金门窗制作安装施工方案
- N3级护理人员内科理论知识模拟题库与答案
- 产房窒息应急演练方案脚本
- 垃圾中转站结构质量控制措施
- 气体灭火系统施工方案
- 2026年昆山经济技术开发区公开招聘编外工作人员36人简章模拟试卷附答案详解(轻巧夺冠)
- 《机器人技术基础及应用》高职全套教学课件
- 2023-2024学年北京市海淀区七年级(上)期末数学试卷(含参考答案)
- 2026年安全员之A证考试题库500道附完整答案(必刷)
- 医院检验科施工方案
- 浙江宁波宁麓置地(宁波)有限公司招聘笔试题库2026
- 财务安全风险防控讲解
- 厂用电中断应急预案演练
- 小学二年级语文下册生字练字贴(仅打印)模板
- DB52∕T 1675-2022 丘陵山区宜机化地块整 理整治技术规范
- 2025中国制药行业无菌生产环境控制技术发展与应用报告
- 消防电气设备安装调试方案
评论
0/150
提交评论