本站首页    管理页面    写新日志    退出

[编程][debian linux]Linux 网络命令(收集)
seanno13 发表于 2009/1/7 17:57:23

1. 使用ifconfig命令配置并查看网络接口情况
  示例1: 配置eth0的IP,同时激活设备:
     # ifconfig eth0 192.168.4.1 netmask 255.255.255.0 up
  示例2: 配置eth0别名设备 eth0:1 的IP,并添加路由
    # ifconfig eth0:1 192.168.4.2
    # route add –host 192.168.4.2 dev eth0:1
  示例3:激活(禁用)设备
    # ifconfig eth0:1 up(down)
  示例4:查看所有(指定)网络接口配置
    # ifconfig (eth0)
—————————
2. 使用route 命令配置路由表
   示例1:添加到主机路由
    # route add –host 192.168.4.2 dev eth0:1
    # route add –host 192.168.4.1 gw 192.168.4.250
  

阅读全文(2611) | 回复(0) | 编辑 | 精华 | 删除

[编程]db2
seanno13 发表于 2009/1/7 17:55:00

db2 本地码设置DB2CODEPAGE=819

阅读全文(1051) | 回复(0) | 编辑 | 精华 | 删除

« ‹ 11 12 13 ›
站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.031 second(s), page refreshed 144870171 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号