solaris11 ip地址配置
来源:互联网 发布:淘宝怎么开店步骤视频 编辑:程序博客网 时间:2024/05/16 11:29
solaris11的ip配置找了好久,都没有什么用,基本上全是挂羊头卖狗肉的东西,打着solaris11的标题,讲solaris10的配置,百度了一个上午全是lolaris10的,各个写的很简单,搞的我都羞愧了,恶心着接着看,看到最后就知道这帮混蛋肯定没有成功,后来只能求助翻墙(伟大的绿色长城),最后在google里找到了Rachmat Febrianto大神的blog,终于成功了,下面讲解下我配置的过程。
不多说了我们开始吧
1.从自动网络配置模式转换为手动配置模式
验证NCP
netadm list
netadm enable -p ncp DefaultFixed2.确认DefaultFixed模式可用
netadm list netadm: DefaultFixed NCP is enabled; automatic network management is not available. netadm list' is only supported when automatic network management is active.3.确认要配置的接口
# dladm show-phys4.配置net0
# ipadm create-ip net0 # ipadm create-addr -T static -a 192.168.56.200/24 net0/v4 # ipadm show-addr5.配置网关
# route -p add default 12.34.56.16.配置DNS
root@solaris:~# svccfg -s dns/client svc:/network/dns/client> setprop config/nameserver = (8.8.8.8 8.8.4.4) svc:/network/dns/client> listprop config config application config/value_authorization astring solaris.smf.value.name-service.dns.client config/nameserver net_address 8.8.8.8 8.8.4.4 svc:/network/dns/client> exit root@solaris:~# root@solaris:~# svcadm refresh dns/client root@solaris:~# svcadm restart dns/client7.配置name-server
root@solaris:~# svccfg -s name-service/switch svc:/system/name-service/switch> setprop config/host = "files dns" svc:/system/name-service/switch> listprop config config application config/default astring files config/value_authorization astring solaris.smf.value.name-service.switch config/printer astring "user files" config/host astring "files dns" svc:/system/name-service/switch> exit
8.最关键一步验证
root@solaris:~# ping google.com google.com is alive
通过这些步骤,solaris11终于可以上网了,
顺便说一句:感谢制作翻墙软件的各个大侠们。
- solaris11 ip地址配置
- Solaris11配置静态IP
- SOLARIS11 设置静态IP
- Solaris11配置dns
- 交换机IP地址配置
- 配置IP地址
- 网卡IP地址配置
- 配置浮动IP地址
- 配置ip地址
- linux ip地址配置
- CentOS配置IP地址
- linux配置ip地址
- linux 配置IP地址
- ubuntu IP地址配置
- Linux 配置IP地址
- linux 配置 ip地址
- VMware 配置IP地址
- Linux配置IP地址
- 传值,引用,指针
- JW FLV PLAYER 破解去水印反编译无水印 参数使用中文版说明文档
- JW FLV PLAYER 中文 去水印 无水印 反编译 破解版使用说明文档
- 如何打造软件、应用类shopping mall
- JS在firefox和IE下差异及解决方案
- solaris11 ip地址配置
- 动态代理的实现2-编写可生成代理和插入通告的通用方法 .
- 【Android学习系列】android Content Provider 应用步骤
- 浅谈Java的输入输出流
- linux 下 mysql 安装 配置
- moodle界面优化
- Illegal instruction
- linux-2.6.39+busybox-1.19.4在tq2440开发板上的移植出错原因分析
- 批处理获得当前/自身目录