Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > 其他操作系统 > How to set default route in Solaris - -
【标  题】:How to set default route in Solaris - -
【关键字】:How,to,set,default,route,in,Solaris
【来  源】:http://blog.chinaunix.net/article.php?articleId=26538&blogId=6922

How to set default route in Solaris - -

Your Ad Here How to set default route in Solaris - -

Step 1: edit /etc/defaultrouter
Using the editor of your choice, edit the file /etc/defaultrouter -- the only line in the file should be the default route of the system, for example: 192.168.1.1. This change will not take effect until the system is rebooted.
Step 2: Delete the current default route
To make the route change take effect immediately, you must first delete the default route. If the current default route is 192.168.254.1, then the command would be:

route delete default 192.168.254.1
Step 3: Assign the current default route
To implement the new default route without rebooting the system, use the following command substituting your default route for 192.168.1.1:
route add default 192.168.1.1
Change the subnet mask of an interface:【上一篇】
solaris DNS客户端设置:【下一篇】
【相关文章】
  • Change the subnet mask of an interface
  • Configuring NIC Speed/Duplex on Solaris
  • Solaris Networking Files
  • Solaris 直接使用 ISO文件镜像
  • solaris10 sshd启动问题
  • solaris10-x86 RSS reader
  • 用solaris9上的jumpstart安装solaris10
  • Solaris 系统性能分析
  • 在Solaris上使用优盘小记
  • DTrace即动态跟踪Dynamic Tracing
  • 【随机文章】
  • 卡农
  • Twisted的网络通信模型
  • 安装windows 2000的时候出现inaccessible_boot_device错误
  • 网页上的浮动窗口代码
  • Visual C++ 编程技巧
  • Microsoft 脚本编码器(2) --- 使用脚本编码器
  • 转载:解析Linux操作系统文件目录
  • 初识统一事件模型之COM连接点
  • AT45D in ATSAM9261 SPI驱动实现
  • sendmail的安装
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.