菜鸟学习linu-网络配置
来源:互联网 发布:艾薇儿香水淘宝店假货 编辑:程序博客网 时间:2024/04/30 00:07
1、查看网络配置 ifconfig
[root@localhost root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:0F:17:5D
inet addr:192.168.128.128 Bcast:192.168.128.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:75 errors:0 dropped:0 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:9826 (9.5 Kb) TX bytes:7297 (7.1 Kb)
Interrupt:5 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700 (700.0 b) TX bytes:700 (700.0 b)
2、重启网络服务
(1)全部重启 service network restart
[root@localhost root]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
(2)只启动第一块网卡 ifup eth0
[root@localhost root]# ifup eth0
Determining IP information for eth0... done.
- 菜鸟学习linu-网络配置
- linux菜鸟学习之网络配置
- 《linu学习》之常用命令
- linu下查看配置信息
- mongodb 在linu下配置
- linu搭建svn以及配置
- 菜鸟学习linux笔记与练习-----第二天。一些基本命令以及初级网络配置
- 菜鸟学习linux笔记与练习-----第二天。一些基本命令以及初级网络配置
- 菜鸟学习linux笔记与练习-----一些基本命令以及初级网络配置
- linu命令学习之chmod
- Linu学习总结(三)
- linux菜鸟学习之网络学习
- linu 查看网络状态端口占用情况
- Linux菜鸟学习之网络浅入
- linu下配置mysql+apache+php详解
- linu下/etc/sudoers文件配置
- 菜鸟看“菜鸟网络”
- 菜鸟网络
- 分页存储过程整理-整理
- 搭建一个简单的struts2.0的web工程
- SmartMachine优点 与 SmartDataCenter硬件要求
- org.springframework.web.context.request.RequestContextListener作用
- C语言中枚举类型的重要应用
- 菜鸟学习linu-网络配置
- ubuntu12.04下qt无法拖放控件
- 三 序列式容器(六)Bitset
- javaWeb -- 文件路径的书写以及URL编码
- 数论概论笔记 第8章 同余式
- Heredoc技术(仅仅了解)
- ACM中java的使用
- 现代浏览器的工作原理
- 例