Oracle Solaris 11 配置网络
2013-01-13 10:13
811 查看
1.从自动网络配置模式转换为手动配置模式
验证NCP
[html] view
plaincopy
netadm list
[html] view
plaincopy
netadm enable -p ncp DefaultFixed
2.确认DefaultFixed模式可用
[html] view
plaincopy
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.确认要配置的接口
[html] view
plaincopy
# dladm show-phys
4.配置net0
[html] view
plaincopy
# ipadm create-ip net0
# ipadm create-addr -T static -a 192.168.56.200/24 net0/v4
# ipadm show-addr
5.配置网关
[html] view
plaincopy
# route -p add default 12.34.56.1
6.配置DNS
[html] view
plaincopy
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/client
7.配置name-server
[html] view
plaincopy
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.最关键一步验证
[html] view
plaincopy
root@solaris:~# ping google.com
google.com is alive
通过这些步骤,solaris11终于可以上网了
验证NCP
[html] view
plaincopy
netadm list
[html] view
plaincopy
netadm enable -p ncp DefaultFixed
2.确认DefaultFixed模式可用
[html] view
plaincopy
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.确认要配置的接口
[html] view
plaincopy
# dladm show-phys
4.配置net0
[html] view
plaincopy
# ipadm create-ip net0
# ipadm create-addr -T static -a 192.168.56.200/24 net0/v4
# ipadm show-addr
5.配置网关
[html] view
plaincopy
# route -p add default 12.34.56.1
6.配置DNS
[html] view
plaincopy
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/client
7.配置name-server
[html] view
plaincopy
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.最关键一步验证
[html] view
plaincopy
root@solaris:~# ping google.com
google.com is alive
通过这些步骤,solaris11终于可以上网了
相关文章推荐
- Solaris 11的网络接口配置
- Oracle OCP笔记(11)配置网络环境
- SOLARIS 10/11的网络配置
- Solaris 10/11的网络配置
- Solaris系统管理 --网络配置与系统故障排查
- Oracle配置本地网络服务名
- PLSQL连接ORACLE配置字符串简介 oracle网络配置 三个配置文件 listener.ora、sqlnet.ora、tnsnames.ora原理解释
- Solaris网络环境部署HIDS配置实战
- 《oracle虚拟机配置流程(一)网络配置》共四步
- Win8.1OS64位oracle11安装配置及PL/SQL Developer如何连接64位oracle
- Oracle Solaris 11 Express发布了
- Solaris 网络 配置
- Oracle Solaris 11 Express发布了
- oracle的网络配置
- 7.oracle学习门户系列七---网络管理和配置
- Oracle Solaris 11 Express发布
- oracle-dba-网络配置管理
- oracle 10g 检查网络配置需求未通过问题的解决
- solaris 10 网络配置全过程