linux 设置网络
来源:互联网 发布:淘宝客户 编辑:程序博客网 时间:2024/06/07 04:44
然后编辑/etc/sysconfig/network-scripts/ifcfg-eth0,修改ip
一、修改IP地址
[aeolus@db network-scripts]$ vi ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=219.136.241.211
NETMASK=255.255.255.128
二、修改网关
vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=Aaron
GATEWAY=192.168.1.1
三、修改DNS
[aeolus@db etc]$ vi /etc/resolv.conf
nameserver 202.96.128.68
nameserver 219.136.241.206
四、重新启动网络配置
/etc/init.d/network restart
一、修改IP地址
[aeolus@db network-scripts]$ vi ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=219.136.241.211
NETMASK=255.255.255.128
GATEWAY=219.136.241.254
HWADDR = e3:44:222222222
二、修改网关
vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=Aaron
GATEWAY=192.168.1.1
三、修改DNS
[aeolus@db etc]$ vi /etc/resolv.conf
nameserver 202.96.128.68
nameserver 219.136.241.206
四、重新启动网络配置
/etc/init.d/network restart
0 0
- linux 网络设置
- linux中的网络设置
- Linux设置网络文件系统
- VM+linux网络设置
- linux adsl 网络设置
- Linux 设置网络连接
- linux 下网络设置
- [入门]Linux网络设置
- linux网络设置命令
- linux系统网络设置
- 虚拟机Linux网络设置
- linux 网络设置
- linux网络设置
- linux 网络设置
- Linux网络设置问题
- LINUX系统设置网络
- 《Linux 十》 网络设置
- [Linux]十,网络设置
- 鱼鱼Chen之学写自己的apk(六)ListView带动画图标
- Sql Server字符串函数
- Activity的启动模式详解
- 决策树学习笔记整理
- Financial Management ZOJ1048(简单计算)
- linux 设置网络
- delete之后,快速清理表占据的磁盘空间!
- rmijdbc+access实现远程访问access数据库
- java集合框架讲解
- 知识普及:安全外壳协议你了解多少?
- closure function闭包函数
- 500万PV/每天的网站
- 使用OpenCV的OpenCL(ocl)模块
- EM算法