手机
当前位置:查字典教程网 >操作系统 >Solaris >配置DNS 和网关
配置DNS 和网关
摘要:#ifconfighme0unplumb--停止网卡#ifconfighme0plumb--起用网卡#ifconfighme0inet192...

# ifconfig hme0 unplumb --停止网卡

# ifconfig hme0 plumb --起用网卡

# ifconfig hme0 inet 192.168.1.1 netmask 255.255.255.0 up --添加ip、子网掩码

# vi /etc/defaultrouter---添加网关

# echo "myhost" > /etc/nodename --- 添加主机名

#echo "domain domain.com" > /etc/resolv.conf---设置域名,可免

#echo "nameserver 218.218.218.218" >> /etc/resolv.conf ---DNS的IP

# vi /etc/nsswitch.conf 更改 hosts:file dns ----设置查询方式

【配置DNS 和网关】相关文章:

Solaris设置ADSL拨号上网

Solaris 基础知识

solaris/linux 增加swap交换空间的方法

sun solaris 8何启用telnet ftp 功能

在solaris10上如何设置adsl拨号连接

查看solaris下安装硬盘个数

Solaris下误删除根目录下文件的解决之道

Solaris系统命令中英对照

solaris系统下更改IP地址

Solaris下使用USB存储设备

精品推荐
分类导航