Linux之ifconfig命令
来源:互联网 发布:信融财富网络贷款 编辑:程序博客网 时间:2024/05/21 22:40
编号
命令
1
/etc/rc.d/rc.local
ifconfig eth0 down
ifconfig eth0 hw ether 00:0C:18:EF:FF:ED
ifconfig eth0 up
配置网卡为一个固定的Mac地址(reboot后不再改变Mac)
2
ifconfig eth0 192.168.0.1 netmask 255.255.255.0
为eth0配置IP地址
3
ifconfig eth0:0 192.168.1.1 netmask 255.255.255.0
为eth0再配置一个IP地址
4
ifconfig eth0 down/up
将网卡启用/禁用
4
ifconfig -a
显示所有接口信息
0 0
- linux之ifconfig命令
- linux命令之ifconfig
- linux 命令之 ifconfig
- Linux之ifconfig命令
- linux命令之 ifconfig
- linux 命令之 ifconfig
- linux命令之ifconfig
- linux命令之ifconfig
- Linux命令之ifconfig
- Linux命令之ifconfig命令
- linux网络命令之ifconfig
- linux 命令之ifconfig详解
- linux 网络命令之ifconfig
- linux命令学习之(ifconfig)
- Linux 命令之 ifconfig ~ 网络配置命令
- Linux命令之ifconfig - 网络配置命令
- Linux命令之ifconfig - 网络配置命令
- Linux命令之ifconfig - 网络配置命令
- Win8快速关机命令
- 【Android】无法调用R.java的文件中的资源
- C语言移位运算符
- 黑马程序员-day16-Map
- 进程和线程的定义及关系
- Linux之ifconfig命令
- jquery.validate.js插件的remote用法以及使用注意事项
- Linux之route配置
- Chapter 6-03
- 设计模式 - 创建型模式 - 建造者模式
- 黑马程序员-day17-集合与数组工具类
- HTML5定稿了,终于有一种编程语言开发的程序可以在Android和IOS两种设备上运行了
- 分享一下我目前所在公司 iOS 项目中用到的一些 iOS 开源库和第三方组件,
- Linux之iptables使用